I am new to angular CLI. I have worked in angular 1. I just angular cli using command npm install -g @angular/cli
as given on there site quick start guide I also created my first project as per instruction give. But now when i try to run it using ng serve --open
i am getting this error.
This is the error.
`** NG Live Development Server is listening on localhost:4200, open
your browser on http://localhost:4200 **
10% building modules 3/3 modules 0 activeinternal/child_process.js:325
throw errnoException(err, 'spawn');
^
Error: spawn EACCES
at _errnoException (util.js:1041:11)
at ChildProcess.spawn (internal/child_process.js:325:11)
at Object.exports.spawn (child_process.js:493:9)
at module.exports (/var/www/html/my-app/node_modules/opn/index.js:74:26)
at Server.server.listen (/var/www/html/my-app/node_modules/@angular/cli/tasks/serve.js:213:21)
at Object.onceWrapper (events.js:314:30)
at emitNone (events.js:105:13)
at Server.emit (events.js:207:7)
at emitListeningNT (net.js:1349:10)
at _combinedTickCallback (internal/process/next_tick.js:135:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
`
I tried by reinstalling angular and recreating the project but still getting error. Is there anything else i need on ubuntu. As i tried installing same project on mac there it worked fine.
angular
orangularJS
???? They are completely seperate yet both are tagged.