-
-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'eslint-config-standard' #84
Comments
Same here. Even I try to install it myself. Also got some weird files after running eslint --init (=2.2.0, =3.0.0, 3.5.0, etc.). Running npm -v 5.0.3 |
@FNGR2911 |
@u3u It worked!Thanks for help! |
Hey I dont understand what is going on here. |
@vigneshr23, npm install eslint-config-standard -g Then try again, you'll most likely get more errors but they come with instructions to install more packages. Happy linting! |
I have the same problem using firebase deploy |
To fix this, ensure that It's preferred to install all of them locally rather than globally. Check that they're all listed in |
Same here smh |
FWIW, in my case, it was using |
In my case, |
@u3u How to add
but I am getting the same error message |
For Windows users, try: node_modules\.bin\eslint |
@daniel2009 When you want to auto fix your errors, you might want to type: eslint --fix --ext .js,.vue --ignore-path .gitignore . inside your project root directory. But instead you should type: node_modules/.bin/eslint --fix --ext .js,.vue --ignore-path .gitignore . or on Windows: node_modules\.bin\eslint --fix --ext .js,.vue --ignore-path .gitignore . |
It worked! thanks :) |
…e层的naviBarManage Summary: 1.将原先的栏目管理更新为导航栏(naviBar)管理,将原先的栏目设置改为布局管理(layout manage),与后端保持一致; 2.增加service层的naviBarManage,调试导航栏管理接口,目前接口和数据需要跟后端继续沟通; 3.在引入其它项目的js文件时,可能会与本项目的eslint规范不符,可使用eslint --fix file 来进行修正。如果报 Cannot find module 'eslint-config-standard'错误,可以使用node_modules/.bin/eslint --fix 'file' 来操作。具体可见[[ standard/eslint-config-standard#84 | issue ]] Test Plan: Build & run Reviewers: binhong.wu, peng.gan Reviewed By: peng.gan Differential Revision: http://pha.tianchimedia.com/D230
eslint -v
v4.2.0
eslint --init
.eslintrc
run eslint error
The text was updated successfully, but these errors were encountered: