`eslint --init` failed
See original GitHub issueTell us about your environment
- ESLint Version: 5.16.0
- Node Version: v10.16.0
- npm Version: 6.9.0
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
$ npx eslint --init
? How would you like to use ESLint? To check syntax, find problems, and enforce code style
? What type of modules does your project use? JavaScript modules (import/export)
? Which framework does your project use? React
? Where does your code run? (Press <space> to select, <a> to toggle all, <i> to invert selection)Browser
? How would you like to define a style for your project? Answer questions about your style
? What format do you want your config file to be in? JavaScript
? What style of indentation do you use? (Use arrow keys)
❯ Tabs
Spaces
What did you expect to happen?
ESLint inits successfully.
What actually happened? Please include the actual, raw output from ESLint.
No more response when I wanna choose Spaces
. The whole terminal was just dead. Even I press control+c, it doesn’t respond.
Are you willing to submit a pull request to fix this bug?
No idea.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
How to fix 'eslint --init fails'? - Stack Overflow
This is for Mac, node v10.10.0,npm 6.4.1 eslint --init ? How would you like to use ESLint? To check syntax, find problems, and...
Read more >eslint/eslint - Gitter
However, as soon as I run eslint --init and tell the configuration utility to setup eslint ... Failed to load parser '@typescript-eslint/parser' declared...
Read more >Getting Started with ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >eslint-config-standard - npm
npx eslint --init; Select "Use a popular style guide." Select "Standard." Select a config file format. If prompted, confirm the installation ...
Read more >Parsing error: Unexpected token for Eslint --init - Google Groups
Hi Marina, It looks like it's failing to install eslint-plugin-react. Can you try answering “no” for that question and see if you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I experienced the same error. Stuck at
Would you like to install them now with npm? (Y/n)
(nothing happen when press keys, evenCtrl + C
).Hi. This has been identified as an upstream bug: https://github.com/SBoudrias/Inquirer.js/issues/811
Please wait for the upstream fix.
A workaround, for now, is to install the previous version of
inquirer
manually: