node-pre-gyp install error
212751854 opened this issue · 0 comments
C:*\Projects****>npm install --save-dev
canvas-prebuilt@1.6.11 install C:\GE\Projects\ProUI\node_modules\canvas-prebuilt
node-pre-gyp install
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: getaddrinfo ENOTFOUND github.com github.com:443
node-pre-gyp ERR! stack at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
node-pre-gyp ERR! System Windows_NT 10.0.16299
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\GE\Projects\ProUI\node_modules\node-pre-gyp\bin\node-pre-gyp" "install"
node-pre-gyp ERR! cwd C:\GE\Projects\ProUI\node_modules\canvas-prebuilt
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
getaddrinfo ENOTFOUND github.com github.com:443
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-osx@20181008.0.0 (node_modules\google-closure-compiler-osx):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-osx@20181008.0.0: wanted {"os":"darwin","arch":"x64,x86"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-linux@20181008.0.0 (node_modules\google-closure-compiler-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-linux@20181008.0.0: wanted {"os":"linux","arch":"x64,x86"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas-prebuilt@1.6.11 install: node-pre-gyp install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas-prebuilt@1.6.11 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\212751854\AppData\Roaming\npm-cache_logs\2019-03-08T06_19_15_118Z-debug.log
I'm new to node and git I don't know about these errors