You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize for my poor English and use a translator.
If the source code includes a typescript decorator, the bundling of rollup does not end.
I think it's the same issue as the nuxt/nuxt#14062 post.
Here are the results of the my nuxi dev:
Vite client warmed up in 9811ms 00:02:29
Vite server warmed up in 430ms 00:02:31
Vite server built in 12457ms
I checked exactly where it stopped.
And the esbuild rollup plugin used in the getRollupConfig function in the node_modules/nitropack/dist/chunks/prerender.mjs file does not seem to process files that use typescript decorators.
And I found out that the autoImport plugin excluded files that are using decorators from the processing list.
One weird thing is, after the first nuxt app was created, it worked.
This issue occurred after deleting the node_modules folder and reinstalling all packages.
I deleted the file node_modules, .vite, .nuxt, package-lock.json, and deleted the cache using the npm clean verify command. Nevertheless, the problem has not been solved.
Also, after deleting the node_modules folder and reinstalling the package, an explicit installation of the @nuxt/vite-builder package was required. This was not required immediately after the app was created with the nuxi command.
I've prepared minimal reproduction, but I don't know how it'll work.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Forwarded from downstream issue:
Environment
Windows_NT
v16.15.0
3.0.0-rc.3
npm@8.3.0
vite
typescript
,app
,css
,build
,runtimeConfig
,vite
-
-
Reproduction
https://codesandbox.io/s/sleepy-mestorf-hh7edv?file=/server/utils/sequelize.ts
Describe the bug
I apologize for my poor English and use a translator.
If the source code includes a typescript decorator, the bundling of rollup does not end.
I think it's the same issue as the nuxt/nuxt#14062 post.
Here are the results of the my
nuxi dev
:I checked exactly where it stopped.
And the
esbuild
rollup plugin used in thegetRollupConfig
function in thenode_modules/nitropack/dist/chunks/prerender.mjs
file does not seem to process files that use typescript decorators.And I found out that the
autoImport
plugin excluded files that are using decorators from the processing list.One weird thing is, after the first nuxt app was created, it worked.
This issue occurred after deleting the
node_modules
folder and reinstalling all packages.I deleted the file
node_modules
,.vite
,.nuxt
,package-lock.json
, and deleted the cache using thenpm clean verify
command. Nevertheless, the problem has not been solved.Also, after deleting the
node_modules
folder and reinstalling the package, an explicit installation of the@nuxt/vite-builder
package was required. This was not required immediately after the app was created with thenuxi
command.I've prepared minimal reproduction, but I don't know how it'll work.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: