-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Adding a --no-bin-links option #1394
Comments
As a side note, you're going to have a hellish time running It may have changed since my last time using jest but I know it was this slow IOPS problem that drove me to use a native linux machine for development instead of a VM from windows. |
I'm not entirely sure what you're asking. Can you provide a more detailed feature request? What would this flag do, compared to how we're doing things now? |
I guess that actually you are creating some links while running the commands, but it can break when there are shared folders between 2 different systems (as for Vagrant users). To prevent that, NPM added an option to prevent those Symlinks. As written in their documentation:
I don't know if it is understandable, but when I tried to create a project, I had many conflicts with symlinks that prevented me from using your amazing tool. |
Oh, I see. So you'd like |
This should be an easy first PR. |
I don't know if it's only needed in |
If Yarn supports it then in both. Check if Yarn supports it by inspecting its source 😉 |
I actually tried to add "--no-bin-links" to this line, however I ended up with this:
|
File a bug with npm? |
@gaearon This is a common bug with npm with When you have dependencies that have cycles in the graph the symlinks tend to solve the problem but when you tell npm it can't symlink it blows up recursing forever until the npm call stack is exhausted. The desire for the My first guess would be that there's a dependency cycle happening somewhere in one of the many dependencies of |
Thanks for explaining. |
Here they seem to suggest that it's a problem with npm 3 and/or Node >= 6. At the moment I can't verify it, i'll give it a look tonight |
I'd like to take this up! |
There is another option that worked pretty well for me, on Vagrant
Execute CMD with admin rights. |
I'm going to free this issue back up, @shubheksha let us know if you'd still like to work on it! |
@Timer If you can brief me about what is the final expected result. I can take up this! |
Any news on this ? It is quite crucial to use CRA on Vagrant boxes |
Feel free to submit a PR @stilllife00; and sorry about never responding @anilreddykatta! See expectation here: #1394 (comment) |
congrats im prou of a fellow franklin
…On Wed, Feb 14, 2018 at 3:43 PM, Tyler D Franklin ***@***.***> wrote:
@Timer <https://github.com/timer> @gaearon <https://github.com/gaearon>
I'd like to give this issue a try if still available. This will be my
first contribution; I'm trying to get into open source.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1394 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AT6QPqpYwLyouqxBxX8fK-Hkz4pDTHuhks5tU2GcgaJpZM4LkkHA>
.
|
@tdfranklin Go for it! |
@iansu On my other project, I would just run In the contributing.md file, I see you say to run |
That is probably the best way to test your changes. You can commit your changes and then, if you need to make additional changes, create more commits. It's fine to make multiple commits. We squash them all into a single commit when we merge them anyway. |
Ok, great, will do! Thank you for the help! |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Another PR pending for this at #7243 |
Hi !
Is there a way to add a NPM-like --no-bin-links option.
It is used by VM users who share folders between a host and a VM.
Example:
Vagrant
The text was updated successfully, but these errors were encountered: