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

启动项目报错 #1

Closed
ldwstyle opened this issue Aug 3, 2018 · 2 comments
Closed

启动项目报错 #1

ldwstyle opened this issue Aug 3, 2018 · 2 comments

Comments

@ldwstyle
Copy link

ldwstyle commented Aug 3, 2018

npm install 之后,npm run precommit,然后报错,错误信息如下:

npm ERR! missing script: lint

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lvdongwei\AppData\Roaming\npm-cache_logs\2018-08-03T08_54_21_109Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hoc-auth@1.0.0 precommit: npm run lint
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hoc-auth@1.0.0 precommit 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! C:\Users\lvdongwei\AppData\Roaming\npm-cache_logs\2018-08-03T08_54_21_380Z-debug.log

请问还需要安装其他的依赖吗?

@amibug
Copy link
Owner

amibug commented Aug 24, 2018

package.json中没有写lint命令导致, fixed

@amibug amibug closed this as completed Aug 24, 2018
@ldwstyle
Copy link
Author

那请问如何启动项目呢?

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

2 participants