Update to rc5 #344
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The rc5 introduces the concept of module (@NgModule).
npm ERR! peerinvalid Peer ng2-file-upload@1.0.3 wants @angular/common@^2.0.0-rc.1
@eques I looks like you messed up something in your
package.json. Can you please show it?I am getting the same error. Can you please update ng2-file-upload to use common-rc5?
im using rc5 just fine with this
@eques @rashmidixit The dependency declaration includes a caret so it will accept 2.0.0-rc.5. I have a project that combines ng2-file-upload 1.0.3 with rc5 without any peer dependency errors. So does bautistaaa. Looking at the history of package.json it seems like there isn't a release of ng2-file-upload since the ng2 beta that lacked the minor release tolerant dependency declaration. This error would seem to indicate that angular is actually missing. You're npm installed, right? How is angular 2 declared in your package.json? What is in node_modules/@angular? Are you seeing any other dependency errors?
But, the rc5 update is probably a thing. Not because of this error message, but because there have been so many breaking changes and deprecations between rc5 and rc1 AND rc6 is supposed to break all the rc5 deprecations.
Will have a look and try to make a pull request this week with RC.6 update.