TodoMVC Express Starter appears to be broken
See original GitHub issueA fresh install of the TodoMVC example doesn’t appear to be working properly. The header doesn’t render and I get the following error in dev:
Error: failed to load module for ssr: /src/components/header/h_header_header.js
at instantiateModule (/Users/ryancarniato/Development/examples/qwik-todomvc/node_modules/vite/dist/node/chunks/dep-f5552faa.js:60025:15)
Error: failed to load module for ssr: /src/components/footer/h_footer_footer.js
at instantiateModule (/Users/ryancarniato/Development/examples/qwik-todomvc/node_modules/vite/dist/node/chunks/dep-f5552faa.js:60025:15)
Steps to Reproduce:
npm init qwik@latest
-
✔ Select a starter › Todo ✔ Select a server › Express
-
npm i npm run dev
Also appears npm run build
fails as well:
vite v2.7.13 building for production...
✓ 2 modules transformed.
[vite:build-import-analysis] Parse error @:24:17
file: /Users/ryancarniato/Development/examples/qwik-todomvc/src/components/app/app.tsx:24:16
22: <Main todos={props.todos} />
23: <Footer todos={props.todos} />
24: </section>
^
25: );
26: });
error during build:
Error: Parse error @:24:17
at parse$f (/Users/ryancarniato/Development/examples/qwik-todomvc/node_modules/vite/dist/node/chunks/dep-f5552faa.js:20847:353)
at Object.transform (/Users/ryancarniato/Development/examples/qwik-todomvc/node_modules/vite/dist/node/chunks/dep-f5552faa.js:21106:27)
[!] Error: unfinished hook action(s) on exit:
(vite:load-fallback) load "/Users/ryancarniato/Development/examples/qwik-todomvc/node_modules/@builder.io/qwik/qwikloader.js"
(vite:load-fallback) load "/Users/ryancarniato/Development/examples/qwik-todomvc/node_modules/@builder.io/qwik/core.mjs"
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:9 (1 by maintainers)
Top Results From Across the Web
[vite:build-import-analysis] parse error
using vite-plugin-string while importing broken html syntax that is not the index.html ... BuilderIO/qwikTodoMVC Express Starter appears to be broken#218.
Read more >Changelog
We have added a few new starter projects, including a collection of commerce design ... This includes: showing modals, refreshing data from Plasmic...
Read more >Untitled
1 pci express x16 slot graphics card, Peoples party pakistan flag, ... The future church book review, Nzb files free, Iphone 5 damaged...
Read more >10.1007/978-1-4842-0037-7.pdf - Springer
The package.json file with an added Express.js v4.8.1 dependency looks as follows: ... Each bit of functionality can be split into a separate...
Read more >Learning JavaScript Design Patterns
It must describe a relationship: In some cases it may appear that a pattern describes a type of module. Although an implementation may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, the project creation is working but the build fails on the server build & the dev shows only white page without no content.
Same