You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My NODE_ENV was set to "dev" and thus produced a not-so-obvious error in heroku
Error: Cannot find module './src/config/dev'
^ that did not mean too much to me initially.
The stack trace was even less informative then that. I suggest a try catch with a message about what valid values the NODE_ENV can be set to... and perhaps it could default to using the development.js file with a warning if no matching file can be found.
Thanks!
The text was updated successfully, but these errors were encountered:
My NODE_ENV was set to "dev" and thus produced a not-so-obvious error in heroku
Error: Cannot find module './src/config/dev'
^ that did not mean too much to me initially.
The stack trace was even less informative then that. I suggest a try catch with a message about what valid values the NODE_ENV can be set to... and perhaps it could default to using the development.js file with a warning if no matching file can be found.
Thanks!
The text was updated successfully, but these errors were encountered: