This command fix the issue. It worked for me:
sudo npm install -g --unsafe-perm=true --allow-root
More Related Contents:
- Choose proper async method for batch processing for max requests/sec
- How to include scripts located inside the node_modules folder?
- Comparing mongoose _id and strings
- Get the client’s IP address in socket.io
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
- npm install errors with Error: ENOENT, chmod
- Render a variable as HTML in EJS
- nodejs connect cannot find static
- Where is body in a nodejs http.get response?
- Unknown events in nodejs/v8 flamegraph using perf_events
- How to use a variable as a field name in mongodb-native findOne()?
- How to solve error “SyntaxError: Unexpected token ‘?'”
- Mongoose .find() method causes requests to hang
- HTML to PDF with Node.js
- Use a node module from casperjs
- NodeJS/express: Cache and 304 status code
- socket.io and express 4 sessions
- How to properly return a result from mysql with Node?
- Verifying Auth0 JWT throws invalid algorigthm
- npm install shows error with git not found
- Why can’t I access ‘window’ in an exposeFunction() function with Puppeteer?
- How can I read the data received in application/x-www-form-urlencoded format on Node server?
- Is it possible to set a base URL for NodeJS app?
- npm install not work
- For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves
- node js – what happens to incoming events during callback excution
- Node.js – logging / Use morgan and winston
- How to reference another schema in my Mongoose schema?
- Bot framework V4 Nodejs chat history logging
- Invalid options object. Dev Server has been initialized using an options object that does not match the API schema