-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Bug: "TypeError: Cannot read properties of undefined (reading 'slice')" when using Node.js crypto module #111
Comments
Setting
The problem is with
See the discussion on the |
Thanks for your answer! I was hoping to use vite-plugin-node-polyfills to make node crypto functionality available in the browser. I tried |
I don't think |
I think I saw those repositories but like you said, they are not maintained or not well-tested which seems dangerous for security-related code. I think I'll go another way and try the crypto web api for password encryption. |
Summary
Hi, I am getting the error "TypeError: Cannot read properties of undefined (reading 'slice')" when using crypto in my Vite project.
Vite version is 5.3.3.
Error message
The text was updated successfully, but these errors were encountered: