-
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
Support local file dependencies without file protocol #605
Comments
Try setting the protocol as |
Change
to:
And this should work. Wasn't aware that npm had these semantics for bare paths. |
It is possible to keep it compatible with npm? |
@montogeek Compatibility is absolutely a priority. I'll mark this issue as a bug so we can get this fixed for the next release. |
Adding the prefix |
bump. v0.19 series is released but there is no words from the team. cc @kittens |
yarn 1.0.1 still attempting to pull packages from remote even if they exist in the filesystem. |
@mikemaccana can you open a new issue and detail what exactly is broken with reproduction steps? |
@BYK Sorry I can't right now. The broken node Docker images (even when I trash /opt/node and /usr/local/bin node) won't properly upgrade to yarn 1.0.1 - it installs but global bin is broken. I've had to revert to 0.27.1 after wasting far too much time trying to fix it. Sorry. |
@mikemaccana just tagged 1.0.2 so may be it will help? |
|
Removing
|
I am having this issue on 1.13.0 |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
In a number of my projects I have a package.json with dependencies as such:
yarn
fails:If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Expected behavior is that running
yarn
installs the package into node_modules.Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: