ultimate-seed icon indicating copy to clipboard operation
ultimate-seed copied to clipboard

npm postinstall failed in windows

Open spiritonly opened this issue 10 years ago • 2 comments

while windows do not have cp command, so "cp -n %s %s" failed when I execute "npm install".

spiritonly avatar Oct 17 '14 08:10 spiritonly

changing to cp -u works there are some modules related to angular that I needed to add manually with npm, and together with the change mentioned in an earlier post (changing bcrypt to bcrypt-nodejs) I was also able to get it up and running on Windows 8.1. Thank you pilwon!

neurobe avatar Jan 23 '15 03:01 neurobe

I don't understand how changing to cp -u works when the copy command on windows is called copy (not cp).

darraghjones avatar Sep 09 '15 18:09 darraghjones