ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Getting error on ionic serve

Open gopi2mohan opened this issue 10 years ago • 6 comments

I tryed to create an ionic2 project with command sudo ionic start firstIonic --v2 and i am getting error on give ionic serve command i don't have any idea about this please help me.

✗ Caught exception: Error: EACCES, mkdir '/home/gopi/pot/www/build' at Error (native)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

In my UI i am getting two error like GET http://localhost:8101/build/js/angular2-polyfills.js & GET http://localhost:8101/build/js/app.bundle.js

gopi2mohan avatar Apr 18 '16 06:04 gopi2mohan

Hello! Thanks for opening an issue with us! Is there a reason that you are running ionic start firstIonic --v2 with sudo ? You should not have to use sudo with ionic start. Are you on linux (ubuntu, debian etc) or OSX?

jgw96 avatar May 02 '16 17:05 jgw96

thanks jgw96 but without using sudo i am not able to create a project for ionic --v2

gopi2mohan avatar May 03 '16 04:05 gopi2mohan

@gopi2mohan It seems that you may have some permissions issues with your system, as you should not have to use sudo with the ionic cli. Are you running linux (ubuntu, debian, mint) or OSX?

jgw96 avatar May 09 '16 16:05 jgw96

maybe this error only sintaxe javascript error

Vagnerlg avatar Oct 07 '16 18:10 Vagnerlg

i donot no;

wwwlike avatar Oct 13 '16 09:10 wwwlike

Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.

Thank you for using Ionic!

ionitron-bot[bot] avatar Jul 12 '18 17:07 ionitron-bot[bot]