jeudi 4 juin 2015

ember build - Get error "controllers/application-compiled.js: line 1, col 1, Use the function form of "use strict"."

Novice in Ember JS. Using:

➜  rarwe git:(master) ✗ ember -v
version: 0.2.7
node: 0.12.4
npm: 2.11.0

I'm trying to run ember build, but I get the errors:

➜  rarwe git:(master) ✗ ember build
version: 0.2.7
Building.
controllers/application-compiled.js: line 1, col 1, Use the function form of "use strict".
controllers/application-compiled.js: line 3, col 23, 'exports' is not defined.
controllers/application-compiled.js: line 9, col 14, 'require' is not defined.
controllers/application-compiled.js: line 44, col 1, 'exports' is not defined.
controllers/application-compiled.js: line 46, col 1, 'module' is not defined.
controllers/application-compiled.js: line 46, col 18, 'exports' is not defined.

6 errors

===== 1 JSHint Error

Built project successfully. Stored in "dist/".

Any help will be appreciated.

Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire