Cannot resolve 'env' in .../node_modules/argon2-browser/dist'
See original GitHub issueI am following the example you have for node in my React application. I have added const argon2 = require('argon2-browser');
and I am trying to make use of argon2.hash(...)
. I encounter the following error for some reason.
[1] [ error ] ./node_modules/argon2-browser/dist/argon2.wasm
[1] Module not found: Can't resolve 'env' in '/path/node_modules/argon2-browser/dist'
I am new to using WASM in node so perhaps it’s me not configuring things correctly. I have installed the npm module using npm install --save argon2-browser
Thank you for your time in advance!
Issue Analytics
- State:
- Created 4 years ago
- Comments:24 (8 by maintainers)
Top Results From Across the Web
Maven in Intellij IDEA cannot resolve symbol env.HOSTNAME
I am running Intellij IDEA on Ubuntu 11.10. My Maven pom.xml file was unable to resolve a symbol, a system property environmental variable...
Read more >Error: Unable to resolve module `@env` from `src/utils.ts ...
I'm using yarn. React Native info System: OS: macOS 10.15.4 CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz Memory: 116.45 MB /...
Read more >Maven: cannot resolve environment variables : IDEA-96358
We do have support of environment variables in maven properties. So there are few questions I would like to ask: does it happen...
Read more >Resolution of environment variables - Serverless Framework
Resolution of environment variables. To automatically load environment variables from .env files (with the help of the dotenv package), set useDotenv: true ...
Read more >Troubleshoot issues when passing environment variables to ...
Your application is unable to read the environment variable. The format of variable in the container definition is incorrect. The environment ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool! It was a bit surprising that there are two configs, I thought, maybe one of them doesn’t work at all?
That worked! Fantastic! How did you figure it out?