ember-cli: cannot read config file .ember-cli.js
ember <whatever>
/home/gaurav/.config/yarn/global/node_modules/yam/lib/utils/io-utils.js:62
throw "Cannot read config file: " + configPath;
^
Cannot read config file: /home/gaurav/dev/emberjs/something/.ember-cli.js
This likely is an issue with ember-cli@beta
Workaround: Step ember-cli back down to "~3.14.0"
Steps to reproduce?
ember new something -b @ember/octane-app-blueprint
cd something
ember <whatever>
@Gaurav0 - What is the global ember version on your system? Are the dependencies installed for the application?
I'm using 3.14.0 globally. Dependencies were installed.
I have another idea: I have a .ember-cli file (not .ember-cli.js file) in my home directory that looks like this:
{
"yarn": true
}
Could that make a difference?
I had the same issue using 3.14.0-beta.2
For me the workaround was running yarn install within the something folder.
Have you tried installing all the dependencies again?
FWIW, this was fixed in https://github.com/ember-cli/ember-cli/pull/8899