grpc / grpc/grpc-node

grpc_tools_node_protoc crashes with ENOENT error for Redhat Linux 8.4(Ootpa) for node version v10.24.0

Open
#1,948 0 comments 0 reactions 0 assignees View on GitHub
package: grpc-tools
Dominant language
TypeScript
Stars
4.8k
Forks
716
Avg merge
2d 3h
Merged PRs (30d)
10

Description

### Problem description
A clear and concise description of what the problem is.
For Redhat Linux 8.4(Ootpa)
grpc_tools_node_protoc and other grcp command is failing

### Reproduction steps
Give very precise steps you've discovered to reproduce your problem. If possible and applicable, provide us with a repository we can clone that contains a reproduction case. Also if possible and applicable, please include a Dockerfile that exhibits the problem if it's specific to a certain environment. Bug reports with no reproduction steps will be closed.

### Environment
- OS name, version and architecture: [e.g. Linux Ubuntu 18.04 amd64]
- Node version [e.g. 8.10.0] v10.24.0
- $ node --version
v10.24.0
- Node installation method [e.g. nvm] npm
- If applicable, compiler version [e.g. clang 3.8.0-2ubuntu4]: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
- $ gcc --version
gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

- Package name and version [e.g. gRPC@1.12.0]
-

### Additional context
$ grpc_tools_node_protoc
/usr/local/lib/node_modules/grpc-tools/bin/protoc.js:41
throw error;
^

Error: spawn /usr/local/lib/node_modules/grpc-tools/bin/protoc ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.4 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.4 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.4:GA"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.4"

$ sudo npm install -g grpc-tools -dd
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node',
npm verb cli '/bin/npm',
npm verb cli 'install',
npm verb cli '-g',
npm verb cli 'grpc-tools',
npm verb cli '-dd' ]
npm info using npm@6.14.11
npm info using node@v10.24.0
npm verb npm-session e75f7aaa240b8d1f
npm http fetch GET 200 https://registry.npmjs.org/grpc-tools 18ms (from cache)
npm timing stage:loadCurrentTree Completed in 49ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/@mapbox%2fnode-pre-gyp 17ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 61ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 62ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nopt 55ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/make-dir 62ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/rimraf 56ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/semver 59ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/node-fetch 69ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tar 67ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/npmlog 368ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/agent-base 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/debug 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ms 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/whatwg-url 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tr46 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/webidl-conversions 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/abbrev 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/console-control-strings 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/gauge 11ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/set-blocking 91ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/delegates 5ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/readable-stream 107ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/isarray 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 20ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/inherits 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 20ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/safe-buffer 199ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/string_decoder 360ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/aproba 25ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/has-unicode 25ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 25ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 27ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/string-width 26ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 27ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/wide-align 308ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 11ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/code-point-at 180ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/number-is-nan 110ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 11ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/glob 4ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 20ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 19ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/inflight 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minimatch 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/once 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/wrappy 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/concat-map 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/yallist 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/fs-minipass 15ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp 14ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minipass 17ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minizlib 144ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/chownr 147ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1969ms
npm timing stage:loadIdealTree Completed in 1999ms
npm timing stage:generateActionsToTake Completed in 17ms
npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
npm timing action:extract Completed in 256ms
npm timing action:finalize Completed in 69ms
npm timing action:refresh-package-json Completed in 123ms
npm info lifecycle abbrev@1.1.1~preinstall: abbrev@1.1.1
npm info lifecycle ansi-regex@2.1.1~preinstall: ansi-regex@2.1.1
npm info lifecycle aproba@1.2.0~preinstall: aproba@1.2.0
npm info lifecycle balanced-match@1.0.2~preinstall: balanced-match@1.0.2
npm info lifecycle chownr@2.0.0~preinstall: chownr@2.0.0
npm info lifecycle code-point-at@1.1.0~preinstall: code-point-at@1.1.0
npm info lifecycle concat-map@0.0.1~preinstall: concat-map@0.0.1
npm info lifecycle brace-expansion@1.1.11~preinstall: brace-expansion@1.1.11
npm info lifecycle console-control-strings@1.1.0~preinstall: console-control-strings@1.1.0
npm info lifecycle core-util-is@1.0.3~preinstall: core-util-is@1.0.3
npm info lifecycle delegates@1.0.0~preinstall: delegates@1.0.0
npm info lifecycle detect-libc@1.0.3~preinstall: detect-libc@1.0.3
npm info lifecycle fs.realpath@1.0.0~preinstall: fs.realpath@1.0.0
npm info lifecycle has-unicode@2.0.1~preinstall: has-unicode@2.0.1
npm info lifecycle inherits@2.0.4~preinstall: inherits@2.0.4
npm info lifecycle isarray@1.0.0~preinstall: isarray@1.0.0
npm info lifecycle semver@6.3.0~preinstall: semver@6.3.0
npm info lifecycle make-dir@3.1.0~preinstall: make-dir@3.1.0
npm info lifecycle minimatch@3.0.4~preinstall: minimatch@3.0.4
npm info lifecycle mkdirp@1.0.4~preinstall: mkdirp@1.0.4
npm info lifecycle ms@2.1.2~preinstall: ms@2.1.2
npm info lifecycle debug@4.3.2~preinstall: debug@4.3.2
npm info lifecycle agent-base@6.0.2~preinstall: agent-base@6.0.2
npm info lifecycle https-proxy-agent@5.0.0~preinstall: https-proxy-agent@5.0.0
npm info lifecycle nopt@5.0.0~preinstall: nopt@5.0.0
npm info lifecycle number-is-nan@1.0.1~preinstall: number-is-nan@1.0.1
npm info lifecycle is-fullwidth-code-point@1.0.0~preinstall: is-fullwidth-code-point@1.0.0
npm info lifecycle object-assign@4.1.1~preinstall: object-assign@4.1.1
npm info lifecycle path-is-absolute@1.0.1~preinstall: path-is-absolute@1.0.1
npm info lifecycle process-nextick-args@2.0.1~preinstall: process-nextick-args@2.0.1
npm info lifecycle safe-buffer@5.1.2~preinstall: safe-buffer@5.1.2
npm info lifecycle set-blocking@2.0.0~preinstall: set-blocking@2.0.0
npm info lifecycle signal-exit@3.0.5~preinstall: signal-exit@3.0.5
npm info lifecycle string_decoder@1.1.1~preinstall: string_decoder@1.1.1
npm info lifecycle strip-ansi@3.0.1~preinstall: strip-ansi@3.0.1
npm info lifecycle string-width@1.0.2~preinstall: string-width@1.0.2
npm info lifecycle tr46@0.0.3~preinstall: tr46@0.0.3
npm info lifecycle util-deprecate@1.0.2~preinstall: util-deprecate@1.0.2
npm info lifecycle readable-stream@2.3.7~preinstall: readable-stream@2.3.7
npm info lifecycle are-we-there-yet@1.1.7~preinstall: are-we-there-yet@1.1.7
npm info lifecycle webidl-conversions@3.0.1~preinstall: webidl-conversions@3.0.1
npm info lifecycle whatwg-url@5.0.0~preinstall: whatwg-url@5.0.0
npm info lifecycle node-fetch@2.6.5~preinstall: node-fetch@2.6.5
npm info lifecycle wide-align@1.1.5~preinstall: wide-align@1.1.5
npm info lifecycle gauge@2.7.4~preinstall: gauge@2.7.4
npm info lifecycle npmlog@4.1.2~preinstall: npmlog@4.1.2
npm info lifecycle wrappy@1.0.2~preinstall: wrappy@1.0.2
npm info lifecycle once@1.4.0~preinstall: once@1.4.0
npm info lifecycle inflight@1.0.6~preinstall: inflight@1.0.6
npm info lifecycle glob@7.2.0~preinstall: glob@7.2.0
npm info lifecycle grpc-tools@1.11.2~preinstall: grpc-tools@1.11.2
npm info lifecycle @mapbox/node-pre-gyp@1.0.5~preinstall: @mapbox/node-pre-gyp@1.0.5
npm info lifecycle tar@6.1.11~preinstall: tar@6.1.11
npm info lifecycle minizlib@2.1.2~preinstall: minizlib@2.1.2
npm info lifecycle fs-minipass@2.1.0~preinstall: fs-minipass@2.1.0
npm info lifecycle minipass@3.1.5~preinstall: minipass@3.1.5
npm info lifecycle semver@7.3.5~preinstall: semver@7.3.5
npm info lifecycle lru-cache@6.0.0~preinstall: lru-cache@6.0.0
npm info lifecycle yallist@4.0.0~preinstall: yallist@4.0.0
npm info lifecycle rimraf@3.0.2~preinstall: rimraf@3.0.2
npm timing action:preinstall Completed in 25ms
npm info linkStuff abbrev@1.1.1
npm info linkStuff ansi-regex@2.1.1
npm info linkStuff aproba@1.2.0
npm info linkStuff balanced-match@1.0.2
npm info linkStuff chownr@2.0.0
npm info linkStuff code-point-at@1.1.0
npm info linkStuff concat-map@0.0.1
npm info linkStuff brace-expansion@1.1.11
npm info linkStuff console-control-strings@1.1.0
npm info linkStuff core-util-is@1.0.3
npm info linkStuff delegates@1.0.0
npm info linkStuff detect-libc@1.0.3
npm verb linkBins [ { 'detect-libc': 'bin/detect-libc.js' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff fs.realpath@1.0.0
npm info linkStuff has-unicode@2.0.1
npm info linkStuff inherits@2.0.4
npm info linkStuff isarray@1.0.0
npm info linkStuff semver@6.3.0
npm verb linkBins [ { semver: 'bin/semver.js' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/make-dir/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff make-dir@3.1.0
npm info linkStuff minimatch@3.0.4
npm info linkStuff mkdirp@1.0.4
npm verb linkBins [ { mkdirp: 'bin/cmd.js' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff ms@2.1.2
npm info linkStuff debug@4.3.2
npm info linkStuff agent-base@6.0.2
npm info linkStuff https-proxy-agent@5.0.0
npm info linkStuff nopt@5.0.0
npm verb linkBins [ { nopt: 'bin/nopt.js' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff number-is-nan@1.0.1
npm info linkStuff is-fullwidth-code-point@1.0.0
npm info linkStuff object-assign@4.1.1
npm info linkStuff path-is-absolute@1.0.1
npm info linkStuff process-nextick-args@2.0.1
npm info linkStuff safe-buffer@5.1.2
npm info linkStuff set-blocking@2.0.0
npm info linkStuff signal-exit@3.0.5
npm info linkStuff string_decoder@1.1.1
npm info linkStuff strip-ansi@3.0.1
npm info linkStuff string-width@1.0.2
npm info linkStuff tr46@0.0.3
npm info linkStuff util-deprecate@1.0.2
npm info linkStuff readable-stream@2.3.7
npm info linkStuff are-we-there-yet@1.1.7
npm info linkStuff webidl-conversions@3.0.1
npm info linkStuff whatwg-url@5.0.0
npm info linkStuff node-fetch@2.6.5
npm info linkStuff wide-align@1.1.5
npm info linkStuff gauge@2.7.4
npm info linkStuff npmlog@4.1.2
npm info linkStuff wrappy@1.0.2
npm info linkStuff once@1.4.0
npm info linkStuff inflight@1.0.6
npm info linkStuff glob@7.2.0
npm info linkStuff rimraf@3.0.2
npm verb linkBins [ { rimraf: 'bin.js' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff yallist@4.0.0
npm info linkStuff lru-cache@6.0.0
npm info linkStuff semver@7.3.5
npm verb linkBins [ { semver: 'bin/semver.js' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff minipass@3.1.5
npm info linkStuff fs-minipass@2.1.0
npm info linkStuff minizlib@2.1.2
npm info linkStuff tar@6.1.11
npm info linkStuff @mapbox/node-pre-gyp@1.0.5
npm verb linkBins [ { 'node-pre-gyp': 'bin/node-pre-gyp' },
npm verb linkBins '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff grpc-tools@1.11.2
npm verb linkBins [ { grpc_tools_node_protoc: 'bin/protoc.js',
npm verb linkBins grpc_tools_node_protoc_plugin: 'bin/protoc_plugin.js' },
npm verb linkBins '/usr/local/bin',
npm verb linkBins true ]
/usr/local/bin/grpc_tools_node_protoc -> /usr/local/lib/node_modules/grpc-tools/bin/protoc.js
/usr/local/bin/grpc_tools_node_protoc_plugin -> /usr/local/lib/node_modules/grpc-tools/bin/protoc_plugin.js
npm timing action:build Completed in 43ms
npm info lifecycle abbrev@1.1.1~install: abbrev@1.1.1
npm info lifecycle ansi-regex@2.1.1~install: ansi-regex@2.1.1
npm info lifecycle aproba@1.2.0~install: aproba@1.2.0
npm info lifecycle balanced-match@1.0.2~install: balanced-match@1.0.2
npm info lifecycle chownr@2.0.0~install: chownr@2.0.0
npm info lifecycle code-point-at@1.1.0~install: code-point-at@1.1.0
npm info lifecycle concat-map@0.0.1~install: concat-map@0.0.1
npm info lifecycle brace-expansion@1.1.11~install: brace-expansion@1.1.11
npm info lifecycle console-control-strings@1.1.0~install: console-control-strings@1.1.0
npm info lifecycle core-util-is@1.0.3~install: core-util-is@1.0.3
npm info lifecycle delegates@1.0.0~install: delegates@1.0.0
npm info lifecycle detect-libc@1.0.3~install: detect-libc@1.0.3
npm info lifecycle fs.realpath@1.0.0~install: fs.realpath@1.0.0
npm info lifecycle has-unicode@2.0.1~install: has-unicode@2.0.1
npm info lifecycle inherits@2.0.4~install: inherits@2.0.4
npm info lifecycle isarray@1.0.0~install: isarray@1.0.0
npm info lifecycle semver@6.3.0~install: semver@6.3.0
npm info lifecycle make-dir@3.1.0~install: make-dir@3.1.0
npm info lifecycle minimatch@3.0.4~install: minimatch@3.0.4
npm info lifecycle mkdirp@1.0.4~install: mkdirp@1.0.4
npm info lifecycle ms@2.1.2~install: ms@2.1.2
npm info lifecycle debug@4.3.2~install: debug@4.3.2
npm info lifecycle agent-base@6.0.2~install: agent-base@6.0.2
npm info lifecycle https-proxy-agent@5.0.0~install: https-proxy-agent@5.0.0
npm info lifecycle nopt@5.0.0~install: nopt@5.0.0
npm info lifecycle number-is-nan@1.0.1~install: number-is-nan@1.0.1
npm info lifecycle is-fullwidth-code-point@1.0.0~install: is-fullwidth-code-point@1.0.0
npm info lifecycle object-assign@4.1.1~install: object-assign@4.1.1
npm info lifecycle path-is-absolute@1.0.1~install: path-is-absolute@1.0.1
npm info lifecycle process-nextick-args@2.0.1~install: process-nextick-args@2.0.1
npm info lifecycle safe-buffer@5.1.2~install: safe-buffer@5.1.2
npm info lifecycle set-blocking@2.0.0~install: set-blocking@2.0.0
npm info lifecycle signal-exit@3.0.5~install: signal-exit@3.0.5
npm info lifecycle string_decoder@1.1.1~install: string_decoder@1.1.1
npm info lifecycle strip-ansi@3.0.1~install: strip-ansi@3.0.1
npm info lifecycle string-width@1.0.2~install: string-width@1.0.2
npm info lifecycle tr46@0.0.3~install: tr46@0.0.3
npm info lifecycle util-deprecate@1.0.2~install: util-deprecate@1.0.2
npm info lifecycle readable-stream@2.3.7~install: readable-stream@2.3.7
npm info lifecycle are-we-there-yet@1.1.7~install: are-we-there-yet@1.1.7
npm info lifecycle webidl-conversions@3.0.1~install: webidl-conversions@3.0.1
npm info lifecycle whatwg-url@5.0.0~install: whatwg-url@5.0.0
npm info lifecycle node-fetch@2.6.5~install: node-fetch@2.6.5
npm info lifecycle wide-align@1.1.5~install: wide-align@1.1.5
npm info lifecycle gauge@2.7.4~install: gauge@2.7.4
npm info lifecycle npmlog@4.1.2~install: npmlog@4.1.2
npm info lifecycle wrappy@1.0.2~install: wrappy@1.0.2
npm info lifecycle once@1.4.0~install: once@1.4.0
npm info lifecycle inflight@1.0.6~install: inflight@1.0.6
npm info lifecycle glob@7.2.0~install: glob@7.2.0
npm info lifecycle rimraf@3.0.2~install: rimraf@3.0.2
npm info lifecycle yallist@4.0.0~install: yallist@4.0.0
npm info lifecycle lru-cache@6.0.0~install: lru-cache@6.0.0
npm info lifecycle semver@7.3.5~install: semver@7.3.5
npm info lifecycle minipass@3.1.5~install: minipass@3.1.5
npm info lifecycle fs-minipass@2.1.0~install: fs-minipass@2.1.0
npm info lifecycle minizlib@2.1.2~install: minizlib@2.1.2
npm info lifecycle tar@6.1.11~install: tar@6.1.11
npm info lifecycle @mapbox/node-pre-gyp@1.0.5~install: @mapbox/node-pre-gyp@1.0.5
npm info lifecycle grpc-tools@1.11.2~install: grpc-tools@1.11.2

> grpc-tools@1.11.2 install /usr/local/lib/node_modules/grpc-tools
> node-pre-gyp install

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/bin/node',
node-pre-gyp verb cli '/usr/local/lib/node_modules/grpc-tools/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli 'install' ]
node-pre-gyp info using node-pre-gyp@1.0.5
node-pre-gyp info using node@10.24.0 | linux | x64
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/usr/local/lib/node_modules/grpc-tools/bin/grpc_tools.node" (not found)
node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc-tools/v1.11.2/linux-x64.tar.gz
node-pre-gyp info install unpacking bin/
node-pre-gyp info install unpacking bin/grpc_node_plugin
node-pre-gyp info install unpacking bin/protoc
node-pre-gyp info extracted file count: 3
[grpc-tools] Success: "/usr/local/lib/node_modules/grpc-tools/bin/grpc_tools.node" is installed via remote
node-pre-gyp info ok
npm verb lifecycle grpc-tools@1.11.2~install: unsafe-perm in lifecycle false
npm verb lifecycle grpc-tools@1.11.2~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/local/lib/node_modules/grpc-tools/node_modules/.bin:/usr/local/lib/node_modules/.bin:/sbin:/bin:/usr/sbin:/usr/bin
npm verb lifecycle grpc-tools@1.11.2~install: CWD: /usr/local/lib/node_modules/grpc-tools
npm timing action:install Completed in 3238ms
npm info lifecycle abbrev@1.1.1~postinstall: abbrev@1.1.1
npm info lifecycle ansi-regex@2.1.1~postinstall: ansi-regex@2.1.1
npm info lifecycle aproba@1.2.0~postinstall: aproba@1.2.0
npm info lifecycle balanced-match@1.0.2~postinstall: balanced-match@1.0.2
npm info lifecycle chownr@2.0.0~postinstall: chownr@2.0.0
npm info lifecycle code-point-at@1.1.0~postinstall: code-point-at@1.1.0
npm info lifecycle concat-map@0.0.1~postinstall: concat-map@0.0.1
npm info lifecycle brace-expansion@1.1.11~postinstall: brace-expansion@1.1.11
npm info lifecycle console-control-strings@1.1.0~postinstall: console-control-strings@1.1.0
npm info lifecycle core-util-is@1.0.3~postinstall: core-util-is@1.0.3
npm info lifecycle delegates@1.0.0~postinstall: delegates@1.0.0
npm info lifecycle detect-libc@1.0.3~postinstall: detect-libc@1.0.3
npm info lifecycle fs.realpath@1.0.0~postinstall: fs.realpath@1.0.0
npm info lifecycle has-unicode@2.0.1~postinstall: has-unicode@2.0.1
npm info lifecycle inherits@2.0.4~postinstall: inherits@2.0.4
npm info lifecycle isarray@1.0.0~postinstall: isarray@1.0.0
npm info lifecycle semver@6.3.0~postinstall: semver@6.3.0
npm info lifecycle make-dir@3.1.0~postinstall: make-dir@3.1.0
npm info lifecycle minimatch@3.0.4~postinstall: minimatch@3.0.4
npm info lifecycle mkdirp@1.0.4~postinstall: mkdirp@1.0.4
npm info lifecycle ms@2.1.2~postinstall: ms@2.1.2
npm info lifecycle debug@4.3.2~postinstall: debug@4.3.2
npm info lifecycle agent-base@6.0.2~postinstall: agent-base@6.0.2
npm info lifecycle https-proxy-agent@5.0.0~postinstall: https-proxy-agent@5.0.0
npm info lifecycle nopt@5.0.0~postinstall: nopt@5.0.0
npm info lifecycle number-is-nan@1.0.1~postinstall: number-is-nan@1.0.1
npm info lifecycle is-fullwidth-code-point@1.0.0~postinstall: is-fullwidth-code-point@1.0.0
npm info lifecycle object-assign@4.1.1~postinstall: object-assign@4.1.1
npm info lifecycle path-is-absolute@1.0.1~postinstall: path-is-absolute@1.0.1
npm info lifecycle process-nextick-args@2.0.1~postinstall: process-nextick-args@2.0.1
npm info lifecycle safe-buffer@5.1.2~postinstall: safe-buffer@5.1.2
npm info lifecycle set-blocking@2.0.0~postinstall: set-blocking@2.0.0
npm info lifecycle signal-exit@3.0.5~postinstall: signal-exit@3.0.5
npm info lifecycle string_decoder@1.1.1~postinstall: string_decoder@1.1.1
npm info lifecycle strip-ansi@3.0.1~postinstall: strip-ansi@3.0.1
npm info lifecycle string-width@1.0.2~postinstall: string-width@1.0.2
npm info lifecycle tr46@0.0.3~postinstall: tr46@0.0.3
npm info lifecycle util-deprecate@1.0.2~postinstall: util-deprecate@1.0.2
npm info lifecycle readable-stream@2.3.7~postinstall: readable-stream@2.3.7
npm info lifecycle are-we-there-yet@1.1.7~postinstall: are-we-there-yet@1.1.7
npm info lifecycle webidl-conversions@3.0.1~postinstall: webidl-conversions@3.0.1
npm info lifecycle whatwg-url@5.0.0~postinstall: whatwg-url@5.0.0
npm info lifecycle node-fetch@2.6.5~postinstall: node-fetch@2.6.5
npm info lifecycle wide-align@1.1.5~postinstall: wide-align@1.1.5
npm info lifecycle gauge@2.7.4~postinstall: gauge@2.7.4
npm info lifecycle npmlog@4.1.2~postinstall: npmlog@4.1.2
npm info lifecycle wrappy@1.0.2~postinstall: wrappy@1.0.2
npm info lifecycle once@1.4.0~postinstall: once@1.4.0
npm info lifecycle inflight@1.0.6~postinstall: inflight@1.0.6
npm info lifecycle glob@7.2.0~postinstall: glob@7.2.0
npm info lifecycle rimraf@3.0.2~postinstall: rimraf@3.0.2
npm info lifecycle yallist@4.0.0~postinstall: yallist@4.0.0
npm info lifecycle lru-cache@6.0.0~postinstall: lru-cache@6.0.0
npm info lifecycle semver@7.3.5~postinstall: semver@7.3.5
npm info lifecycle minipass@3.1.5~postinstall: minipass@3.1.5
npm info lifecycle fs-minipass@2.1.0~postinstall: fs-minipass@2.1.0
npm info lifecycle minizlib@2.1.2~postinstall: minizlib@2.1.2
npm info lifecycle tar@6.1.11~postinstall: tar@6.1.11
npm info lifecycle @mapbox/node-pre-gyp@1.0.5~postinstall: @mapbox/node-pre-gyp@1.0.5
npm info lifecycle grpc-tools@1.11.2~postinstall: grpc-tools@1.11.2
npm timing action:postinstall Completed in 49ms
npm verb unlock done using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
npm timing stage:executeActions Completed in 3827ms
npm timing stage:rollbackFailedOptional Completed in 0ms
npm timing stage:runTopLevelLifecycles Completed in 5897ms
+ grpc-tools@1.11.2
added 60 packages from 23 contributors in 5.9s
npm verb exit [ 0, true ]
npm timing npm Completed in 6179ms
npm info ok

$ protoc --version
libprotoc 3.18.1

$ grpc_tools_node_protoc_plugin
/usr/local/lib/node_modules/grpc-tools/bin/protoc_plugin.js:37
throw error;
^

Error: spawn /usr/local/lib/node_modules/grpc-tools/bin/grpc_node_plugin ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
santosh:route_guide$

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.