-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
ember-cli module directory emptied of files #141
Comments
@kategengler - Agreed. Lets use global bower, and error if not present and |
FWIW, I've been fighting with this issue today as well. I believe that it only happens when using |
I don't think it's that easy. Even though we removed bower as a requirement in our docs, most of the scenarios in the addon default blueprint use bower to resolve ember. (Newer) add-ons would start to get errors in CI if we switched to global bower. I suppose we could mitigate this by adding back a global install of bower in our default .travis.yml. |
for CLI itself we can't do that since we use |
I got this error while running tests with ember try:
I am on |
Argh, just hit this a second time and spent another few hours debugging 😭 |
Exact steps to recreate here: Using npm > 5:
|
When using a
yarn.lock
but without bower as a dependency inpackage.json
, thenode_modules/ember-cli/
is emptied of files.package.json
: https://github.com/Vestorly/torii/pull/382/commits/43d9737b617a5a555b5d325e23fe7ad23961997fCurrently when
yarn
is detected ember-try attempts to use it for most operations. An exception is that if bower is not a dependency,npm
is used to install that dependency. I presume there is some negative interaction between the two systems that causes the files to be deleted.The text was updated successfully, but these errors were encountered: