Home Getting error while installing angular cli to create angular2 project
Reply: 2

Getting error while installing angular cli to create angular2 project

satya
1#
satya Published in 2018-01-13 07:33:06Z

I am trying to create the first angular2 project and did some installation process which are given below.

npm install -g angular-cli

ng new my-new-app

After running above command I am getting the following error.

2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/test'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/firefox'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/firefox'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/firefox'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/lampp/htdocs/angular2study/newapp/node_modules/.staging/selenium-webdriver-4a4eda8a/lib/firefox'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/subrajyoti/.npm/_logs/2018-01-13T06_57_18_354Z-debug.log

Package install failed, see above.

I need to fix this error.

halfer
2#
halfer Reply to 2018-01-18 17:21:55Z

It seems you need to install selenium-webdriver run the following command

npm install selenium-webdriver --save
Aref Zamani
3#
Aref Zamani Reply to 2018-01-13 07:53:59Z

try npm install selenium-webdriver and then use

ng serve 
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310039 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO