[FIXED] How do I fix a npm WARN lifecycle error from Namecheap?

Issue

This is the error I’m getting when I run NPM install in Namecheap Cpanel:

Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

I tried adding a file at the root folder of the app, called .npmrc, place this line into it:

scripts-prepend-node-path=true

but that didn’t work.
Any ideas on how to resolve this?

Solution

I had to install my modules manually through Namecheaps terminal/ssh.

Answered By – Daniel Torres

Answer Checked By – Cary Denson (Easybugfix Admin)

Leave a Reply

(*) Required, Your email will not be published