Aborted?
See original GitHub issueEnvironment
Nuxt CLI v3.0.0-rc.3 16:50:00 RootDir: /src/frontend/nuxt3-all-in-one 16:50:01 Nuxt project info: 16:50:01
- Operating System:
Linux
- Node Version:
v16.13.1
- Nuxt Version:
3.0.0-rc.3
- Package Manager:
npm@8.10.0
- Builder:
vite
- User Config:
alias
,ssr
,buildModules
,vite
,meta
- Runtime Modules:
-
- Build Modules:
@vueuse/nuxt@7.7.1
Reproduction
migrate from "nuxt3": "3.0.0-27376999.6abf75d
to "nuxt": "3.0.0-rc.3","@nuxt/vite-builder": "3.0.0-rc.3",
Describe the bug
WARN auto-imports: presets.names is deprecated, use presets.imports instead 16:43:49
WARN auto-imports: presets.names is deprecated, use presets.imports instead 16:43:49
WARN Duplicated imports “useHead”, the one from “#head” has been ignored 16:43:49
WARN Duplicated imports “useHead”, the one from “#head” has been ignored 16:43:49
WARN [@vue/compiler-sfc] defineExpose is a compiler macro and no longer needs to be imported. 16:43:52
✔ Nitro built in 1836 ms nitro 16:43:53 node[3681979]: …/src/node_file-inl.h:160:node::fs::FSReqPromise<AliasedBufferT>::~FSReqPromise() [with AliasedBufferT = node::AliasedBufferBase<double, v8::Float64Array>]: Assertion `finished_’ failed. 1: 0xb00d90 node::Abort() [node] 2: 0xb00e0e [node] 3: 0xafbcda [node] 4: 0xb07512 node::fs::FSReqAfterScope::~FSReqAfterScope() [node] 5: 0xb079fe node::fs::AfterOpenFileHandle(uv_fs_s*) [node] 6: 0x1555bad [node] 7: 0x155a336 [node] 8: 0x156c7a4 [node] 9: 0x155ac68 uv_run [node] 10: 0xa3dfe5 node::SpinEventLoop(node::Environment*) [node] 11: 0xbc96c2 node::worker::Worker::Run() [node] 12: 0xbc9e58 [node] 13: 0x7f407f90cea7 [/lib/x86_64-linux-gnu/libpthread.so.0] 14: 0x7f407f83cdef clone [/lib/x86_64-linux-gnu/libc.so.6] Aborted
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Thank you. After removing
vite.proxy
,/api/*
work. My fault 🤦♂️.The bug you encountered is https://github.com/unjs/nitro/issues/283 (that
~/server/routes/index.ts
overrides every request).When you get rid of that and remove the vite proxy you created, everything seems to be working fine: https://stackblitz.com/edit/github-ennu93.
I’m going to close this issue as it’s not clear what it refers to and I believe the reproduction you shared is for other possible bugs but please feel free to open new ones for each individual issue you encounter, and I will very happily look into them. 🙏