Kylart / KawAnime

Desktop app for anime fans
MIT License
671 stars 50 forks source link

KawAnime can not start #3

Closed mlpo closed 7 years ago

mlpo commented 7 years ago

It seems that a missing dependency problem is preventing KawAnime from starting.

$ npm start
> KawAnime@0.2.0 start /home/user/KawAnime
> cross-env NODE_ENV=production electron .

sh: cross-env : commande introuvable
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! KawAnime@0.2.0 start: `cross-env NODE_ENV=production electron .`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the KawAnime@0.2.0 start script 'cross-env NODE_ENV=production electron .'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the KawAnime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=production electron .
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs KawAnime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls KawAnime
npm ERR! There is likely additional logging output above.

npm install cross-env seems to solve the problem.