创建uniapp项目后,上午的时候还能正常运行,下午再运行的时候就报错了,错误如下:
Error: Cannot find module @rollup/rollup-win32-x64-msvc. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.
1***@163.com
- 发布:2025-06-06 14:17
- 更新:2025-10-28 21:11
- 阅读:821
用户2843132
没有,就是突然第二天就运行不了,\HBuilderX\plugins\uniapp-cli-vite\node_modules\@rollup\rollup-win32-x64-msvc目录下没有rollup.win32-x64-msvc.node文件了,uni-app(vue3)编译器插件卸载重装就有了
2025-10-28 21:13
DCloud_UNI_yuhe
回复 用户2843132: 是哪个hbuilderx版本出现的问题?
2025-10-31 11:52