{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/tutorials/issues/45","repository_url":"https://api.github.com/repos/meteor/tutorials","labels_url":"https://api.github.com/repos/meteor/tutorials/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/meteor/tutorials/issues/45/comments","events_url":"https://api.github.com/repos/meteor/tutorials/issues/45/events","html_url":"https://github.com/meteor/tutorials/issues/45","id":145308851,"number":45,"title":"(STDERR) Error: Cannot find module './body.html'","user":{"login":"AjkP","id":6978905,"avatar_url":"https://avatars.githubusercontent.com/u/6978905?v=3","gravatar_id":"","url":"https://api.github.com/users/AjkP","html_url":"https://github.com/AjkP","followers_url":"https://api.github.com/users/AjkP/followers","following_url":"https://api.github.com/users/AjkP/following{/other_user}","gists_url":"https://api.github.com/users/AjkP/gists{/gist_id}","starred_url":"https://api.github.com/users/AjkP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjkP/subscriptions","organizations_url":"https://api.github.com/users/AjkP/orgs","repos_url":"https://api.github.com/users/AjkP/repos","events_url":"https://api.github.com/users/AjkP/events{/privacy}","received_events_url":"https://api.github.com/users/AjkP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-01T23:26:59Z","updated_at":"2016-04-05T21:49:49Z","closed_at":null,"body":"This happens after the second step of the general tutorial (i.e. using Blaze). Note that I am running this on a Mac.\r\n\r\nI have everything set up as the tutorial asks.\r\n\r\nbody.js gets imported fine from main.js\r\n**client/main.js**\r\n```\r\nimport { Meteor } from 'meteor/meteor';\r\n\r\n// Import Local Modules\r\nimport '../imports/ui/body.js';\r\n\r\nMeteor.startup(() => {\r\n  // code to run on server at startup\r\n});\r\n```\r\n\r\n**imports/ui/body.js**\r\n```\r\nimport { Template } from 'meteor/templating';\r\n \r\nimport './body.html';\r\n \r\nTemplate.body.helpers({\r\n  tasks: [\r\n    { text: 'This is task 1' },\r\n    { text: 'This is task 2' },\r\n    { text: 'This is task 3' },\r\n  ],\r\n});\r\n```\r\n\r\n**imports/ui/body.html**\r\n```\r\n<body>\r\n  <div class=\"container\">\r\n    <header>\r\n      <h1>Todo List</h1>\r\n    </header>\r\n \r\n    <ul>\r\n      {{#each tasks}}\r\n        {{> task}}\r\n      {{/each}}\r\n    </ul>\r\n  </div>\r\n</body>\r\n \r\n<template name=\"task\">\r\n  <li>{{text}}</li>\r\n</template>\r\n```"},"comment":{"url":"https://api.github.com/repos/meteor/tutorials/issues/comments/205998540","html_url":"https://github.com/meteor/tutorials/issues/45#issuecomment-205998540","issue_url":"https://api.github.com/repos/meteor/tutorials/issues/45","id":205998540,"user":{"login":"AjkP","id":6978905,"avatar_url":"https://avatars.githubusercontent.com/u/6978905?v=3","gravatar_id":"","url":"https://api.github.com/users/AjkP","html_url":"https://github.com/AjkP","followers_url":"https://api.github.com/users/AjkP/followers","following_url":"https://api.github.com/users/AjkP/following{/other_user}","gists_url":"https://api.github.com/users/AjkP/gists{/gist_id}","starred_url":"https://api.github.com/users/AjkP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjkP/subscriptions","organizations_url":"https://api.github.com/users/AjkP/orgs","repos_url":"https://api.github.com/users/AjkP/repos","events_url":"https://api.github.com/users/AjkP/events{/privacy}","received_events_url":"https://api.github.com/users/AjkP/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T21:49:49Z","updated_at":"2016-04-05T21:49:49Z","body":"@distalx in my original comment I mention:\r\n> imports/ui/body.html\r\n\r\nAlso the fact that body.js is imported fine doesn't make sense.\r\n\r\n@benjamn This is my .meteor/packages:\r\n```\r\n# Meteor packages used by this project, one per line.\r\n# Check this file (and the other files in this directory) into your repository.\r\n#\r\n# 'meteor add' and 'meteor remove' will edit this file for you,\r\n# but you can also edit it by hand.\r\n\r\nmeteor-base             # Packages every Meteor app needs to have\r\nmobile-experience       # Packages for a great mobile UX\r\nmongo                   # The database Meteor supports right now\r\nblaze-html-templates    # Compile .html files into Meteor Blaze views\r\nreactive-var            # Reactive variable for tracker\r\njquery                  # Helpful client-side library\r\ntracker                 # Meteor's client-side reactive programming library\r\n\r\nstandard-minifier-css   # CSS minifier run for production mode\r\nstandard-minifier-js    # JS minifier run for production mode\r\nes5-shim                # ECMAScript 5 compatibility for older browsers.\r\necmascript              # Enable ECMAScript2015+ syntax in app code\r\n\r\nautopublish             # Publish all data to the clients (for prototyping)\r\ninsecure                # Allow all DB writes from clients (for prototyping)\r\n```\r\n\r\nblaze-html-templates is there unfortunately.\r\n\r\nHere is the full STDERR:\r\n```\r\n=> Exited with code: 8\r\nW20160405-14:47:11.662(-7)? (STDERR)\r\nW20160405-14:47:11.663(-7)? (STDERR) /Users/myuser/.meteor/packages/meteor-tool/.1.3.0_3.1kequoz++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267\r\nW20160405-14:47:11.663(-7)? (STDERR)            \t\t\t\tthrow(ex);\r\nW20160405-14:47:11.663(-7)? (STDERR)            \t\t\t\t      ^\r\nW20160405-14:47:11.663(-7)? (STDERR) Error: Cannot find module './body.html'\r\nW20160405-14:47:11.664(-7)? (STDERR)     at require (packages/modules-runtime.js:95:19)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at meteorInstall.imports.ui.body.js (imports/ui/body.js:3:1)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:158:9)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at require (packages/modules-runtime.js:92:16)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at meteorInstall.server.main.js (server/main.js:4:1)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:158:9)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at require (packages/modules-runtime.js:92:16)\r\nW20160405-14:47:11.664(-7)? (STDERR)     at server/main.js:6:1\r\nW20160405-14:47:11.664(-7)? (STDERR)     at /project/myproject/chixam-meteor/.meteor/local/build/programs/server/boot.js:283:10\r\nW20160405-14:47:11.664(-7)? (STDERR)     at Array.forEach (native)\r\n```"}}