-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to resolve dependencies like "@angular/common" #399
Comments
Ok i changed configuration, because it was not using proxy setting but now there is an error. http --> 404, req: 'GET http://registry.npmjs.org/%40angular%2Fcommon', bytes: 0/75 |
Ok as i see it this problem was fixed 13.7.2015, but last version published to npm was 7.6.2015 that means fix is not present in version that can be downloaded using npm. If anyone has this problem, workaround for this is: var encode = function(thing) {
return encodeURIComponent(thing).replace(/^%40/, '@');
}; Option 2: set npm scoped registry to npmjs.org |
Do we know when/if this update will be pushed to npm? (By the way thanks for the option 1 fix) |
Awesome, thanks for the fix. +1 for: is it going to be pushed to npm? |
+1 for: next release with this fix. |
I wouldn't count on a fix.. nothing has been published for 11 months. This project looks dead to me. Verdaccio is a fork of sinopia, but doesn't have anything published on npm yet. |
The master branch works fine if you put a proxy for "@*" in the On Fri, May 20, 2016 at 2:52 AM, themauveavenger [email protected]
Thanks & Regards, |
Hi,
Does anyone have some more suggestions? Cheers |
Hi,
in default config.yaml there is no proxy setting. |
Hi, thanks for your help. Now it works. Cheers |
Have the same issue. Waiting for fix ) |
Had to patch my local docker instance using the replace trick above. Docker let's you patch individual files so I simply |
+1 |
@kukjevov @MeirionHughes please see #376 |
Could get it working by following this blogpost. |
We have the same problem with sonatype nexus as proxy repository.
|
@cniweb , I met the same problem as you that 'with sonatype nexus as proxy repository', did you get that resolved yet ? |
@jaylu Yes, I use Nexus 3 now! |
You might need to check http://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache |
use https://github.com/verdaccio/verdaccio and nenux solve my problem |
@decrypted thanks, this solve my issue |
I had the same issue with Nexus 3.6.2, reverse-proxied by apache. @decrypted solved it with your suggestion:
Thanks! |
Hi,
Angular2 RC was released today and they have changed names of their packages so it looks like this.
"@angular/common": "2.0.0-rc.0",
"@angular/compiler": "2.0.0-rc.0",
"@angular/core": "2.0.0-rc.0",
"@angular/http": "2.0.0-rc.0",
"@angular/platform-browser": "2.0.0-rc.0",
"@angular/platform-browser-dynamic": "2.0.0-rc.0",
"@angular/router-deprecated": "2.0.0-rc.0",
"@angular/upgrade": "2.0.0-rc.0"
When using standard npm registry it works ok, but if using sinopia it will fail because of following error.
http <-- 404, user: username, req: 'GET /@angular%2fcommon', error: no such package available
That means sinopia can`t be used with angular2 RC.
Thank you for your help :)
The text was updated successfully, but these errors were encountered: