-
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
Incompatibility with npm5 when run yarn add file:FolderName #4212
Comments
why yarn need npm? if i do npm install -g [email protected] to downgrand from npm5 is ok? it's not yarn independent from npm? |
Looks like this was an unannounced change: http://codetunnel.io/npm-5-changes-to-npm-link/ I'm not sure if changing the |
@webmobiles I think your comment is misplaced? |
Yeah we decided against implementing this change at the time we started working on the |
The NPM issue: npm/npm#15900 |
This makes monorepos nicer to work with when using npm. With npm 4 and yarn a change to a local dependency means you have to reinstall. You can link but it's nice to get the same behaviour out of the box with all your dependencies. |
@BYK when i install "yarn global create-react-native-app" and npm5 installed does not work to create projects, then i downgrade to v4: but when i create the project:
yarn is called, yarn works underhood npm version ? that is my question , about yarn and npm5 or npm4 together, thanks |
We do not have plans for implementing this for now so closing the issue. @webmobiles I cannot figure out what the issue might be from your comment but it doesn't sound related to this issue so feel free to file a new issue with more details about how to reproduce it. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Incompatibility with npm 5.
consider the following package.json (reduced for brevity)
with npm 5 the lib "my_local_lib" is installed as a symlink
but yarn install it as copy of the folder LocalLib
If the current behavior is a bug, please provide the steps to reproduce.
yarn add FolderX
yarn install
What is the expected behavior?
create a symlink of FolderX
Please mention your node.js, yarn and operating system version.
node v8.4.0
yarn v0.27.5
macOS 10.12.6
The text was updated successfully, but these errors were encountered: