-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I was trying to install ecies package and got error to install cryptopp dependency.
I did install Gnu Make but that didn't help either.
I then tried to install using below command but faced same issue
npm install git+https://github.com/Mowje/node-cryptopp.git
I download the source of this library and tried to perform 'npm install' faced the same
Below listed is the error details from npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'E:\Servers\Blockchain\nodejs\node.exe',
1 verbose cli 'E:\Servers\Blockchain\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@3.10.10
3 info using node@v6.10.0
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly install normalizeTree
8 silly loadCurrentTree Finishing
9 silly loadIdealTree Starting
10 silly install loadIdealTree
11 silly cloneCurrentTree Starting
12 silly install cloneCurrentTreeToIdealTree
13 silly cloneCurrentTree Finishing
14 silly loadShrinkwrap Starting
15 silly install loadShrinkwrap
16 silly loadShrinkwrap Finishing
17 silly loadAllDepsIntoIdealTree Starting
18 silly install loadAllDepsIntoIdealTree
19 silly loadAllDepsIntoIdealTree Finishing
20 silly loadIdealTree Finishing
21 silly currentTree cryptopp@0.2.4
22 silly idealTree cryptopp@0.2.4
23 silly generateActionsToTake Starting
24 silly install generateActionsToTake
25 silly generateActionsToTake Finishing
26 silly diffTrees action count 0
27 silly decomposeActions action count 0
28 silly runTopLevelLifecycles Starting
29 silly install runPreinstallTopLevelLifecycles
30 silly preinstall cryptopp@0.2.4 E:\Servers\Blockchain\node-cryptopp-master\node-cryptopp-master\cryptopp-6a1674cb
31 info lifecycle cryptopp@0.2.4preinstall: cryptopp@0.2.4preinstall: unsafe-perm in lifecycle true
32 verbose lifecycle cryptopp@0.2.4
33 verbose lifecycle cryptopp@0.2.4preinstall: PATH: E:\Servers\Blockchain\nodejs\node_modules\npm\bin\node-gyp-bin;E:\Servers\Blockchain\node-cryptopp-master\node-cryptopp-master\node_modules.bin;C:\Python27;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files\Java\jdk1.7.0_79\bin;E:\Servers\apache-maven-3.3.9\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\MySQL\MySQL Utilities 1.6;E:\Servers\Blockchain\Geth;E:\Servers\Blockchain\nodejs;E:\Servers\Blockchain\web3j-2.0.1\web3j-2.0.1\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files\Git\cmd;E:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Ethcore\Parity;E:\Servers\Blockchain\truffle-wspace\Commands;C:\Program Files (x86)\Skype\Phone;E:\Servers\Blockchain\Softwares\go-ipfs_v0.4.8_windows-amd64\go-ipfs;E:\Program Files (x86)\MongoDB\Server\3.4\bin;D:\Program Files (x86)\GnuWin32\bin;C:\Users\Susmit\AppData\Local\Microsoft\WindowsApps;C:\Users\Susmit\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\binpreinstall: CWD: E:\Servers\Blockchain\node-cryptopp-master\node-cryptopp-master
34 verbose lifecycle cryptopp@0.2.4
35 silly lifecycle cryptopp@0.2.4preinstall: Args: [ '/d /s /c', 'make build' ]preinstall: Returned: code: 2 signal: null
36 silly lifecycle cryptopp@0.2.4
37 info lifecycle cryptopp@0.2.4~preinstall: Failed to exec preinstall script
38 silly rollbackFailedOptional Starting
39 silly rollbackFailedOptional Finishing
40 silly runTopLevelLifecycles Finishing
41 silly install printInstalled
42 verbose stack Error: cryptopp@0.2.4 preinstall: make build
42 verbose stack Exit status 2
42 verbose stack at EventEmitter. (E:\Servers\Blockchain\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
42 verbose stack at emitTwo (events.js:106:13)
42 verbose stack at EventEmitter.emit (events.js:191:7)
42 verbose stack at ChildProcess. (E:\Servers\Blockchain\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
42 verbose stack at emitTwo (events.js:106:13)
42 verbose stack at ChildProcess.emit (events.js:191:7)
42 verbose stack at maybeClose (internal/child_process.js:877:16)
42 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
43 verbose pkgid cryptopp@0.2.4
44 verbose cwd E:\Servers\Blockchain\node-cryptopp-master\node-cryptopp-master
45 error Windows_NT 10.0.14393
46 error argv "E:\Servers\Blockchain\nodejs\node.exe" "E:\Servers\Blockchain\nodejs\node_modules\npm\bin\npm-cli.js" "install"
47 error node v6.10.0
48 error npm v3.10.10
49 error code ELIFECYCLE
50 error cryptopp@0.2.4 preinstall: make build
50 error Exit status 2
51 error Failed at the cryptopp@0.2.4 preinstall script 'make build'.
51 error Make sure you have the latest version of node.js and npm installed.
51 error If you do, this is most likely a problem with the cryptopp package,
51 error not with npm itself.
51 error Tell the author that this fails on your system:
51 error make build
51 error You can get information on how to open an issue for this project with:
51 error npm bugs cryptopp
51 error Or if that isn't available, you can get their info via:
51 error npm owner ls cryptopp
51 error There is likely additional logging output above.
52 verbose exit [ 1, true ]