You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ember cli 2.5.0
After creating a brand new Ember project and issuing a simple scaffolding command such as:
ember generate scaffold foobar:string age:number
I get the following error:
File: app2/bower_components/Faker/build/build/faker.js
The Broccoli Plugin: [Babel] failed with:
TypeError: app2/bower_components/Faker/build/build/faker.js: name.toLowerCase is not a function
at check (/home/joao/ember_projects/app2/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/transformation/transformers/validation/react.js:20:22)
at NodePath.CallExpression (/home/joao/ember_projects/app2/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/transformation/transformers/validation/react.js:40:7)
The text was updated successfully, but these errors were encountered:
After further investigation it seems that this is causing for some commands (ember new, ember install) trying to install bower components inside of the ember /app folder, even when such folder is not mentioned in the .bowerrc file
Deleting such folder and calling bower install directly seems to solve this issue.
Thanks for trying, as I said it should only happen if you have a bower_components folder inside your app, not sure what is causing ember to create this folder for me
I'm using ember cli 2.5.0
After creating a brand new Ember project and issuing a simple scaffolding command such as:
ember generate scaffold foobar:string age:number
I get the following error:
The text was updated successfully, but these errors were encountered: