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

node :20.15.1angular : 18npm: 10.7.0Already Tried Solutions not work in my case :delete node modul

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744807557a4594869.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信