Skip to content

gcloud doesn't install on ARM #1269

Closed
Closed

Description

@ianlewis

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

Activity

  1. stephenplusplus commented on Apr 27, 2016

    @stephenplusplus
    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.

  2. ianlewis commented on Apr 27, 2016

    @ianlewis
    Author

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

    grpc/grpc#6302

  3. ianlewis commented on Apr 27, 2016

    @ianlewis
    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.

  4. added a commit that references this issue on Jul 23, 2025
  5. added a commit that references this issue on Feb 3, 2026
    d39cdbf
  6. added a commit that references this issue on Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions