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

[Question] Is there grpc-tools for linux/arm64 #2274

Closed
kameshsampath opened this issue Nov 13, 2022 · 1 comment
Closed

[Question] Is there grpc-tools for linux/arm64 #2274

kameshsampath opened this issue Nov 13, 2022 · 1 comment

Comments

@kameshsampath
Copy link

kameshsampath commented Nov 13, 2022

Problem description

I am trying to install grpc-tools on node:latest(arm64) and it fails

Reproduction steps

Dockerfile

FROM node:latest

RUN apt-get update \
    && apt install -y curl ca-certificates curl gnupg \
    && npm -g install grpc-tools

CMD [ "grpc_tools_node_protoc" ]

and results in the following error

....
#0 12.33 npm notice 
#0 12.33 npm notice New major version of npm available! 8.19.2 -> 9.1.1
#0 12.33 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.1>
#0 12.33 npm notice Run `npm install -g npm@9.1.1` to update!
#0 12.33 npm notice 
#0 12.33 npm ERR! code 1
#0 12.33 npm ERR! path /usr/local/lib/node_modules/grpc-tools
#0 12.33 npm ERR! command failed
#0 12.33 npm ERR! command sh -c -- node-pre-gyp install
#0 12.33 npm ERR! response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc-tools/v1.11.3/linux-arm64.tar.gz
#0 12.33 npm ERR! node-pre-gyp info it worked if it ends with ok
#0 12.33 npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
#0 12.33 npm ERR! node-pre-gyp info using node@19.0.1 | linux | arm64
#0 12.33 npm ERR! node-pre-gyp info check checked for "/usr/local/lib/node_modules/grpc-tools/bin/grpc_tools.node" (not found)
#0 12.33 npm ERR! node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc-tools/v1.11.3/linux-arm64.tar.gz
#0 12.33 npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc-tools/v1.11.3/linux-arm64.tar.gz 
#0 12.33 npm ERR! node-pre-gyp ERR! install error 
#0 12.33 npm ERR! node-pre-gyp ERR! stack Error: response status 404 Not Found on https://node-precompiled-binaries.grpc.io/grpc-tools/v1.11.3/linux-arm64.tar.gz
#0 12.33 npm ERR! node-pre-gyp ERR! stack     at /usr/local/lib/node_modules/grpc-tools/node_modules/@mapbox/node-pre-gyp/lib/install.js:67:15
#0 12.33 npm ERR! node-pre-gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
#0 12.33 npm ERR! node-pre-gyp ERR! System Linux 5.15.49-linuxkit
#0 12.33 npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/grpc-tools/node_modules/.bin/node-pre-gyp" "install"
#0 12.33 npm ERR! node-pre-gyp ERR! cwd /usr/local/lib/node_modules/grpc-tools
#0 12.33 npm ERR! node-pre-gyp ERR! node -v v19.0.1
#0 12.33 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
#0 12.34 npm ERR! node-pre-gyp ERR! not ok
#0 12.34 
#0 12.34 npm ERR! A complete log of this run can be found in:
#0 12.34 npm ERR!     /root/.npm/_logs/2022-11-13T13_28_37_399Z-debug-0.log
------
Dockerfile.node.protoc:3
--------------------
   2 |     
   3 | >>> RUN apt-get update \
   4 | >>>     && apt install -y curl ca-certificates curl gnupg \
   5 | >>>     && npm -g install grpc-tools
   6 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update     && apt install -y curl ca-certificates curl gnupg     && npm -g install grpc-tools" did not complete successfully: exit code: 1

Environment

  • Docker node:latest

Ref #1405 (comment)

@murgatroid99
Copy link
Member

Duplicate of #1405.

@murgatroid99 murgatroid99 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2022
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