vite build failing in github action
See original GitHub issuehttps://github.com/audacioustux/audacioustux/runs/2335266424?check_suite_focus=true
[vite]: Rollup failed to resolve import "@audacioustux/gameoflife" from "src/App.vue?vue&type=script&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
error during build:
Error: [vite]: Rollup failed to resolve import "@audacioustux/gameoflife" from "src/App.vue?vue&type=script&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
as yarn dev
or vite serve
will never terminate in github action, is there any other way to make vite build
succeed?
manually running wasm-pack --dev
doesn’t work
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
vite build failing in github action · Issue #5
but yarn build fails without running yarn dev first on local environment. and in my github action, wasm-pack and rust is available.. i've...
Read more >Sometimes run build will fail · Issue #4624 · vitejs/vite - GitHub
When I run build, sometimes it will fail, sometimes it will succeed. Just like schrodinger's cat. You may try several times to observe...
Read more >error during build · Issue #6398 · vitejs/vite - GitHub
Describe the bug $ npm run vite:build operation-new@3.13.0 vite:build ... Failed at the operation-new@3.13.0 vite:build script. npm ERR!
Read more >Error while building a project that compiles just fine in dev mode
Describe the bug I have a project that runs just fine with Vite in development mode but fails to build in production mode....
Read more >vite build fails · Issue #1238 · vitejs/vite - GitHub
Run vite or vite build with the --debug flag. Provide the error log here.
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 Free
Top 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
@audacioustux https://github.com/lencx/vite-plugin-rsw/issues/3#issuecomment-818561048
Thank you so much.