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
@vben/web-antd@5.4.0 build E:\qianduan\GIT_公网\vben5\vue-vben-admin\apps\web-antd
pnpm vite build --mode production
�[33mThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
�[36mvite v5.4.9 �[32mbuilding for production...�[36m�[39m
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
(@e:\qianduan\GIT_公网\vben5\vue-vben-admin\apps\web-antd\postcss.config.mjs)
at load (file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33631:11)
at file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33656:16
at Array.map ()
at plugins (file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33655:8)
at processResult (file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33725:14)
at file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33855:14]
Node.js v20.15.1
ELIFECYCLE Command failed with exit code 1.
Reproduction
无
System Info
System:
OS: windows 10
Node: 20.15.1
npm: 10.7.0
pnpm: 9.12.1
Version
Vben Admin V5
Describe the bug?
dev可以正常运行,但是run build都不行,在外面和在app里面都不行,turbo日志如下:
�[33mThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
�[36mvite v5.4.9 �[32mbuilding for production...�[36m�[39m
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: E:/qianduan/GIT_公网/vben5/vue-vben-admin/apps/web-antd): [Error] Loading PostCSS Plugin failed: Cannot find module 'cssnano'
Require stack:
(@e:\qianduan\GIT_公网\vben5\vue-vben-admin\apps\web-antd\postcss.config.mjs)
Error: Loading PostCSS Plugin failed: Cannot find module 'cssnano'
Require stack:
(@e:\qianduan\GIT_公网\vben5\vue-vben-admin\apps\web-antd\postcss.config.mjs)
at load (file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33631:11)
at file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33656:16
at Array.map ()
at plugins (file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33655:8)
at processResult (file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33725:14)
at file:///E:/qianduan/GIT_%E5%85%AC%E7%BD%91/vben5/vue-vben-admin/node_modules/.pnpm/vite@5.4.9_@types+node@22.7.5_less@4.2.0_sass@1.79.5_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:33855:14]
Node.js v20.15.1
ELIFECYCLE Command failed with exit code 1.
Reproduction
无
System Info
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: