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

npm install error #2

Open
gamecln277 opened this issue May 13, 2020 · 0 comments
Open

npm install error #2

gamecln277 opened this issue May 13, 2020 · 0 comments

Comments

@gamecln277
Copy link

In file included from ../src/validation.cc:15:
../../nan/nan.h: At global scope:
../../nan/nan.h:1956:13: warning: '_NanGetExternalParts' defined but not used [-Wunused-variable]
static bool _NanGetExternalParts(
^~~~~~~~~~~~~~~~~~~~
make: *** [validation.target.mk:113: Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/root/android_remote_control/node_modules/utf-8-validate/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.18.0-147.8.1.el8_1.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/android_remote_control/node_modules/utf-8-validate
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

audited 21 packages in 1.852s
found 3 vulnerabilities (1 low, 2 high)
run npm audit fix to fix them, or npm audit for details
[root@ws-scrcpy android_remote_control]# /usr/bin/node
Welcome to Node.js v12.16.3.
Type ".help" for more information.

I need help QQ

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

1 participant