Skip to content
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

Handle case where node_modules are symlinked #702

Merged
merged 1 commit into from
Mar 1, 2021

Conversation

thoov
Copy link
Collaborator

@thoov thoov commented Mar 1, 2021

When moving packages the code handled the case where individual node modules were symlinked but did not handle the cases when all of node_modules (or sub directories) were symlinks themselves. This happens when ember-cli's test suite creates a cache of node_modules that it symlinks into individual test case tmp directories and tries to invoke builds from there.

Copy link
Collaborator

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for working through this! This definitely seems like the right solution here.

@thoov thoov merged commit eda697f into embroider-build:master Mar 1, 2021
thoov added a commit to thoov/ember-cli that referenced this pull request Mar 8, 2021
This includes a fix for when a project's node_modules are symlinked
which is the case for how ember-cli's test suite works:
embroider-build/embroider#702
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants