qwik
qwik copied to clipboard
Uncaught (in promise) TypeError: Failed to fetch dynamically imported module[BUG]
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
npm create qwik@latestcd qwik-todoyarnyarn startyarn build
Expected behavior
Screenshots
- yarn start

- yarn build

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
Looks duplicate with https://github.com/BuilderIO/qwik/issues/280
@igrep It's been a long time without any progress on this at all.
is this still a problem?