I am a newbie to ember. Running ember server command gives me "frontend/app.js: undefined is not a function" error. I have ran npm install and bower install.
version: 0.2.1
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://ift.tt/1OvndU1 for more info.
Livereload server on port 35729
Serving on http://localhost:4200/
File: frontend/app.js
frontend/app.js: undefined is not a function
TypeError: frontend/app.js: undefined is not a function
at Object.isValidIdentifier (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/types/validators.js:176:44)
at TraversalPath.Property (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/transformation/transformers/es3/property-literals.js:16:58)
at TraversalPath.call (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/path.js:127:26)
at TraversalPath.visit (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/path.js:142:10)
at TraversalContext.visitNode (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/context.js:34:22)
at TraversalContext.visit (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/context.js:51:28)
at Function.traverse.node (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/index.js:44:17)
at TraversalPath.visit (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/path.js:159:18)
at TraversalContext.visitNode (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/context.js:34:22)
at TraversalContext.visit (/frontend/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/traversal/context.js:51:28)
Aucun commentaire:
Enregistrer un commentaire