GithubHelp home page GithubHelp logo

Comments (5)

elsehow avatar elsehow commented on June 20, 2024

@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!

from signal-protocol.

 avatar commented on June 20, 2024

C:\Empty>npm init -y
Wrote to C:\Empty\package.json:

{
"name": "Empty",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}

C:\Empty>npm install node-webcrypto-ossl

[email protected] install C:\Empty\node_modules\node-webcrypto-ossl
node-gyp rebuild

C:\Empty\node_modules\node-webcrypto-ossl>if not defined npm_config_node_gyp (no
de "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_module
s\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:\Empty\n
ode_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: 1
gyp 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:\Empty\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 WARN [email protected] No description
npm WARN [email protected] No repository field.
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" "node-webcrypto-ossl"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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.

from signal-protocol.

elsehow avatar elsehow commented on June 20, 2024

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!

from signal-protocol.

 avatar commented on June 20, 2024

In the link I could solve the problem of node-webcrypto-ossl and the code now works.
I installed Git for windows Git-2.13.1.2-64-bit.exe. I executed the following commands:

git clone https://github.com/PeculiarVentures/node-webcrypto-ossl.git --depth 1
cd node-webcrypto-ossl
npm install
node-gyp configure
node-gyp build

Then create a C:\ Empty folder
Copy the node-webcrypto-ossl folder located in the "users" folder.
I ran the command npm install signal-protocol.

Thank you very much!
I am doing a thesis that is the development of a cryptographic chat in Node.js and this code is part of the development, can you tell me their names or pseudonyms to recognize them at work ?. Thank you very much. From Argentina.

from signal-protocol.

elsehow avatar elsehow commented on June 20, 2024

Great! Please keep me posted on the development!

Whose handles do you need? node-webcrypto-ossl appears to be done by @PeculiarVentures

Signal protocol was written by OpenWhisperSystems: https://en.wikipedia.org/wiki/Signal_Protocol

Closing this issue for now!

from signal-protocol.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.