Skip to content

atom保存时提示报错 eslint-plugin-html error: It seems that eslint is not loaded. #32

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

Open
openks opened this issue Aug 11, 2017 · 3 comments

Comments

@openks
Copy link
Owner

openks commented Aug 11, 2017

➜  mint-ui git:(dev) ✗ npm list eslint -g
/usr/local/lib
└── eslint@4.4.1

➜  mint-ui git:(dev) ✗ npm list eslint-plugin-vue -g
/usr/local/lib
└── eslint-plugin-vue@2.1.0

➜  mint-ui git:(dev) ✗ npm list eslint-plugin-html -g
/usr/local/lib
├── eslint-plugin-html@3.0.0
└─┬ eslint-plugin-vue@2.1.0
  └── eslint-plugin-html@3.1.1
@openks
Copy link
Owner Author

openks commented Aug 11, 2017

这个是跑eslint的时候报错Cannot find module 'babel-eslint' Error: Cannot find module 'babel-eslint'
全局安装babel-eslint之后依旧报题中错误,但是eslint已经明显正常启动了(通过在js文件里可以看出来)

@openks
Copy link
Owner Author

openks commented Aug 11, 2017

这里说是使用npm install eslint-plugin-vue@beta可以解决但是安装后问题依然存在

@openks
Copy link
Owner Author

openks commented Aug 24, 2017

这个很奇怪 自己又好了。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant