NPM run eslint 报错
vagrant@homestead:~/Code/larabbs-weapp$ npm run eslint
> larabbs-weapp@0.0.2 eslint /home/vagrant/Code/larabbs-weapp
> eslint --fix --ext .js,.wpy src
sh: 1: eslint: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! larabbs-weapp@0.0.2 eslint: `eslint --fix --ext .js,.wpy src`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the larabbs-weapp@0.0.2 eslint script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-12-12T23_28_11_853Z-debug.log
请问怎么解决?谢谢
推荐文章: