Skip to content
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

node-gyp related installation issue on Windows #27

Open
ghost opened this issue Mar 6, 2019 · 4 comments
Open

node-gyp related installation issue on Windows #27

ghost opened this issue Mar 6, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 6, 2019

Attempting to install on Windows 10 with npm install cryptonight-hashing fails with the following output.

C:\xxxxxxxxx\node_modules\cryptonight-hashing>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\no de-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\no de-gyp.js" rebuild ) The system cannot find the path specified. gyp: Call to 'uname -a \| grep "aarch64" >/dev/null && echo "-march=armv8-a+crypto -flax-vector-conversi ons -DXMRIG_ARM=1" \|\| (uname -a \| grep "armv7" >/dev/null && echo "-mfpu=neon -flax-vector-conversions -DXMRIG_ARM=1" \|\| echo "-march=native")' returned exit status 255 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gypfailed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node -gyp\lib\configure.js:345:16) gyp ERR! stack at ChildProcess.emit (events.js:189: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\\n ode_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\windowscoin\node_modules\cryptonight-hashing 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: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install:node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. ---
I have checked that node-gyp is indeed sane, and built bcrypt and several other libraries to test this. I have already tried the fixes in this thread: nodejs/node-gyp#1195 It seems to be an issue with the code.

@MoneroOcean
Copy link
Owner

Windows is not really supported at this moment.

@cryptojunkie36
Copy link

What would more or less be the requirements to add support? Any idea what would need to be changed?

@duyk16
Copy link

duyk16 commented Feb 12, 2020

Windows is not really supported at this moment.

I just install on Linux. How can I install it on MacOS?

@thundo
Copy link

thundo commented Mar 25, 2021

Any plans to reevaluate expanding support to Windows?

It would be greatly appreciated,
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants