-
Notifications
You must be signed in to change notification settings - Fork 32
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
The npm install signal-protocol command does not work #7
Comments
@Cyraxing - thank you for notifying me of this and opening this issue. From the stacktrace, this looks like it could be an issue with node-webcrypto-ossl. Do me a favor - in an empty directory, try to # create an empty project
npm init -y
npm install node-webcrypto-ossl and see if you get the same message. Let me know what you find! |
C:\Empty>npm init -y { C:\Empty>npm install node-webcrypto-ossl
C:\Empty\node_modules\node-webcrypto-ossl>if not defined npm_config_node_gyp (no npm ERR! node-webcrypto-ossl@1.0.25 install: |
Looks like the same error to me! Please open this issue, with those steps you just did, on node-webcrypto-ossl. When they fix it, report back here - I'll update the deps and have you try again! |
In the link I could solve the problem of node-webcrypto-ossl and the code now works. git clone https://github.com/PeculiarVentures/node-webcrypto-ossl.git --depth 1 Then create a C:\ Empty folder Thank you very much! |
Great! Please keep me posted on the development! Whose handles do you need? Signal protocol was written by OpenWhisperSystems: https://en.wikipedia.org/wiki/Signal_Protocol Closing this issue for now! |
When I execute the installation command
npm install signal-protocol
it gives me the following result:
C:\xampp\htdocs\chat\node_modules\node-webcrypto-ossl>if not defined npm_config_
node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....
\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: La plataforma del proyecto 'nodessl.vcxproj' no
es válida. Plataforma='x64'. Este mensaje puede aparecer porque está intentando
compilar un proyecto sin un archivo de solución y ha especificado una platafor
ma distinta de la predeterminada que no existe para dicho proyecto. [C:\xampp\h
tdocs\chat\node_modules\node-webcrypto-ossl\build\nodessl.vcxproj]
gyp ERR! build error
gyp ERR! stack Error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:276: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_proces
s.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\xampp\htdocs\chat\node_modules\node-webcrypto-ossl
gyp ERR! node -v v6.10.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "signal-protocol"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! node-webcrypto-ossl@1.0.25 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-webcrypto-ossl@1.0.25 install script 'node-gyp rebui
ld'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-webcrypto-ossl p
ackage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-webcrypto-ossl
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-webcrypto-ossl
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\xampp\htdocs\chat\npm-debug.log
C:\xampp\htdocs\chat>npm install node-gyp rebuild
npm WARN prefer global node-gyp@3.6.2 should be installed with -g
libsignal-protocol@1.1.2 C:\xampp\htdocs\chat
+-- node-gyp@3.6.2
-- rebuild@0.1.2
-- optimist@0.3.7`-- wordwrap@0.0.3
I would like to know if you can help me with the problem
Thank you very much
The text was updated successfully, but these errors were encountered: