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
at Object.ModuleResolver.resolve (/usr/local/lib/node_modules/eslint/lib/util/module-resolver.js:75:19)
at load (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:519:42)
at /usr/local/lib/node_modules/eslint/lib/config/config-file.js:392:36
at Array.reduceRight (native)
at applyExtends (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:363:28)
at Object.load (/usr/local/lib/node_modules/eslint/lib/config/config-file.js:531:22)
at loadConfig (/usr/local/lib/node_modules/eslint/lib/config.js:64:33)
at new Config (/usr/local/lib/node_modules/eslint/lib/config.js:197:38)
at CLIEngine.executeOnText (/usr/local/lib/node_modules/eslint/lib/cli-engine.js:750:28)
at Object.cli.execute (/usr/local/lib/node_modules/eslint/lib/cli.js:181:36)
I ran an npm run eject and the babel-eslint folder is in my node_modules folder.
If any other infos are needed feel free to ask me to add them here.
EDIT : looks like I needed to instal babel-eslint globally on my computer, I'm not sure how we could warn new users (like me) about this since this tool is made for them.
The text was updated successfully, but these errors were encountered:
@gaearon Can't that be fixed by specifying the parser in config/eslint.js like so parser: require.resolve('babel-eslint'), ? This change worked fine for me using Atom.
node v6.3.1
create-react-app v0.2
When opening
App.js
orindex.js
in Atom I get this error :Error: Cannot find module 'babel-eslint' Referenced from: /Users/Home/github/testing-create/package.json
I ran an
npm run eject
and the babel-eslint folder is in mynode_modules
folder.If any other infos are needed feel free to ask me to add them here.
EDIT : looks like I needed to instal babel-eslint globally on my computer, I'm not sure how we could warn new users (like me) about this since this tool is made for them.
The text was updated successfully, but these errors were encountered: