qwik icon indicating copy to clipboard operation
qwik copied to clipboard

Uncaught (in promise) TypeError: Failed to fetch dynamically imported module[BUG]

Open codthing opened this issue 3 years ago • 3 comments

Describe the bug

  • When I started the development service according to the official tutorial, I reported this error:
Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: 
http://localhost:3000/src/h_main_main_onmount.js
  • when yarn build:
[vite:html-inline-proxy] Could not load 
F:workspaceqwik-appindex.html?html-proxy&index=0.js (imported by index.html): Cannot read property '0' of undefined
error during build:
TypeError: Could not load F:workspaceqwik-appindex.html?html-proxy&index=0.js (imported by 
index.html): Cannot read property '0' of undefined
    at Object.load (F:\workspace\qwik-app\node_modules\vite\dist\node\chunks\dep-9c153816.js:21283:65)
    at F:\workspace\qwik-app\node_modules\rollup\dist\shared\rollup.js:22779:37
error Command failed with exit code 1.

To Reproduce

  1. npm create qwik@latest
  2. cd qwik-todo
  3. yarn
  4. yarn start yarn build

Expected behavior

Screenshots

  • yarn start

image

  • yarn build

image

Desktop (please complete the following information):

windows [10 Pro]
node [14.18.2]
yarn [1.22.17]
npm [8.3.0]
"devDependencies": {
    "@builder.io/qwik": "0.0.18-7",
    "@types/express": "4.17.13",
    "@types/node": "17.0.17",
    "express": "4.17.2",
    "typescript": "4.5.5",
    "vite": "2.8.6"
  }

Additional context

codthing avatar Apr 14 '22 14:04 codthing

Looks duplicate with https://github.com/BuilderIO/qwik/issues/280

igrep avatar Apr 15 '22 08:04 igrep

@igrep It's been a long time without any progress on this at all.

codthing avatar Apr 25 '22 09:04 codthing

is this still a problem?

manucorporat avatar Aug 04 '22 11:08 manucorporat