PullRequest地址:#840
报错类型:Travis CI / Travis CI - Pull Request Build Fail
错误详情:
npm run lint
mip2-extensions-platform@1.0.0 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! mip2-extensions-platform@1.0.0 lint: eslint --ext .vue,.js .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the mip2-extensions-platform@1.0.0 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请求帮助。
PullRequest地址:#840
报错类型:Travis CI / Travis CI - Pull Request Build Fail
错误详情:
npm run lint
经过仔细检查,目前推测为ci环境中eslint未正确安装或运行不正常,或项目中package.json相关配置错误,但在官方文档中未找到相关说明,故提Issue请求帮助。