I keep getting errors after errors while trying to get a package with NPM.
I have solved most of them but now i'm getting this :
rs\kevin\Desktop\adwordsapi\node_modules\ursa\build\ursaNative.vcxproj]
LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib' [C:\Users\kevin\Desktop\adwordsa
pi\node_modules\ursa\build\ursaNative.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\kevin\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib
\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\kevin\\AppData\\Roaming\\npm\\node_modules\\npm\\node
_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\kevin\Desktop\adwordsapi\node_modules\ursa
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\kevin\Desktop\adwordsapi\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\kevin\Desktop\adwordsapi\package.json'
npm WARN adwordsapi No description
npm WARN adwordsapi No repository field.
npm WARN adwordsapi No README data
npm WARN adwordsapi No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa#0.9.4 (node_modules\ursa):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa#0.9.4 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
I have no idea what's going on and hoped some of you could help
Looking at the link error in you error output, it seems that you are missing some required dependencies to compile the native module.
Installing the ursa node module on Windows requires some extra preparation steps. Check https://www.npmjs.com/package/ursa#windows-install for further documentation.
Hope this helps.
Related
I followed this article by Microsoft
https://learn.microsoft.com/en-us/azure/blockchain/service/send-transaction.
And I have successfully connected to a consortium member.
But when I try to create a new sample project I encounter these errors.
I have tried my best to fix them
[Execute command]
[Execute command] - Preparing to download
[Execute command] √ Preparing to download
[Execute command] - Downloading
[Execute command] √ Downloading
[Execute command] - Cleaning up temporary files
[Execute command] √ Cleaning up temporary files
[Execute command] - Setting up box
[Execute command] npm WARN deprecated fs-promise#2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz#1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\kriti\OneDrive\Desktop\trial\node_modules\scrypt
gyp ERR! node -v v12.8.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt#6.0.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt#6.0.3 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\kriti\AppData\Roaming\npm-cache_logs\2019-08-09T05_09_56_960Z-debug.log
[Execute command] × Setting up box
[Execute command] Error: Command failed: npm install
npm WARN deprecated fs-promise#2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz#1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\kriti\OneDrive\Desktop\trial\node_modules\scrypt
gyp ERR! node -v v12.8.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt#6.0.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt#6.0.3 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\kriti\AppData\Roaming\npm-cache_logs\2019-08-09T05_09_56_960Z-debug.log
at checkExecSyncError (child_process.js:621:11)
at execSync (child_process.js:657:15)
at Object.installBoxDependencies (C:\Users\kriti\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-box\lib\utils\unbox.js:118:1)
at Object.setUpBox (C:\Users\kriti\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-box\lib\utils\index.js:62:1)
at Object.unbox (C:\Users\kriti\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-box\box.js:58:1)
[Execute command] Truffle v5.0.30 (core: 5.0.30)
Node v12.8.0
[Execute command] Finished running command
Also, all dependencies are installed, though I think they might have the error.
Edit:
Here is my output, very similar (too big to put in comments):
[Execute command] Setting up box
[Execute command] Error: Command failed: npm install
npm WARN deprecated truffle-hdwallet-provider#1.0.10: WARNING: This package has been renamed to #truffle/hdwallet-provider.
npm WARN deprecated fs-promise#2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz#1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\xyz\node_modules\scrypt
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt#6.0.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt#6.0.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
at checkExecSyncError (child_process.js:629:11)
at Object.execSync (child_process.js:666:13)
at Object.installBoxDependencies (C:\Users\xyz\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\unbox.js:106:1)
at Object.setUpBox (C:\Users\xyz\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\index.js:67:1)
at Object.<anonymous> (C:\Users\xyz\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\box.js:57:1)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\xyz\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\box.js:4:42)
[Execute command] Truffle v5.0.37 (core: 5.0.37)
Node v10.16.3
[Execute command] Finished running command
I am using truffle unbox react, but it is failing to set up:
Preparing to download
√ Preparing to download
- Downloading
√ Downloading
- Cleaning up temporary files
√ Cleaning up temporary files
- Setting up box
× Setting up box
Error: Error: Error: Command failed: cd client && npm install
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Javaid\Desktop\myDapp\client\node_modules\scrypt
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt#6.0.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt#6.0.3 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\Javaid\AppData\Roaming\npm-cache_logs\2019-05-04T19_24_38_096Z-debug.log
at Object.unbox (C:\Users\Javaid\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-box\box.js:69:1)
at process._tickCallback (internal/process/next_tick.js:68:7)
Truffle v5.0.15 (core: 5.0.15)
Node v10.15.3
Javaid#DESKTOP-6RRO05J MINGW64 ~/desktop/myDapp
Maybe try to replace the command with:
truffle unbox LibertyLocked/truffle-react-ts-template
Im having a bad day trying to create a new project in Ionic 3. I have this versions:
Ionic 3.9.2
npm 6.7.0
node v8.10.0
I'm using Ubuntu 18 and each time I do:
sudo ionic start test blank
I get this message:
https://nodejs.org/download/release/v8.10.0/node-v8.10.0-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp verb command remove [ '8.10.0' ]
gyp verb remove using node-gyp dir: /home/abraham/.node-gyp
gyp verb remove removing target version: 8.10.0
gyp verb remove removing development files for version: 8.10.0
gyp ERR! configure error
gyp ERR! stack Error: ENOENT: no such file or directory, open
'/home/abraham/='
gyp ERR! stack at Object.fs.openSync (fs.js:646:18)
gyp ERR! stack at Object.fs.readFileSync (fs.js:551:33)
gyp ERR! stack at readCAFile
(/home/abraham/Documentos/Ionic/IonicCurso/prueba/prueba/node_modules/node-gyp/lib/install.js:472:15)
gyp ERR! stack at download
(/home/abraham/Documentos/Ionic/IonicCurso/prueba/prueba/node_modules/node-gyp/lib/install.js:444:22)
gyp ERR! stack at
/home/abraham/Documentos/Ionic/IonicCurso/prueba/prueba/node_modules/node-gyp/lib/install.js:189:19
gyp ERR! stack at
/home/abraham/Documentos/Ionic/IonicCurso/prueba/prueba/node_modules/mkdirp/index.js:48:26
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:5)
gyp ERR! System Linux 4.15.0-43-generic
gyp ERR! command "/usr/bin/node"
"/home/abraham/Documentos/Ionic/IonicCurso/prueba/prueba/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags="
"--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd
/home/abraham/Documentos/Ionic/IonicCurso/prueba/prueba/node_modules/node-sass
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.7
(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents#1.2.7: wanted {"os":"darwin","arch":"any"} (current:
{"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass#4.5.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass#4.5.3 postinstall 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! /home/abraham/.npm/_logs/2019-01-26T16_26_10_675Z-debug.log
I dont know wheter if I will need to reinstal ionic since I've already tryied:
npm rebuild node-sass
Thanks for the help
There are times when you do not want to change ownership of the default directory that npm uses (i.e. /usr) as this could cause some problems, for example if you are sharing the system with other users.
Instead, you can configure npm to use a different directory altogether. In our case, this will be a hidden directory in our home folder.
Make a directory for global installations:
mkdir ~/.npm-global
Configure npm to use the new directory path:
npm config set prefix '~/.npm-global'
Open or create a ~/.profile file and add this line:
export PATH=~/.npm-global/bin:$PATH
Back on the command line, update your system variables:
source ~/.profile
I am a bit new to nodejs and I am trying to connect database via nodejs. For connecting I am installing the JDBC but it throws an error like below. Can you help for this?
C:\myDrive\work\samples\nodeapis\simpleapi>npm i --save jdbc
> java#0.9.1 install `enter code here`C:\myDrive\work\samples\nodeapis\simpleapi\node_modules\java
> node-gyp rebuild
C:\myDrive\work\samples\nodeapis\simpleapi\node_modules\java>if not defined npm_config_node_gyp (node "C:\myDrive\apps\node-v10.14.1-win-x64\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\myDrive\apps\node-v10.14.1-win-x64\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\myDrive\apps\Python\Python37\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:289:12)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at maybeClose (internal/child_process.js:962:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\myDrive\\apps\\node-v10.14.1-win-x64\\node.exe" "C:\\myDrive\\apps\\node-v10.14.1-win-x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\myDrive\work\samples\nodeapis\simpleapi\node_modules\java
gyp ERR! node -v v10.14.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\myDrive\work\samples\nodeapis\simpleapi\package.json'
npm WARN simpleapi No description
npm WARN simpleapi No repository field.
npm WARN simpleapi No README data
npm WARN simpleapi No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! java#0.9.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the java#0.9.1 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\<user>\AppData\Roaming\npm-cache\_logs\2018-12-13T07_30_29_595Z-debug.log
After I have installed the lower version of python 2.7.0 this error has gone.
but the below error I got
C:\myDrive\work\samples\nodeapis\simpleapi>npm i --save jdbc
> java#0.9.1 install C:\myDrive\work\samples\nodeapis\simpleapi\node_modules\java
> node-gyp rebuild
C:\myDrive\work\samples\nodeapis\simpleapi\node_modules\java>if not defined npm_config_node_gyp (node "C:\myDrive\apps\node-v10.14.1-win-x64\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\myDrive\apps\node-v10.14.1-win-x64\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\myDrive\\apps\\node-v10.14.1-win-x64\\node.exe" "C:\\myDrive\\apps\\node-v10.14.1-win-x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\myDrive\work\samples\nodeapis\simpleapi\node_modules\java
gyp ERR! node -v v10.14.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\myDrive\work\samples\nodeapis\simpleapi\package.json'
npm WARN simpleapi No description
npm WARN simpleapi No repository field.
npm WARN simpleapi No README data
npm WARN simpleapi No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! java#0.9.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the java#0.9.1 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\<user>\AppData\Roaming\npm-cache\_logs\2018-12-13T08_15_21_567Z-debug.log
Thanks in advance
I think you need to install node-gyp and then try again, it is a cross-platform command line tool written in nodejs for compiling native addon modules.
I've tried everything here -->NodeJS - Error installing with NPM
But I cannot seem to get this operational. Whenever I try npm install --save ursa it fails.
My Error is -->
C:\Users\Journey\Desktop\Encrypt\node_modules\ursa>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
ursaNative.cc
win_delay_load_hook.cc
..\src\ursaNative.cc(157): warning C4244: 'argument': conversion from 'ssize_t' to 'int', possible loss of data [C:\Users\Journey\Desktop\Encrypt\node_modul es\ursa\build\ursaNative.vcxproj]
..\src\ursaNative.cc(172): warning C4244: 'argument': conversion from 'ssize_t' to 'int', possible loss of data [C:\Users\Journey\Desktop\Encrypt\node_modul es\ursa\build\ursaNative.vcxproj]
LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib' [C:\Users\Journey\Desktop\Encrypt\node_modules\ursa\build\ursaNative. vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Journey\Desktop\Encrypt\node_modules\ursa
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN encrypt#1.0.0 No description
npm WARN encrypt#1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ursa#0.9.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ursa#0.9.4 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\Journey\AppData\Roaming\npm-cache\_logs\2018-04-05T01_48_33_626Z-debug.log
follow node gyp
Run these as admin .
npm install --g --production windows-build-tools
npm install --global node-gyp