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

Failed to resolve module specifier "crypto" #51

Open
Criska9527 opened this issue Apr 15, 2024 · 2 comments
Open

Failed to resolve module specifier "crypto" #51

Criska9527 opened this issue Apr 15, 2024 · 2 comments
Labels
bug Something isn't working v6

Comments

@Criska9527
Copy link

I get this error after importing, what's going on, I don't have crypto in my project

error message:Failed to resolve module specifier "crypto"

version:three-custom-shader-material 5.3.8

@FarazzShaikh
Copy link
Owner

This comes from the object-hash library used if your framework doesn’t have a polyfill for th NodeJS package crypto

it’s a bug. Will be fixed with the release of v6 this week

@FarazzShaikh FarazzShaikh added the bug Something isn't working label Apr 15, 2024
@Criska9527
Copy link
Author

This comes from the object-hash library used if your framework doesn’t have a polyfill for th NodeJS package crypto

it’s a bug. Will be fixed with the release of v6 this week

Ok, thanks for the author's reply, I also found the problem, I am currently using "import objectHash from 'object-hash/dist/object_hash"; to circumvent the issue for the time being, and look forward to your new release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v6
Projects
None yet
Development

No branches or pull requests

2 participants