{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3240","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3240/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3240/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3240/events","html_url":"https://github.com/ember-cli/ember-cli/issues/3240","id":57161857,"number":3240,"title":"Misleading \"Missing template processor\"","user":{"login":"gonvaled","id":224267,"avatar_url":"https://avatars.githubusercontent.com/u/224267?v=3","gravatar_id":"","url":"https://api.github.com/users/gonvaled","html_url":"https://github.com/gonvaled","followers_url":"https://api.github.com/users/gonvaled/followers","following_url":"https://api.github.com/users/gonvaled/following{/other_user}","gists_url":"https://api.github.com/users/gonvaled/gists{/gist_id}","starred_url":"https://api.github.com/users/gonvaled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonvaled/subscriptions","organizations_url":"https://api.github.com/users/gonvaled/orgs","repos_url":"https://api.github.com/users/gonvaled/repos","events_url":"https://api.github.com/users/gonvaled/events{/privacy}","received_events_url":"https://api.github.com/users/gonvaled/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-10T11:21:55Z","updated_at":"2015-02-19T00:22:15Z","closed_at":null,"body":"I am trying out ember-cli with ember@1.9.1 which needs handlebars@2. Unfortunately the broccoli-ember-hbs-template-compiler@1.7.1-alpha, which uses also handlebars@2, is not pushed to npmjs, so I had to install manually from source. To avoid conflicts, I removed the requirement from my application's package.json for broccoli-ember-hbs-template-compiler, since I am not managing it with npm.\r\n\r\nSo, the package is installed in node_modules, but not listed in package.json. In this situation, ember-cli warns with:\r\n\r\n```\r\n DEBUG=express*,ember-cli:watcher* ember server --live-reload-port 35730 --port 4200\r\nversion: 0.1.12\r\n  ember-cli:watcher detecting watchman +0ms\r\n  ember-cli:watcher detected watchman: 3.0.0 +28ms\r\n  ember-cli:watcher watchman 3.0.0 does satisfy: ^3.0.0 +9ms\r\nMissing template processor\r\nError: Missing template processor\r\n    at module.exports.preprocessTemplates (/home/user1/myapp/node_modules/ember-cli/lib/preprocessors.js:83:11)\r\n    at EmberApp._processedTemplatesTree (/home/user1/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:523:10)\r\n    at EmberApp.appAndDependencies (/home/user1/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:698:24)\r\n    at EmberApp.javascript (/home/user1/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:758:34)\r\n    at EmberApp.toArray (/home/user1/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:1041:10)\r\n    at EmberApp.toTree (/home/user1/myapp/node_modules/ember-cli/lib/broccoli/ember-app.js:1063:30)\r\n    at Object.<anonymous> (/home/user1/myapp/Brocfile.js:149:34)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n```\r\n\r\nTo solve the issue I had to enter again the broccoli-ember-hbs-template-compiler dependency in package.json.\r\n\r\nIt is misleading, because the module is already present in node_modules, and I was **sure** it was installed (since I had done it manually), so it took me a while to understand what was going on."},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/74977799","html_url":"https://github.com/ember-cli/ember-cli/issues/3240#issuecomment-74977799","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3240","id":74977799,"user":{"login":"slindberg","id":421506,"avatar_url":"https://avatars.githubusercontent.com/u/421506?v=3","gravatar_id":"","url":"https://api.github.com/users/slindberg","html_url":"https://github.com/slindberg","followers_url":"https://api.github.com/users/slindberg/followers","following_url":"https://api.github.com/users/slindberg/following{/other_user}","gists_url":"https://api.github.com/users/slindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/slindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slindberg/subscriptions","organizations_url":"https://api.github.com/users/slindberg/orgs","repos_url":"https://api.github.com/users/slindberg/repos","events_url":"https://api.github.com/users/slindberg/events{/privacy}","received_events_url":"https://api.github.com/users/slindberg/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T00:22:15Z","updated_at":"2015-02-19T00:22:15Z","body":"@alvincrespo Your example app/addon is the exact use case I'm trying to solve with my app: an addon that includes templates for its components.\r\n\r\n> But it looks like we need to use the hooks in order to manually use the template preprocessor\r\n\r\nWhat do you mean by this? Are you saying that the addon must implement the `setupPreprocessorRegistry` hook and do something like what the [`ember-cli-htmlbars` addon does](https://github.com/ember-cli/ember-cli-htmlbars/blob/v0.7.4/ember-addon-main.js#L24-L33)?"}}