nuxt: slow windows build
Environment
{
"dependencies": {
"@pinia/nuxt": "^0.4.6",
"axios": "^0.21.1",
"js-cookie": "^3.0.1",
"mathjs": "^11.3.3",
"pinia-plugin-persist": "1.0.0",
"qs": "^6.11.0"
},
"devDependencies": {
"@nuxt/image-edge": "^1.0.0-27913696.5d122a3",
"@nuxt/types": "^2.15.8",
"@nuxtjs/google-fonts": "^2.0.0",
"@types/jquery": "^3.5.14",
"@types/js-cookie": "^3.0.2",
"@types/prettier": "^2.7.1",
"@types/tailwindcss": "^3.1.0",
"autoprefixer": "^10.4.0",
"cross-env": "^7.0.3",
"nuxt": "^3.1.0",
"postcss": "^8.3.11",
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13",
"sass": "^1.55.0",
"sass-loader": "^6.0.0",
"tailwindcss": "^3.1.8"
}
}
Reproduction
Describe the bug
Im a web engineer in China,province Jiangsu.As i build my nuxt3 project,when Nitro run ‘node-server’ step, it will be too slow,it may need 10mins to finish this step.but if i set nuxt-config.ts‘s ssr as False,it can finish in 1mins. thanks.
Additional context
No response
Logs
*
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 30 (13 by maintainers)
I have the same issue. I found that I cannot reproduce this issue in Stackblitz. You can check out this project. When using Mathjs to build, it runs very slowly
Could it be a problem with Windows? https://github.com/moyukingS/nuxt1
I disabled this parameter in all projects after I noticed the problem in version 3.2.0. Now I have enabled it and it seems that the problem has been solved. I’ll let you know if that’s not the case.