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

Getting module not found even thought it is inside node_modules #15

Open
javiersuweijie opened this issue Sep 13, 2023 · 3 comments
Open
Assignees

Comments

@javiersuweijie
Copy link

Error:

./node_modules/@iden3/js-jwz/dist/esm/hash.js
Cannot find module: '@iden3/js-crypto'. Make sure this package is installed.

You can install this package by running: npm install @iden3/js-crypto.

Removing the key main here seems like the thing that caused this issue.

@Kolezhniuk

@Kolezhniuk
Copy link
Contributor

Error:

./node_modules/@iden3/js-jwz/dist/esm/hash.js
Cannot find module: '@iden3/js-crypto'. Make sure this package is installed.

You can install this package by running: npm install @iden3/js-crypto.

Removing the key main here seems like the thing that caused this issue.

@Kolezhniuk

Hello @javiersuweijie! Have you tried to remove node_modules and package.lock.json and make npm i again?

@javiersuweijie
Copy link
Author

Yes I did that but still not able. I must also confess that I'm using node 18 instead of the latest so that could be the issue.

@Kolezhniuk
Copy link
Contributor

Yes I did that but still not able. I must also confess that I'm using node 18 instead of the latest so that could be the issue.

@javiersuweijie sorry for long reply, any success?

@Kolezhniuk Kolezhniuk self-assigned this Mar 25, 2024
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

2 participants