Git Product home page Git Product logo

Comments (2)

ranisalt avatar ranisalt commented on August 17, 2024 1

This is because your container runs on Alpine, but your local machine likely does not, and in https://github.com/hare0319/argon2_with_docker/blob/1bdbb365ac2ac936e55edb937a84c9c3e64f15d0/Dockerfile#L13 when you COPY --chown=node:node . . you are overriding the contents of node_modules from the previous invocation of npm i with the contents from your local machine, which will copy Argon2 with the specific binary for your machine.

I will change this with the upcoming version 0.40 where it will ship all of the binaries and it can be selected at runtime, since this seems to be a very common misunderstanding. You can try it now with npm i --save argon2@next and see if it still happens.

from node-argon2.

hare0319 avatar hare0319 commented on August 17, 2024

Well, thanks very much for your help, argon2@next works for my case.

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.