Skip to content

Troubleshooting

Dane Springmeyer edited this page Apr 3, 2014 · 3 revisions

Common errors and their solutions

cannot run in wd

Error looks like:

npm WARN cannot run in wd sqlite3@2.2.0 node-pre-gyp install --fallback-to-build (wd=/usr/home/ec2-user/node-sqlite3)

This is a npm behavior (bug?) when you run as root. Solve this by not running as root. Or pass --unsafe-perm to npm install.

Clone this wiki locally