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
Error: [eslint-import-resolver-babel-module] Error: [BABEL]
Using `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables. Valid values are "development", "test", and "production". Instead, received: undefined. (While processing: "node_modules/babel-preset-react-app/index.js")
at module.exports (node_modules/babel-preset-react-app/create.js:33:11)
at module.exports (node_modules/babel-preset-react-app/index.js:19:10)
at node_modules/@babel/core/lib/config/full.js:165:14
at cachedFunction (node_modules/@babel/core/lib/config/caching.js:33:19)
at loadPresetDescriptor (node_modules/@babel/core/lib/config/full.js:235:63)
How can I define env vars in eslint-formatter config?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
anotheri
changed the title
How to set NODE_ENV or
How to set NODE_ENV or BABEL_ENV in formatter config
May 14, 2020
caub
linked a pull request
Nov 13, 2021
that will
close
this issue
Hey there!
I'm using babel module resolver and getting this error:
How can I define env vars in eslint-formatter config?
Thanks in advance.
The text was updated successfully, but these errors were encountered: