Skip to content
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

组件自动校验CI报错:eslint not found #843

Open
Mrchensama opened this issue Mar 6, 2020 · 1 comment
Open

组件自动校验CI报错:eslint not found #843

Mrchensama opened this issue Mar 6, 2020 · 1 comment

Comments

@Mrchensama
Copy link
Contributor

PullRequest地址:#840
报错类型:Travis CI / Travis CI - Pull Request Build Fail
错误详情:

npm run lint

[email protected] lint /home/travis/build/mipengine/mip2-extensions-platform
eslint --ext .vue,.js .
sh: 1: eslint: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] lint: eslint --ext .vue,.js .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/travis/.npm/_logs/2020-03-06T09_16_24_949Z-debug.log
The command "npm run lint" exited with 1.

经过仔细检查,目前推测为ci环境中eslint未正确安装或运行不正常,或项目中package.json相关配置错误,但在官方文档中未找到相关说明,故提Issue请求帮助。

@Mrchensama
Copy link
Contributor Author

@MiyaPan @clark-t 请求帮助,谢谢

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