Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm ERR! fsevents not accessible from rollup

I am trying to build my Angular app on Gitlab CI, and install the dependencies with npm ci, but I encounter an error 'fsevents not accessible from rollup'. I tried npm ci --no-optional and still having this error. How do I fix this?

like image 387
Chi Avatar asked Nov 06 '22 01:11

Chi


1 Answers

I have also got the same error with "@angular-devkit/build-angular": "0.1102.14". I have resolved this issue by upgrading npm from ver6 to ver7 with node ver 14

npm install -g npm
like image 110
eric.chenchao Avatar answered Nov 14 '22 22:11

eric.chenchao