-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[0.46.1] Trying to access process.env or global.process.env the application crashes.. #7493
Comments
The same issue persists on Windows 10 |
I have experienced the same. Tested on Windows Server 2016, process.env crashes nwjs. But I can also confirm that in nwjs 0.46.0 it DOES NOT cause the crash. |
This is fixed in git and will be available in the next nightly build. |
I confirm this is fixed in the latest nightly build! Thanks |
@rogerwang @DimPaDev I just tested nwjs-sdk-v0.46.1-win-x64 and it still crashes when I do process.env from the console! |
@krneticz this is fixed in the latest version (0.46.2) |
@DimPaDev you are right! It is fine in 0.46.2. Thanks! |
NWJS Version : 0.46.1
Operating System : Linux, Windows
Expected behavior
If you try to access process.env or global.process.env in the code or from the dev tools console the application should not crash.
Actual behavior
The nw.js application crashes completely without warnings or errors
How to reproduce
Just run a hello world application using this snippet :
The text was updated successfully, but these errors were encountered: