Skip to content

Instantly share code, notes, and snippets.

@aaronhance
Last active October 14, 2021 04:16
Show Gist options
  • Save aaronhance/1d6485c2944581589fe8b944e7e12576 to your computer and use it in GitHub Desktop.
Save aaronhance/1d6485c2944581589fe8b944e7e12576 to your computer and use it in GitHub Desktop.
aaron@aaron-MS-7B86:/usr/local/cuda$ sudo npm i -g @lux-ai/2021-challenge@latest
/usr/bin/lux-ai-2021 -> /usr/lib/node_modules/@lux-ai/2021-challenge/lib/es5/bin/index.js
> cpu-features@0.0.2 install /usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/cpu-features
> node-gyp rebuild
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/12.22.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/cpu-features/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/cpu-features/.node-gyp'
gyp ERR! System Linux 5.11.0-37-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/cpu-features
gyp ERR! node -v v12.22.7
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
> ssh2@1.5.0 install /usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/ssh2
> node install.js
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/12.22.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/ssh2/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/ssh2/.node-gyp'
gyp ERR! System Linux 5.11.0-37-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "--target=v12.22.7" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/@lux-ai/2021-challenge/node_modules/ssh2/lib/protocol/crypto
gyp ERR! node -v v12.22.7
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
Failed to build optional crypto binding
npm WARN dimensions-ai@5.1.3 requires a peer of @google-cloud/datastore@^6.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN dimensions-ai@5.1.3 requires a peer of @google-cloud/storage@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN dimensions-ai@5.1.3 requires a peer of firebase-admin@^9.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN dimensions-ai@5.1.3 requires a peer of mongoose@^5.9.11 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cpu-features@0.0.2 (node_modules/@lux-ai/2021-challenge/node_modules/cpu-features):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cpu-features@0.0.2 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ @lux-ai/2021-challenge@3.1.0
added 174 packages from 181 contributors in 11.264s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment