Closed
Description
node v6.3.1
create-react-app v0.2
When opening App.js
or index.js
in Atom I get this error :
Error: Cannot find module 'babel-eslint' Referenced from: /Users/Home/github/testing-create/package.json
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.
Metadata
Metadata
Assignees
Labels
No labels