-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
yarn fails with Invalid URI #639
Comments
+1 same problem |
1 similar comment
+1 same problem |
error %27http://react: Invalid URI "%27http://react" |
I'm experiencing the same issue. This fails:
...but this works fine in yarn, as well as npm:
|
I will give this a shot. |
Created #1591 to fix this, pending approval. |
I agree with @joeheyming that the code should be using removePrefix, not removeSuffix I also get the same error with v0.16.1 |
@joeheyming @kittens I submitted a PR to change the code from removeSuffix to removePrefix |
I just installed yarn and ran it in my local npm repository.
It fails on file: uris:
yarn install v0.15.1
info No lockfile found.
[1/4] π Resolving packages...
β toposort@^1.0.0events.js:154
throw er; // Unhandled 'error' event
^
Error: Invalid URI "file:target/my-package.tgz"
at Request.init (/usr/local/lib/node_modules/yarnpkg/node_modules/request/request.js:275:31)
at new Request (/usr/local/lib/node_modules/yarnpkg/node_modules/request/request.js:129:8)
at request (/usr/local/lib/node_modules/yarnpkg/node_modules/request/index.js:55:10)
at RequestManager.execute (/usr/local/lib/node_modules/yarnpkg/lib/util/request-manager.js:302:17)
at RequestManager.shiftQueue (/usr/local/lib/node_modules/yarnpkg/lib/util/request-manager.js:328:10)
at /usr/local/lib/node_modules/yarnpkg/lib/util/request-manager.js:230:12
at Request.params.callback as _callback
at Request.self.callback (/usr/local/lib/node_modules/yarnpkg/node_modules/request/request.js:187:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
The text was updated successfully, but these errors were encountered: