pbkdf2 icon indicating copy to clipboard operation
pbkdf2 copied to clipboard

process.version is undefined bug fix

Open WilliamBerlin76 opened this issue 4 years ago • 2 comments

process.version is currently undefined which is breaking an app that I'm working on for myself and other windows users on my team.

processVersion processversionundefined

Switching if from process.version to global.process.version fixes it.

WilliamBerlin76 avatar Apr 30 '21 18:04 WilliamBerlin76

I'm facing this issue when running browser tests. The problem is that webpack injects the variables, when compiling, so global and process are different. global is the node and process is the browser process.

jopicornell avatar Jun 09 '21 12:06 jopicornell