eslint --init fails with EINVALIDTAGNAME
See original GitHub issueHi,
I have a zero npm package with nothing in it. I am trying to initialize eslint config.
But there is a problem I can’t figure out: error@[object Object]
tag for package error
Here is the log
» node -v
v8.9.4
» npm -v
6.4.1
» eslint -v
v5.9.0
» eslint --init
? How would you like to configure ESLint? Use a popular style guide
? Which style guide do you want to follow? Standard (https://github.com/standard/standard)
? What format do you want your config file to be in? JSON
Checking peerDependencies of eslint-config-standard@latest
Local ESLint installation not found.
The config that you've selected requires the following dependencies:
eslint-config-standard@latest error@[object Object] eslint@latest
? Would you like to install them now with npm? Yes
Installing eslint-config-standard@latest, error@[object Object], eslint@latest
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "[object Object]": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2018-11-15T06_15_57_861Z-debug.log
Successfully created .eslintrc.json file in /Users/user/app
ESLint was installed locally. We recommend using this local copy instead of your globally-installed copy.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 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
Installing eslint-config-airbnb-base@latest, error@[object Object], eslint@latest npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "[object Object]": ...
Read more >eslint - npm
Note: eslint --init is intended for setting up and configuring ESLint ... The first value is the error level of the rule and...
Read more >Getting Started with ESLint - Pluggable JavaScript Linter
use `eslint-config-semistandard` shared config # npm 6.x npm init ... The first value is the error level of the rule and can be...
Read more >12. How to install npm ESLint plugin in the application and ...
In this video, we will see how to install the npm ESLint plugin from the npm packages and implement the plugin in the...
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 FreeTop 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
Top GitHub Comments
I have the same problem. How should I solve it?
@ahmedkrmn If you read the rest of the issue, you’ll see that the original poster had a problem with a Nexus repository. If you think you have a different problem, please open a new issue and provide more details about your situation. Thanks!