Comments (16)
I ran npm install --global --production windows-build-tools
and install argon then. It worked fine for me.
from node-argon2.
Are you using VS or what? I'll try to reproduce on a VM.
from node-argon2.
VS
@ranisalt Are you meaning visual studio? If yes then I don't.
Seems like the node-gyp uses its compiler automatically.
from node-argon2.
Ok then 👍 . I asked because I don't know how Node works on Windows.
from node-argon2.
Ok, I could do it:
First, install windows-build-tools
globally with npm --add-python-to-path i -g windows-build-tools
. It takes a very long time. Then, install argon2
as you would, and it should compile without issues.
from node-argon2.
@ranisalt But what if I already have python 2.7.14
in my PATH
?
Is there anyway to avoid its installation?
from node-argon2.
@ranisalt Well, I followed these steps but then I just got this:
fatal error LNK1107: invalid or corrupt file: cannot read at 0x28652D
[E:\pr\xxxxxx\node_modules\argon2\build\argon2.vcxproj]
Any ideas?
from node-argon2.
@ranisalt But what if I already have python 2.7.14 in my PATH?
It does not mess with your path if you omit the flag.
fatal error LNK1107: invalid or corrupt file: cannot read at 0x28652D
Try to clean (npm run clean
should do the trick) and compile again.
from node-argon2.
@ranisalt I used it already but the issue is still exactly the same.
Logs show nothing useful.
from node-argon2.
@ranisalt Ping
from node-argon2.
That's a VS issue. You might try to find help at MSDN/Visual Studio forums or wait until someone more knowledgeable of Windows can help.
I couldn't reproduce and figure out what happens :( but a file passed to the compiler is broken, probably a linked lib since you cleaned node-argon2 files.
from node-argon2.
@ranisalt What does that argon2.vcxproj
file do?
from node-argon2.
Same error. Any solution yet?
from node-argon2.
@ATakaSKY Still persists.
from node-argon2.
Closing due to lack of feedbak. Lots of compilation fixes were issued, if they still persist with v0.19.3 please reopen with new traces.
from node-argon2.
@ranisalt Looks like it works. Just have installed it recently. Gonna give a test to it and leave report if everything is working later.
from node-argon2.
Related Issues (20)
- Hash in .Net and Verify in node.js HOT 6
- Cannot build anymore from yesterday: Cannot find module './**/*' HOT 8
- How to cache the Argon2 binary for CI? HOT 1
- Bun support HOT 1
- how to install with local argon2.node HOT 1
- v0.40.0-alpha.2 raises ts errors HOT 2
- node18.14.0 node-gyp10.0.1 Error message reported during installation of argon2 HOT 2
- How to hash without salt? HOT 2
- Feat request: synchronous version HOT 5
- Crash with docker HOT 2
- `defaults` is no longer exported in v0.40.0 HOT 2
- Mismatching version numbers on github releases and npm (0.40.0 vs 0.40.1) HOT 2
- node-gyp-build error HOT 4
- Doesn't work in the node:20-alpine image docker HOT 24
- Type regression between v0.31.2 and v0.40.1 HOT 5
- ReferenceError: require is not defined HOT 1
- Centos8 error: "symbol lookup error: undefined symbol: argon2_ctx" HOT 1
- Invalid argument on verify method HOT 4
- 0.40 prebuild fails on Debian bullseye arm64 linux as GLIBC 2.34 is required HOT 2
- argon2 package.json is not node-pre-gyp ready HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-argon2.