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

pbkdf2\lib\default-encoding.js, process.version is undefine, #102

Open
forconz opened this issue Nov 5, 2021 · 0 comments
Open

pbkdf2\lib\default-encoding.js, process.version is undefine, #102

forconz opened this issue Nov 5, 2021 · 0 comments

Comments

@forconz
Copy link

forconz commented Nov 5, 2021

var pVersionMajor = parseInt(process.version.split('.')[0].slice(1), 10)

modified

var pVersionMajor = parseInt(global.process.version.split('.')[0].slice(1), 10)

so, it is work well in Electron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant