Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcloud doesn't install on ARM #1269

Closed
ianlewis opened this issue Apr 27, 2016 · 3 comments
Closed

gcloud doesn't install on ARM #1269

ianlewis opened this issue Apr 27, 2016 · 3 comments
Assignees

Comments

@ianlewis
Copy link

I tried to install on a BeagleBone Green

npm WARN package.json io-2016-iot-demo@0.0.1 No repository field.
npm WARN package.json io-2016-iot-demo@0.0.1 No README data
npm WARN package.json io-2016-iot-demo@0.0.1 license should be a valid SPDX license expression

> sse4_crc32@5.0.0 install /root/client/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32
> node-gyp rebuild

gyp ERR! configure error 
 stack Error: EACCES, mkdir '/root/client/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32/build'
gyp ERR! System Linux 3.8.13-bone71.1
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /root/client/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32
gyp ERR! node -v v0.10.42
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
npm WARN optional dep failed, continuing sse4_crc32@5.0.0
-
> grpc@0.13.1 install /root/client/node_modules/gcloud/node_modules/grpc
> node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied
npm ERR! Linux 3.8.13-bone71.1
npm ERR! argv "/root/opt/node-v4.4.3-linux-armv7l/bin/node" "/root/opt/node-v4.4.3-linux-armv7l/bin/npm" "install" "gcloud"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! grpc@0.13.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the grpc@0.13.1 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the grpc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs grpc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls grpc
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/client/npm-debug.log
@stephenplusplus
Copy link
Contributor

Seems like a permissions error. Try searching around for "sh: 1: node-pre-gyp: Permission denied" and see if you can find a solution that makes sense for your environment.

@ianlewis
Copy link
Author

Since it's a grpc issue I filed a bug there instead.

grpc/grpc#6302

@ianlewis
Copy link
Author

Yah, it's probably that I am trying to install modules as the root user. Lots of packages don't let you do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants