Olá
Estou desenvolvendo uma aplicação em Ionic2. Eu uso Windows e meu companheiro usa ubuntu. No Windows funciona, pois foi onde criei, porem ao subir aplicação com ionic serve --lab
no ubuntu está apresentando o seguinte erro:
> ionic-hello-world@0.0.0 ionic:serve /home/fabricio/htdocs/caronelas
> ionic-app-scripts serve "--v2" "--lab" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
sh: 1: ionic-app-scripts: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! ionic-hello-world@0.0.0 ionic:serve: ionic-app-scripts serve "--v2" "--lab" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the ionic-hello-world@0.0.0 ionic:serve 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/fabricio/.npm/_logs/2017-10-17T01_47_44_375Z-debug.log
There was an error serving your Ionic application: There was an error with the spawned command: serve
Alguém tem alguma ideia de como resolver?