designcourse / angular-seo

A quick starter template for Angular SEO using Angular 4 with Universal & the Angular CLI
115 stars 40 forks source link

Trying to install a npm and got an error #15

Open deepakjan opened 7 years ago

deepakjan commented 7 years ago

I am trying to install the below npm https://www.npmjs.com/package/angular2-materialize

how ever when try to run I got the below error ENOTEMPTY: directory not empty, rmdir 'C:\Users\janap\work\angular-seo-master\angular-seo-maste r\dist\ngfactory\node_modules\@angular\common'

Attaching the debug log for reference thanks

15 error Windows_NT 10.0.14393 16 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "start" 17 error node v6.11.2 18 error npm v3.10.10 19 error code ELIFECYCLE 20 error ang4-seo@0.0.0 prestart: ng build --prod && ngc 20 error Exit status 1 21 error Failed at the ang4-seo@0.0.0 prestart script 'ng build --prod && ngc'. 21 error Make sure you have the latest version of node.js and npm installed. 21 error If you do, this is most likely a problem with the ang4-seo package, 21 error not with npm itself. 21 error Tell the author that this fails on your system: 21 error ng build --prod && ngc 21 error You can get information on how to open an issue for this project with: 21 error npm bugs ang4-seo 21 error Or if that isn't available, you can get their info via: 21 error npm owner ls ang4-seo 21 error There is likely additional logging output above. 22 verbose exit [ 1, true ]