{"action":"opened","issue":{"url":"https://api.github.com/repos/mockito/mockito/issues/1019","repository_url":"https://api.github.com/repos/mockito/mockito","labels_url":"https://api.github.com/repos/mockito/mockito/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/mockito/mockito/issues/1019/comments","events_url":"https://api.github.com/repos/mockito/mockito/issues/1019/events","html_url":"https://github.com/mockito/mockito/issues/1019","id":218977713,"number":1019,"title":"Clean Mockito build produces npm related stack trace in the build log","user":{"login":"szczepiq","id":24743,"avatar_url":"https://avatars1.githubusercontent.com/u/24743?v=3","gravatar_id":"","url":"https://api.github.com/users/szczepiq","html_url":"https://github.com/szczepiq","followers_url":"https://api.github.com/users/szczepiq/followers","following_url":"https://api.github.com/users/szczepiq/following{/other_user}","gists_url":"https://api.github.com/users/szczepiq/gists{/gist_id}","starred_url":"https://api.github.com/users/szczepiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szczepiq/subscriptions","organizations_url":"https://api.github.com/users/szczepiq/orgs","repos_url":"https://api.github.com/users/szczepiq/repos","events_url":"https://api.github.com/users/szczepiq/events{/privacy}","received_events_url":"https://api.github.com/users/szczepiq/received_events","type":"User","site_admin":false},"labels":[{"id":220933456,"url":"https://api.github.com/repos/mockito/mockito/labels/continuous%20integration","name":"continuous integration","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-03T15:48:16Z","updated_at":"2017-04-03T15:48:16Z","closed_at":null,"body":"I noticed that clean and working Mockito builds produce npm related warnings ([full log](https://travis-ci.org/mockito/mockito/jobs/217498617#L332)):\r\n\r\n```\r\n:testng:test\r\n7 warnings\r\nInstalling sw-precache globally\r\n:testng:check\r\n:testng:build\r\nnpm WARN engine deep-extend@0.4.1: wanted: {\"node\":\">=0.12.0\",\"iojs\":\">=1.0.0\"} (current: {\"node\":\"0.10.36\",\"npm\":\"1.4.28\"})\r\nnpm WARN engine deep-extend@0.4.1: wanted: {\"node\":\">=0.12.0\",\"iojs\":\">=1.0.0\"} (current: {\"node\":\"0.10.36\",\"npm\":\"1.4.28\"})\r\n/home/travis/.nvm/v0.10.36/bin/sw-precache -> /home/travis/.nvm/v0.10.36/lib/node_modules/sw-precache/cli.js\r\nsw-precache@5.1.0 /home/travis/.nvm/v0.10.36/lib/node_modules/sw-precache\r\n├── pretty-bytes@4.0.2\r\n├── lodash.defaults@4.2.0\r\n├── lodash.template@4.4.0 (lodash._reinterpolate@3.0.0, lodash.templatesettings@4.1.0)\r\n├── mkdirp@0.5.1 (minimist@0.0.8)\r\n├── dom-urls@1.1.0 (urijs@1.18.10)\r\n├── glob@7.1.1 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0, minimatch@3.0.3)\r\n├── es6-promise@4.1.0\r\n├── sw-toolbox@3.6.0 (serviceworker-cache-polyfill@4.0.0, path-to-regexp@1.7.0)\r\n├── meow@3.7.0 (map-obj@1.0.1, trim-newlines@1.0.0, decamelize@1.2.0, object-assign@4.1.1, minimist@1.2.0, camelcase-keys@2.1.0, loud-rejection@1.6.0, redent@1.0.0, normalize-package-data@2.3.6, read-pkg-up@1.0.1)\r\n└── update-notifier@1.0.3 (is-npm@1.0.0, lazy-req@1.1.0, xdg-basedir@2.0.0, semver-diff@2.1.0, configstore@2.1.0, chalk@1.1.3, boxen@0.6.0, latest-version@2.0.0)\r\n/home/travis/.nvm/v0.10.36/lib/node_modules/sw-precache/node_modules/pretty-bytes/index.js:2\r\nconst UNITS = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\r\n^^^^^\r\nSyntaxError: Use of const in strict mode.\r\n    at Module._compile (module.js:439:25)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/home/travis/.nvm/v0.10.36/lib/node_modules/sw-precache/lib/sw-precache.js:27:19)\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\nNPM is not installed. Aborting generating service-worker\r\n:javadocJar\r\n```"}}
{"actor":{"display_login":"szczepiq"}}