ember-cli module directory emptied of files
See original GitHub issueWhen using a yarn.lock
but without bower as a dependency in package.json
, the node_modules/ember-cli/
is emptied of files.
- Failed build with error: https://circleci.com/gh/Vestorly/torii/614
- Successful build: https://circleci.com/gh/Vestorly/torii/615
- Only change to fix was adding bower to
package.json
: https://github.com/Vestorly/torii/pull/382/commits/43d9737b617a5a555b5d325e23fe7ad23961997f
Currently 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.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
empty "server" folder in project root broke build #9029 - GitHub
I'm doing "step-by-step" app and rolling back commits from created server middleware I fased such issue (folder exists, because git don't ...
Read more >Ember-CLI doesn't create any directories/files
Hey guys, I came across an odd problem with ember-cli. Running the usual ember new <project-name> or ember addon <addon-name> runs ...
Read more >Ember.TEMPLATES is empty (ember-cli-htmlbars)
Ember.TEMPLATES is empty because the CLI uses modules for everything, including the templates. The templates are stored as modules prefixed ...
Read more >Modify a host app's files during addon installation - EmberMap
This creates a file called blueprints/ember-wait-for-test-helper/index.js which exports an empty object: /*jshint node:true*/ module.exports ...
Read more >Step 2: Create a new Ember app using Ember CLI
Creating a new Ember app will include initializing a new Git project. Let's start out in a ~/projects directory, where all our projcts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FWIW, I’ve been fighting with this issue today as well. I believe that it only happens when using
npm@5
(in my case downgrading tonpm@4
resolved the errorcannot find module 'ember-cli'
).@kategengler - Agreed. Lets use global bower, and error if not present and
bower
key in config is present.