最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Cannot find module @rolluprollup-win32-x64-msvc. npm has a bug related to optional dependencie on ng serve in angular 18 - Stack

programmeradmin4浏览0评论

node :20.15.1 angular : 18 npm : 10.7.0

Already Tried Solutions not work in my case :

  1. delete node modules and package-lock.json
  2. clear npm cache
  3. try manually install @rollup/rollup-win32-x64-msvc

node :20.15.1 angular : 18 npm : 10.7.0

Already Tried Solutions not work in my case :

  1. delete node modules and package-lock.json
  2. clear npm cache
  3. try manually install @rollup/rollup-win32-x64-msvc
Share edited Mar 11 at 9:31 Nitin Dube asked Mar 11 at 8:14 Nitin DubeNitin Dube 391 gold badge1 silver badge6 bronze badges 2
  • angular 18 is incompatible with that old nodejs. update your nodejs. angular.dev/reference/versions – Andrei Commented Mar 11 at 8:51
  • @Andrei sorry it was typo mistake : node version is 20.15.1 – Nitin Dube Commented Mar 11 at 9:29
Add a comment  | 

1 Answer 1

Reset to default 0

Try this

npm install @rollup/rollup-win32-x64-msvc --save-dev

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论