{"action":"created","issue":{"url":"https://api.github.com/repos/coddingtonbear/inthe.am/issues/198","labels_url":"https://api.github.com/repos/coddingtonbear/inthe.am/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/coddingtonbear/inthe.am/issues/198/comments","events_url":"https://api.github.com/repos/coddingtonbear/inthe.am/issues/198/events","html_url":"https://github.com/coddingtonbear/inthe.am/issues/198","id":110511903,"number":198,"title":"vagrant shell provisioning errors","user":{"login":"ebayer","id":2903013,"avatar_url":"https://avatars.githubusercontent.com/u/2903013?v=3","gravatar_id":"","url":"https://api.github.com/users/ebayer","html_url":"https://github.com/ebayer","followers_url":"https://api.github.com/users/ebayer/followers","following_url":"https://api.github.com/users/ebayer/following{/other_user}","gists_url":"https://api.github.com/users/ebayer/gists{/gist_id}","starred_url":"https://api.github.com/users/ebayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebayer/subscriptions","organizations_url":"https://api.github.com/users/ebayer/orgs","repos_url":"https://api.github.com/users/ebayer/repos","events_url":"https://api.github.com/users/ebayer/events{/privacy}","received_events_url":"https://api.github.com/users/ebayer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T18:16:55Z","updated_at":"2015-10-08T19:39:55Z","closed_at":null,"body":"init_environment.sh has a couple of annoyances and some errors:\r\n\r\nI do not know how to resolve these, I will try to install the latest version for ember-cli, but I do not know how it will affect your project.\r\n* npm throws \"unmet dependency\" warnings about debug when installing ember-cli (upgrading ember-cli could help according to https://github.com/npm/npm/issues/8241)\r\n\r\nExample:\r\n```\r\n==> default: npm\r\n==> default:\r\n==> default: WARN\r\n==> default:\r\n==> default: unmet dependency\r\n==> default:  /usr/lib/node_modules/ember-cli/node_modules/express requires debug@'~2.1.1' but will load\r\n```\r\nFull log: https://gist.github.com/1cbfca3c2a8e1677000c.git\r\n\r\n* ember throws an error when building\r\n```\r\n==> default: version: 0.1.7\r\n==> default: Could not find watchman, falling back to NodeWatcher for file system events\r\n==> default: Building\r\n==> default: Building...\r\n==> default: Cannot find module 'ember-cli/lib/broccoli/ember-app'\r\n==> default: Error: Cannot find module 'ember-cli/lib/broccoli/ember-app'\r\n==> default:     at Function.Module._resolveFilename (module.js:338:15)\r\n==> default:     at Function.Module._load (module.js:280:25)\r\n==> default:     at Module.require (module.js:364:17)\r\n==> default:     at require (module.js:380:17)\r\n==> default:     at Object.<anonymous> (/var/www/twweb/Brocfile.js:3:16)\r\n==> default:     at Module._compile (module.js:456:26)\r\n==> default:     at Object.Module._extensions..js (module.js:474:10)\r\n==> default:     at Module.load (module.js:356:32)\r\n==> default:     at Function.Module._load (module.js:312:12)\r\n==> default:     at Module.require (module.js:364:17)\r\n==> default:     at require (module.js:380:17)\r\n```\r\n\r\n* python managepy run throws error:\r\n```\r\n(twweb)vagrant@precise32:/var/www/twweb$ python manage.py run\r\n Note: It will take a few seconds for both necessary\r\n      servers to start.  Once you see the message\r\n      message 'Build Successful', both servers are up.\r\n\r\nValidating models...\r\n\r\nversion: 0.1.7\r\n0 errors found\r\nOctober 08, 2015 - 17:54:29\r\nDjango version 1.6.1, using settings 'inthe_am.settings'\r\nStarting development server at http://0.0.0.0:8001/\r\nQuit the server with CONTROL-C.\r\nCould not find watchman, falling back to NodeWatcher for file system events\r\nCannot find module '/var/www/twweb/node_modules/broccoli-ember-hbs-template-compiler'\r\nError: Cannot find module '/var/www/twweb/node_modules/broccoli-ember-hbs-template-compiler'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at requireLocal (/usr/lib/node_modules/ember-cli/lib/utilities/require-local.js:6:10)\r\n    at TemplatePlugin.toTree (/usr/lib/node_modules/ember-cli/lib/preprocessors/template-plugin.js:16:10)\r\n    at /usr/lib/node_modules/ember-cli/lib/preprocessors.js:104:26\r\n    at Array.forEach (native)\r\n    at processPlugins (/usr/lib/node_modules/ember-cli/lib/preprocessors.js:103:11)\r\n    at module.exports.preprocessTemplates (/usr/lib/node_modules/ember-cli/lib/preprocessors.js:86:10)\r\n```\r\n\r\n* npm throws \"No README data\" warnings\r\nExample:\r\n```\r\n==> default: npm\r\n==> default:\r\n==> default: WARN\r\n==> default:\r\n==> default: package.json\r\n==> default:  broccoli-asset-rev@2.2.0 No README data\r\n```\r\n\r\nFull log: https://gist.github.com/1cbfca3c2a8e1677000c.git\r\n\r\nI have attached a patch for these following two annoyances, I did not want to create a pull request for something so small:\r\n* in inthe_am/settings.py line 65, MIDDLEWARE_CLASSES should be list, not tuple\r\n* turn off wget progress bar\r\n\r\nPatch: https://gist.github.com/222a0dc6cbfcaed52f28.git\r\n"},"comment":{"url":"https://api.github.com/repos/coddingtonbear/inthe.am/issues/comments/146665683","html_url":"https://github.com/coddingtonbear/inthe.am/issues/198#issuecomment-146665683","issue_url":"https://api.github.com/repos/coddingtonbear/inthe.am/issues/198","id":146665683,"user":{"login":"coddingtonbear","id":527661,"avatar_url":"https://avatars.githubusercontent.com/u/527661?v=3","gravatar_id":"","url":"https://api.github.com/users/coddingtonbear","html_url":"https://github.com/coddingtonbear","followers_url":"https://api.github.com/users/coddingtonbear/followers","following_url":"https://api.github.com/users/coddingtonbear/following{/other_user}","gists_url":"https://api.github.com/users/coddingtonbear/gists{/gist_id}","starred_url":"https://api.github.com/users/coddingtonbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coddingtonbear/subscriptions","organizations_url":"https://api.github.com/users/coddingtonbear/orgs","repos_url":"https://api.github.com/users/coddingtonbear/repos","events_url":"https://api.github.com/users/coddingtonbear/events{/privacy}","received_events_url":"https://api.github.com/users/coddingtonbear/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T19:39:55Z","updated_at":"2015-10-08T19:39:55Z","body":"Thanks for helping out!  Unfortunately, though, the gists you've posted are private, so I can't see what's in them.\r\n\r\nRe: `npm` messages -- those are being reported for modules we require (not modules we write), so if those messages bother you, you'll have better luck contacting the people/teams managing those projects directly.  You can look up the project info for NPM packages on NPM's website -- in `broccoli-asset-rev`'s case, that's here: https://www.npmjs.com/package/broccoli-asset-rev.  Good luck!\r\n\r\nAlso -- your patch; could you push up those changes and file a pull request?  If you've never done one before, there are a bunch of tutorials on the internet including this one: https://yangsu.github.io/pull-request-tutorial/ (note that you'll be following the 'Pull Request from a forked repository' path)."}}