Giter Club home page Giter Club logo

Comments (16)

ATakaSKY avatar ATakaSKY commented on August 24, 2024 1

I ran npm install --global --production windows-build-tools and install argon then. It worked fine for me.

from node-argon2.

ranisalt avatar ranisalt commented on August 24, 2024

Are you using VS or what? I'll try to reproduce on a VM.

from node-argon2.

hinell avatar hinell commented on August 24, 2024

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.

ranisalt avatar ranisalt commented on August 24, 2024

Ok then 👍 . I asked because I don't know how Node works on Windows.

from node-argon2.

ranisalt avatar ranisalt commented on August 24, 2024

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.

hinell avatar hinell commented on August 24, 2024

@ranisalt But what if I already have python 2.7.14 in my PATH?
Is there anyway to avoid its installation?

from node-argon2.

hinell avatar hinell commented on August 24, 2024

@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 avatar ranisalt commented on August 24, 2024

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

hinell avatar hinell commented on August 24, 2024

@ranisalt I used it already but the issue is still exactly the same.
Logs show nothing useful.

from node-argon2.

hinell avatar hinell commented on August 24, 2024

@ranisalt Ping

from node-argon2.

ranisalt avatar ranisalt commented on August 24, 2024

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.

hinell avatar hinell commented on August 24, 2024

@ranisalt What does that argon2.vcxproj file do?

from node-argon2.

ATakaSKY avatar ATakaSKY commented on August 24, 2024

Same error. Any solution yet?

from node-argon2.

hinell avatar hinell commented on August 24, 2024

@ATakaSKY Still persists.

from node-argon2.

ranisalt avatar ranisalt commented on August 24, 2024

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.

hinell avatar hinell commented on August 24, 2024

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

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.