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

Unable to install #243

Closed
sly7-7 opened this issue Jun 7, 2018 · 4 comments
Closed

Unable to install #243

sly7-7 opened this issue Jun 7, 2018 · 4 comments

Comments

@sly7-7
Copy link

sly7-7 commented Jun 7, 2018

During ember install ember-decorators, when installing babel-eslint package, this error is thrown:

"ENOENT: no such file or directory, copyfile '/Users/sma01/Library/Caches/Yarn/v1/npm-@babel/generator-7.0.0-beta.44-c7e67b9b5284afcf69b309b50d7d37f3e5033d42/README.md' ->'/Users/sma01/work/git/gitlab/erdil/esatis/frontend/node_modules/@babel/generator/README.md'"
@pzuraq
Copy link
Contributor

pzuraq commented Jun 7, 2018

It looks like this is a failure within the package manager, we don’t do any manual copying within node_modules.

@sly7-7 sly7-7 closed this as completed Jun 7, 2018
@rtablada
Copy link

rtablada commented Jul 6, 2018

I've run into this as well. I'm not sure quite where the issue is and haven't tried reliably recreating this.

But I suspect that the pattern to recreate looks something like:

ember new foo --yarn
ember install ember-cli-typescript
ember install ember-decorators

I'm not sure if the error is in decorators, CLI, or yarn.

I'll try to investigate later this weekend though because I've run into it on two projects today... 😢

My work around was to remove the yarn.lock file, remove node_modules, install with npm, run ember g ember-decorators, then either keep using npm for the project or remove all node_modules and rebuild with yarn.

@pzuraq
Copy link
Contributor

pzuraq commented Jul 9, 2018

I'm wondering if it may be trying to install both addons at once and is running yarn multiple times, I know yarn has issues with parallelization in general and running it twice in the same project could be an issue

@pzuraq
Copy link
Contributor

pzuraq commented Jul 25, 2018

I merged a change to run the installs sequentially instead of in parallel. Let me know if that appears to work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants