Error installing exp via npm
Expo is a set of tools, libraries and services that let you build native iOS and Android apps by writing JavaScript.
ERROR!
npm install exp -g
Even installing with sudo and everything else, it continues giving the error, underneath the exit of the error.
@expo/[email protected] preinstall /usr/lib/node_modules/exp/node_modules/@expo/traveling-fastlane-linux
node platform.js
/usr/bin/exp -> /usr/lib/node_modules/exp/bin/exp.js
[email protected] postinstall /usr/lib/node_modules/exp/node_modules/spawn-sync
node postinstall
@expo/[email protected] postinstall /usr/lib/node_modules/exp/node_modules/@expo/ngrok
node ./postinstall.js
ngrok - error unpacking binary { Error: EACCES: permission denied, open '/usr/lib/node_modules/exp/node_modules/@expo/ngrok/bin/ngrok'
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/usr/lib/node_modules/exp/node_modules/@expo/ngrok/bin/ngrok' }
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/exp/node_modules/@expo/traveling-fastlane-darwin):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @expo/[email protected] postinstall: 'node ./postinstall.js'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @expo/[email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-02-22T14_18_35_034Z-debug.log
}
Has anyone ever come across this error?