angular / angular-seed

Seed project for angular apps.
http://angularjs.org/
MIT License
13.04k stars 6.95k forks source link

npm install error #449

Closed zackzergzeng closed 5 years ago

zackzergzeng commented 5 years ago

when I run 'npm install',cmd show:

angular-seed@0.0.0 copy-libs C:UsersAdministratorDesktopfrontDemoangular-seed cpx "node_modules/{angular,angular-,html5-boilerplate/dist}//" app/lib -C

Failed to copy: ENOENT: no such file or directory, chmod 'C:UsersAdministratorDesktopfrontDemoangular-seedapplibhtml5-boilerplatedistjsmain.js'. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! angular-seed@0.0.0 copy-libs: cpx "node_modules/{angular,angular-*,html5-boilerplate/dist}/*/" app/lib -C npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-seed@0.0.0 copy-libs script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I can not find the way install no error (i am a rookie.)

zackzergzeng commented 5 years ago

my computer's node and npm is the latest version

gkalpak commented 5 years ago

This sounds like a general support question. Please, use one of the appropriate support channels for these types of questions. GitHub issues are reserved for bug reports and feature requests.

Thx!

hammondan commented 5 years ago

@zackzergzeng did you ever resolve this? I'm seeing the same thing.

hammondan commented 5 years ago

I just resolved it by removing the post install script in the package.json. Not sure the ramifications of this, but it worked for my needs.

zackzergzeng commented 5 years ago

@hammondan I just delete cpx command in package.json and copy those documents to /lib by my self

zackzergzeng commented 5 years ago

I still don't know how to solve it