I was installing Truffle in Ubuntu 16.10 using sudo
, but I got the following error message:
npm WARN [email protected] license should be a valid SPDX license expression
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'. npm ERR! Make sure you have the latest version of node.js and npm installed. > npm ERR! If you do, this is most likely a problem with the wrtc package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with: npm bugs wrtc npm
Or if that isn't available, you can get their info via: npm owner ls wrtc