> > Just to add, if I create a new project, I get exactly the same problem. > Interestingly the command tries to rename files it has already created in > the new projects node_modules folder eg > npm ERR! Error: EPERM: operation not permitted, rename 'C:\Temp\angularjs_example\angular2\heroes2\node_modules\.staging\rxjs-67f86bc0' -> 'C:\Temp\angularjs_example\angular2\heroes2\node_modules\rxjs' npm ERR! at destStatted (C:\Users\jnorris\AppData\Roaming\npm\node_modules\npm\lib\install\action\finalize.js:25:7) npm ERR! at FSReqWrap.oncomplete (fs.js:123:15)
So it is moving a temp rxjs folder from .staging to node_modules. And either does not have permission to delete or write. I have upgraded angular2 before and had troubles then with existing projects but could create new projects. Now it will not even create new projects. And this is windows so permissions do not really come into it. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
