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
Uncaught ReferenceError: node_env_var_name is not defined #628
Uncaught ReferenceError: node_env_var_name is not defined #628
Comments
The line causing this is line 520 of config.js. It appears to have been broken by #576. |
We are seeing it in server side code as well.
|
this Should be |
For anyone like us, we found the issue occurring where we are using babel to transpile code. In other node apps, where we dont use babel, it doesn't throw any error |
Fix #628: node_env_var_name is not defined
Pushed in v3.3.5 today. Thank you for the patch! |
* Fix bug where is-plain-obj is not transpiled by Jest, update lock. * Update packages. * Mock useSelect for a handful of RichText selectors in test. * Resolve react to single version to avoid invalid hook errors. * Patch trim-html locally to avoid a bug in the released npm source. * Mock out resizeObserver to avoid FezVrasta/react-resize-aware#58 * Don't transpile config package: node-config/node-config#628
What is the current behavior?
I am currently seeing this bug in 3.3.3 in the browser:
It appears it is from this commit:
b4ba63c
In this line:
b4ba63c#diff-d5109920b34c2b2e141bd41232d8876432a17479c388e142d8a036bb7b36ea62R520
What is the expected behavior?
Previous versions of node-config would not throw this error.
Please tell us about your environment:
Other information
Webpack config:
The text was updated successfully, but these errors were encountered: