Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on startup #48

Closed
bj-mcduck opened this issue Apr 4, 2015 · 6 comments
Closed

Crashes on startup #48

bj-mcduck opened this issue Apr 4, 2015 · 6 comments

Comments

@bj-mcduck
Copy link

I'm getting the following error when I start up ember cli with 0.9.0, and 0.8.1. I had been on ^0.3.1 before... not sure exactly which version. But it had been working.

version: 0.1.15
Missing template processor
Error: Missing template processor
  at module.exports.preprocessTemplates (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/preprocessors.js:83:11)
  at Class.Addon.compileTemplates (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/addon.js:356:12)
  at Class.Addon.compileAddon (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/addon.js:378:28)
  at Class.Addon.treeForAddon (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/addon.js:304:24)
  at Class._treeFor (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/addon.js:211:31)
  at Class.treeFor (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/addon.js:184:19)
  at EmberApp.<anonymous> (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:299:20)
  at Array.map (native)
  at EmberApp.addonTreesFor (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:297:30)
  at EmberApp._addonTree (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:589:38)
  at EmberApp._processedVendorTree (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:644:29)
  at EmberApp._processedExternalTree (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:674:21)
  at EmberApp.appAndDependencies (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:761:32)
  at EmberApp.javascript (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:814:34)
  at EmberApp.toArray (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:1115:10)
  at EmberApp.toTree (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/broccoli/ember-app.js:1137:30)
  at Object.<anonymous> (/Users/bmckay/Ember/mystics/Brocfile.js:20:22)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.loadBrocfile (/Users/bmckay/Ember/mystics/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:147:14)
  at Class.module.exports.Task.extend.setupBroccoliBuilder (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/builder.js:20:29)
  at Class.module.exports.Task.extend.init (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/builder.js:34:10)
  at new Class (/Users/bmckay/Ember/mystics/node_modules/ember-cli/node_modules/core-object/core-object.js:18:12)
  at Class.module.exports.Task.extend.run (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/tasks/serve.js:15:19)
  at Class.module.exports.Command.extend.run (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/commands/serve.js:47:18)
  at Class.<anonymous> (/Users/bmckay/Ember/mystics/node_modules/ember-cli/lib/models/command.js:131:17)
  at $$$internal$$tryCatch (/Users/bmckay/Ember/mystics/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:490:16)
  at $$$internal$$invokeCallback (/Users/bmckay/Ember/mystics/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:502:17)
  at $$$internal$$publish (/Users/bmckay/Ember/mystics/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:473:11)
  at Object.$$rsvp$asap$$flush [as _onImmediate] (/Users/bmckay/Ember/mystics/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1581:9)
  at processImmediate [as _immediateCallback] (timers.js:345:15)
@mike-north
Copy link
Owner

you may be missing a reference to ember-template-compiler.js

see: http://emberjs.com/blog/2015/02/05/compiling-templates-in-1-10-0.html

@sgasser
Copy link
Collaborator

sgasser commented Apr 7, 2015

You are welcome to reopen if you have any further questions.

@sgasser sgasser closed this as completed Apr 7, 2015
@bj-mcduck
Copy link
Author

I'm on at least Ember 1.10, but why would it only crash when using the newer version of ember-cli-materialize? If this is the problem, wouldn't I see it when not using the addon as well?

@sgasser
Copy link
Collaborator

sgasser commented Apr 7, 2015

Whats your ember-cli version?

Can you try it on a new app:

  1. ember new my-new-app
  2. ember install:addon ember-cli-materialize

Same result?

@sgasser sgasser reopened this Apr 7, 2015
@bj-mcduck
Copy link
Author

I will try this out soon.

@mike-north
Copy link
Owner

I cannot reproduce this issue. Please re-open if you can give us an example app or instructions to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants