lundi 1 juin 2015

Ember Template Compiler

I am new to ember.js and javascript frontend MVCs.

I am running into:

Cannot call 'compile' without the template compiler loaded http://ift.tt/1COSVXa

So I added:

app.import('bower_components/ember/ember-template-compiler.js'); 

to the top level of my project directory in the Brocfile.js.

ember build
Future versions of Ember CLI will not support v0.10.33. Please update to Node 0.12 or io.js.
version: 0.2.5

A new version of ember-cli is available (0.2.6). To install it, type ember update.
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://ift.tt/1OvndU1 for more info.
Building..
controllers/application.js: line 1, col 16, 'Ember' is not defined.

1 error

===== 1 JSHint Error

Warning: ignoring input sourcemap for bower_components/ember/ember-template-compiler.js because ENOENT, no such file or directory 'proj/tmp/tree_merger-tmp_dest_dir-http://ift.tt/1I2hMe2'

Is there a separate build step that I am missing to create the template compiler map as the last warning fails create the necessary source map?




Aucun commentaire:

Enregistrer un commentaire