{"action":"closed","issue":{"url":"https://api.github.com/repos/springernature/shunter/issues/226","repository_url":"https://api.github.com/repos/springernature/shunter","labels_url":"https://api.github.com/repos/springernature/shunter/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/springernature/shunter/issues/226/comments","events_url":"https://api.github.com/repos/springernature/shunter/issues/226/events","html_url":"https://github.com/springernature/shunter/issues/226","id":262017410,"number":226,"title":"4.10.6 won't start; package has missing `tests` folder","user":{"login":"vikschmi","id":20573514,"avatar_url":"https://avatars3.githubusercontent.com/u/20573514?v=4","gravatar_id":"","url":"https://api.github.com/users/vikschmi","html_url":"https://github.com/vikschmi","followers_url":"https://api.github.com/users/vikschmi/followers","following_url":"https://api.github.com/users/vikschmi/following{/other_user}","gists_url":"https://api.github.com/users/vikschmi/gists{/gist_id}","starred_url":"https://api.github.com/users/vikschmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikschmi/subscriptions","organizations_url":"https://api.github.com/users/vikschmi/orgs","repos_url":"https://api.github.com/users/vikschmi/repos","events_url":"https://api.github.com/users/vikschmi/events{/privacy}","received_events_url":"https://api.github.com/users/vikschmi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-02T08:46:16Z","updated_at":"2017-10-02T09:44:33Z","closed_at":"2017-10-02T09:44:33Z","author_association":"NONE","body":"[testHelper is exported by lib/shunter.js](https://github.com/springernature/shunter/blob/master/lib/shunter.js#L5) however the [4.10.6 package deployed on the registry](https://registry.npmjs.org/shunter/-/shunter-4.10.6.tgz) does not include the `tests` folder.\r\n\r\nThis causes deployments to CloudFoundry to fail with:\r\n```\r\n2017-10-02T07:42:35.03+0000 [APP/PROC/WEB/0] OUT > NODE_ENV=production node app -p $PORT --route-override=$BACKEND_APP --origin-override\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR module.js:471\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     throw err;\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     ^\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR Error: Cannot find module '../tests/helpers/template.js'\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Function.Module._resolveFilename (module.js:469:15)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Function.Module._load (module.js:417:25)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Module.require (module.js:497:17)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at require (internal/module.js:20:19)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Object.<anonymous> (/home/vcap/app/node_modules/shunter/lib/shunter.js:5:29)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Module._compile (module.js:570:32)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Object.Module._extensions..js (module.js:579:10)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Module.load (module.js:487:32)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at tryModuleLoad (module.js:446:12)\r\n   2017-10-02T07:42:35.14+0000 [APP/PROC/WEB/0] ERR     at Function.Module._load (module.js:438:3)\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Linux 4.4.0-64-generic\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! argv \"/home/vcap/app/.cloudfoundry/0/node/bin/node\" \"/home/vcap/app/.cloudfoundry/0/bin/npm\" \"run\" \"start:cf\"\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! node v6.11.2\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! npm  v3.10.10\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! code ELIFECYCLE\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! frontend-natcar@1.0.0 start:cf: `NODE_ENV=production node app -p $PORT --route-override=$BACKEND_APP --origin-override`\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Exit status 1\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! \r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Failed at the frontend-natcar@1.0.0 start:cf script 'NODE_ENV=production node app -p $PORT --route-override=$BACKEND_APP --origin-override'.\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! If you do, this is most likely a problem with the frontend-natcar package,\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! not with npm itself.\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Tell the author that this fails on your system:\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR!     NODE_ENV=production node app -p $PORT --route-override=$BACKEND_APP --origin-override\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! You can get information on how to open an issue for this project with:\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR!     npm bugs frontend-natcar\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Or if that isn't available, you can get their info via:\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR!     npm owner ls frontend-natcar\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! There is likely additional logging output above.\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR! Please include the following file with any support request:\r\n   2017-10-02T07:42:35.15+0000 [APP/PROC/WEB/0] ERR npm ERR!     /home/vcap/app/npm-debug.log\r\n```"}}
{"actor":{"display_login":"vikschmi"}}