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

TypeError: Cannot read properties of undefined (reading 'href') #323

Open
vawogbemi opened this issue Aug 25, 2023 · 5 comments
Open

TypeError: Cannot read properties of undefined (reading 'href') #323

vawogbemi opened this issue Aug 25, 2023 · 5 comments

Comments

@vawogbemi
Copy link

getting this error when I'm running _sodium.ready in a cloudflare worker

@vawogbemi
Copy link
Author

ended up fixing it through #212, but now I'm getting this

image

@vawogbemi
Copy link
Author

@jedisct1 Hey is there any chance you have a definition of crypto_pwhash i can copy paste? Or is there another library that has a similar function.

@jedisct1
Copy link
Owner

jedisct1 commented Sep 1, 2023

Are you using the sumo version? Are other functions accessible?

If this is too complicated, you can simply use the WebCrypto API: https://bradyjoslin.com/blog/encryption-webcrypto/

@vawogbemi
Copy link
Author

yeah im using sumo, cloudflare workers download the package directly and paste the code in the cloud env, so that may be why

@vawogbemi
Copy link
Author

the other functions are working though

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