-
Notifications
You must be signed in to change notification settings - Fork 104
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
Error in npm run build does not return error code #39
Comments
Hi @sattaman, I've implemented local and session storages and started getting the same error. |
I used the code below to check for jsdom and avoid referencing sessionStorage in jsdom enviroments.
|
Thanks! That's a nice workaround, but I actually need the storage in production :( |
This doesnt stop you using storage in production , you only disable it while react-snapshot is extracting you pages markup |
I see. Thanks! Cheers. |
Jsdom issue won't be solved see #44 (comment) |
Thanks 4 the update. |
I've recently had an error where my check to find if it is running in JSDOM failed, and the build failed, but my CI server didnt know as this was not returned as an error. I'm not sure if the issue is here or in CRA?
The text was updated successfully, but these errors were encountered: