{"action":"created","issue":{"url":"https://api.github.com/repos/cloudant/nodejs-cloudant/issues/236","repository_url":"https://api.github.com/repos/cloudant/nodejs-cloudant","labels_url":"https://api.github.com/repos/cloudant/nodejs-cloudant/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/cloudant/nodejs-cloudant/issues/236/comments","events_url":"https://api.github.com/repos/cloudant/nodejs-cloudant/issues/236/events","html_url":"https://github.com/cloudant/nodejs-cloudant/issues/236","id":270609371,"number":236,"title":"Picking up 1.10.0 and seeing a failure during npm shrinkwrap","user":{"login":"smhdfdl","id":3264182,"avatar_url":"https://avatars2.githubusercontent.com/u/3264182?v=4","gravatar_id":"","url":"https://api.github.com/users/smhdfdl","html_url":"https://github.com/smhdfdl","followers_url":"https://api.github.com/users/smhdfdl/followers","following_url":"https://api.github.com/users/smhdfdl/following{/other_user}","gists_url":"https://api.github.com/users/smhdfdl/gists{/gist_id}","starred_url":"https://api.github.com/users/smhdfdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smhdfdl/subscriptions","organizations_url":"https://api.github.com/users/smhdfdl/orgs","repos_url":"https://api.github.com/users/smhdfdl/repos","events_url":"https://api.github.com/users/smhdfdl/events{/privacy}","received_events_url":"https://api.github.com/users/smhdfdl/received_events","type":"User","site_admin":false},"labels":[{"id":120200627,"url":"https://api.github.com/repos/cloudant/nodejs-cloudant/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"ricellis","id":10698320,"avatar_url":"https://avatars0.githubusercontent.com/u/10698320?v=4","gravatar_id":"","url":"https://api.github.com/users/ricellis","html_url":"https://github.com/ricellis","followers_url":"https://api.github.com/users/ricellis/followers","following_url":"https://api.github.com/users/ricellis/following{/other_user}","gists_url":"https://api.github.com/users/ricellis/gists{/gist_id}","starred_url":"https://api.github.com/users/ricellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricellis/subscriptions","organizations_url":"https://api.github.com/users/ricellis/orgs","repos_url":"https://api.github.com/users/ricellis/repos","events_url":"https://api.github.com/users/ricellis/events{/privacy}","received_events_url":"https://api.github.com/users/ricellis/received_events","type":"User","site_admin":false},"assignees":[{"login":"ricellis","id":10698320,"avatar_url":"https://avatars0.githubusercontent.com/u/10698320?v=4","gravatar_id":"","url":"https://api.github.com/users/ricellis","html_url":"https://github.com/ricellis","followers_url":"https://api.github.com/users/ricellis/followers","following_url":"https://api.github.com/users/ricellis/following{/other_user}","gists_url":"https://api.github.com/users/ricellis/gists{/gist_id}","starred_url":"https://api.github.com/users/ricellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricellis/subscriptions","organizations_url":"https://api.github.com/users/ricellis/orgs","repos_url":"https://api.github.com/users/ricellis/repos","events_url":"https://api.github.com/users/ricellis/events{/privacy}","received_events_url":"https://api.github.com/users/ricellis/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cloudant/nodejs-cloudant/milestones/12","html_url":"https://github.com/cloudant/nodejs-cloudant/milestone/12","labels_url":"https://api.github.com/repos/cloudant/nodejs-cloudant/milestones/12/labels","id":2780575,"number":12,"title":"1.next","description":"","creator":{"login":"ricellis","id":10698320,"avatar_url":"https://avatars0.githubusercontent.com/u/10698320?v=4","gravatar_id":"","url":"https://api.github.com/users/ricellis","html_url":"https://github.com/ricellis","followers_url":"https://api.github.com/users/ricellis/followers","following_url":"https://api.github.com/users/ricellis/following{/other_user}","gists_url":"https://api.github.com/users/ricellis/gists{/gist_id}","starred_url":"https://api.github.com/users/ricellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricellis/subscriptions","organizations_url":"https://api.github.com/users/ricellis/orgs","repos_url":"https://api.github.com/users/ricellis/repos","events_url":"https://api.github.com/users/ricellis/events{/privacy}","received_events_url":"https://api.github.com/users/ricellis/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2017-09-20T13:48:29Z","updated_at":"2017-11-02T11:02:27Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-02T10:51:21Z","updated_at":"2017-11-02T11:04:49Z","closed_at":null,"author_association":"NONE","body":"IBM App Connect has many micro-services that use Cloudant. As of yesterday our builds started  picking up 1.10.0  (the package.json typically contains ^1.8.0). Our `npm install` and `npm test` steps work fine, but our `npm shrinkwrap` step is now failing.\r\n\r\n```\r\n22:49:52 + npm shrinkwrap\r\n... \r\n22:50:02 npm ERR! Linux 4.4.0-96-generic\r\n22:50:02 npm ERR! argv \"/opt/node-v6.11.0-linux-x64/bin/node\" \"/opt/node-v6.11.0-linux-x64/bin/npm\" \"shrinkwrap\"\r\n22:50:02 npm ERR! node v6.11.0\r\n22:50:02 npm ERR! npm  v3.10.10\r\n22:50:02 npm ERR! Problems were encountered\r\n22:50:02 npm ERR! Please correct and try again.\r\n22:50:02 npm ERR! missing: eslint@^4.4.1, required by cloudant-follow@0.16.0\r\n22:50:02 npm ERR! \r\n22:50:02 npm ERR! If you need help, you may report this error at:\r\n22:50:02 npm ERR!     <https://github.com/npm/npm/issues>\r\n22:50:02 \r\n22:50:02 npm ERR! Please include the following file with any support request:\r\n22:50:02 npm ERR!     /home/jenkins/workspace/firefly-ui_build_and_deploy_to_bluemix/firefly-ui/npm-debug.log\r\n22:50:02 Build step 'Execute shell' marked build as failure\r\n```\r\nLooking at what is installed between 1.9.0 and 1.10.0 ...\r\nThis is 1.9.0...\r\n```\r\n└─┬ cloudant@1.9.0 \r\n  └─┬ cloudant-nano@6.6.0 \r\n    └─┬ cloudant-follow@0.13.0 \r\n      └─┬ request@2.81.0 \r\n        ├── aws-sign2@0.6.0 \r\n        ├── form-data@2.1.4 \r\n        ├─┬ har-validator@4.2.1 \r\n        │ ├── ajv@4.11.8 \r\n        │ └── har-schema@1.0.5 \r\n        ├─┬ hawk@3.1.3 \r\n        │ ├── boom@2.10.1 \r\n        │ ├── cryptiles@2.0.5 \r\n        │ ├── hoek@2.16.3 \r\n        │ └── sntp@1.0.9 \r\n        ├─┬ http-signature@1.1.1 \r\n        │ └── assert-plus@0.2.0 \r\n        ├── performance-now@0.2.0 \r\n        └── qs@6.4.0 \r\n```\r\n... and this is 1.10.0\r\n```\r\n├─┬ cloudant@1.10.0 \r\n│ ├── async@2.1.2 \r\n│ ├─┬ cloudant-nano@6.7.0 \r\n│ │ ├─┬ cloudant-follow@0.16.0 \r\n│ │ │ ├── browser-request@0.3.3 \r\n│ │ │ ├── debug@3.1.0 \r\n│ │ │ ├── eslint-config-semistandard@11.0.0 \r\n│ │ │ ├── eslint-config-standard@10.2.1 \r\n│ │ │ ├── eslint-plugin-header@1.2.0 \r\n│ │ │ ├─┬ eslint-plugin-import@2.8.0 \r\n│ │ │ │ ├── builtin-modules@1.1.1 \r\n│ │ │ │ ├── contains-path@0.1.0 \r\n│ │ │ │ ├── doctrine@1.5.0 \r\n│ │ │ │ ├── eslint-import-resolver-node@0.3.1 \r\n│ │ │ │ ├─┬ eslint-module-utils@2.1.1 \r\n│ │ │ │ │ └─┬ pkg-dir@1.0.0 \r\n│ │ │ │ │   └─┬ find-up@1.1.2 \r\n│ │ │ │ │     └── path-exists@2.1.0 \r\n│ │ │ │ ├─┬ has@1.0.1 \r\n│ │ │ │ │ └── function-bind@1.1.1 \r\n│ │ │ │ ├── lodash.cond@4.5.2 \r\n│ │ │ │ └─┬ read-pkg-up@2.0.0 \r\n│ │ │ │   ├─┬ find-up@2.1.0 \r\n│ │ │ │   │ └─┬ locate-path@2.0.0 \r\n│ │ │ │   │   ├─┬ p-locate@2.0.0 \r\n│ │ │ │   │   │ └── p-limit@1.1.0 \r\n│ │ │ │   │   └── path-exists@3.0.0 \r\n│ │ │ │   └─┬ read-pkg@2.0.0 \r\n│ │ │ │     ├─┬ load-json-file@2.0.0 \r\n│ │ │ │     │ └─┬ parse-json@2.2.0 \r\n│ │ │ │     │   └─┬ error-ex@1.3.1 \r\n│ │ │ │     │     └── is-arrayish@0.2.1 \r\n│ │ │ │     ├─┬ normalize-package-data@2.4.0 \r\n│ │ │ │     │ ├── hosted-git-info@2.5.0 \r\n│ │ │ │     │ ├── is-builtin-module@1.0.0 \r\n│ │ │ │     │ └─┬ validate-npm-package-license@3.0.1 \r\n│ │ │ │     │   ├─┬ spdx-correct@1.0.2 \r\n│ │ │ │     │   │ └── spdx-license-ids@1.2.2 \r\n│ │ │ │     │   └── spdx-expression-parse@1.0.4 \r\n│ │ │ │     └── path-type@2.0.0 \r\n│ │ │ ├─┬ eslint-plugin-node@5.2.1 \r\n│ │ │ │ └── semver@5.3.0 \r\n│ │ │ ├── eslint-plugin-promise@3.6.0 \r\n│ │ │ ├─┬ eslint-plugin-react@7.4.0 \r\n│ │ │ │ ├─┬ jsx-ast-utils@2.0.1 \r\n│ │ │ │ │ └─┬ array-includes@3.0.3 \r\n│ │ │ │ │   ├── define-properties@1.1.2 \r\n│ │ │ │ │   └─┬ es-abstract@1.9.0 \r\n│ │ │ │ │     ├── es-to-primitive@1.1.1 \r\n│ │ │ │ │     ├── is-callable@1.1.3 \r\n│ │ │ │ │     └── is-regex@1.0.4 \r\n│ │ │ │ └─┬ prop-types@15.6.0 \r\n│ │ │ │   ├─┬ fbjs@0.8.16 \r\n│ │ │ │   │ ├── core-js@1.2.7 \r\n│ │ │ │   │ ├─┬ isomorphic-fetch@2.2.1 \r\n│ │ │ │   │ │ ├─┬ node-fetch@1.7.3 \r\n│ │ │ │   │ │ │ ├── encoding@0.1.12 \r\n│ │ │ │   │ │ │ └── is-stream@1.1.0 \r\n│ │ │ │   │ │ └── whatwg-fetch@2.0.3 \r\n│ │ │ │   │ ├─┬ promise@7.3.1 \r\n│ │ │ │   │ │ └── asap@2.0.6 \r\n│ │ │ │   │ ├── setimmediate@1.0.5 \r\n│ │ │ │   │ └── ua-parser-js@0.7.17 \r\n│ │ │ │   └── loose-envify@1.3.1 \r\n│ │ │ └── eslint-plugin-standard@3.0.1 \r\n│ │ ├── debug@3.1.0 \r\n│ │ └── errs@0.3.2 \r\n│ ├── debug@3.1.0 \r\n│ └─┬ request@2.83.0 \r\n│   ├── aws-sign2@0.7.0 \r\n│   ├── aws4@1.6.0 \r\n│   ├── caseless@0.12.0 \r\n│   ├─┬ combined-stream@1.0.5 \r\n│   │ └── delayed-stream@1.0.0 \r\n│   ├── forever-agent@0.6.1 \r\n│   ├─┬ form-data@2.3.1 \r\n│   │ └── asynckit@0.4.0 \r\n│   ├─┬ har-validator@5.0.3 \r\n│   │ ├─┬ ajv@5.3.0 \r\n│   │ │ ├── fast-deep-equal@1.0.0 \r\n│   │ │ ├── fast-json-stable-stringify@2.0.0 \r\n│   │ │ └── json-schema-traverse@0.3.1 \r\n│   │ └── har-schema@2.0.0 \r\n│   ├─┬ hawk@6.0.2 \r\n│   │ ├── boom@4.3.1 \r\n│   │ ├─┬ cryptiles@3.1.2 \r\n│   │ │ └── boom@5.2.0 \r\n│   │ ├── hoek@4.2.0 \r\n│   │ └── sntp@2.1.0 \r\n│   ├─┬ http-signature@1.2.0 \r\n│   │ ├── assert-plus@1.0.0 \r\n│   │ ├─┬ jsprim@1.4.1 \r\n│   │ │ ├── extsprintf@1.3.0 \r\n│   │ │ ├── json-schema@0.2.3 \r\n│   │ │ └── verror@1.10.0 \r\n│   │ └─┬ sshpk@1.13.1 \r\n│   │   ├── asn1@0.2.3 \r\n│   │   ├── bcrypt-pbkdf@1.0.1 \r\n│   │   ├── dashdash@1.14.1 \r\n│   │   ├── ecc-jsbn@0.1.1 \r\n│   │   ├── getpass@0.1.7 \r\n│   │   ├── jsbn@0.1.1 \r\n│   │   └── tweetnacl@0.14.5 \r\n│   ├── is-typedarray@1.0.0 \r\n│   ├── isstream@0.1.2 \r\n│   ├── oauth-sign@0.8.2 \r\n│   ├── performance-now@2.1.0 \r\n│   ├── stringstream@0.0.5 \r\n│   ├─┬ tough-cookie@2.3.3 \r\n│   │ └── punycode@1.4.1 \r\n│   └── tunnel-agent@0.6.0 \r\n```\r\nHave you accidentally pulled in your development dependencies?  The error message refers to `eslint` which for all our services is listed as a devDependency, and excluded from our `npm shrinkwrap`.\r\n"},"comment":{"url":"https://api.github.com/repos/cloudant/nodejs-cloudant/issues/comments/341388090","html_url":"https://github.com/cloudant/nodejs-cloudant/issues/236#issuecomment-341388090","issue_url":"https://api.github.com/repos/cloudant/nodejs-cloudant/issues/236","id":341388090,"user":{"login":"ricellis","id":10698320,"avatar_url":"https://avatars0.githubusercontent.com/u/10698320?v=4","gravatar_id":"","url":"https://api.github.com/users/ricellis","html_url":"https://github.com/ricellis","followers_url":"https://api.github.com/users/ricellis/followers","following_url":"https://api.github.com/users/ricellis/following{/other_user}","gists_url":"https://api.github.com/users/ricellis/gists{/gist_id}","starred_url":"https://api.github.com/users/ricellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricellis/subscriptions","organizations_url":"https://api.github.com/users/ricellis/orgs","repos_url":"https://api.github.com/users/ricellis/repos","events_url":"https://api.github.com/users/ricellis/events{/privacy}","received_events_url":"https://api.github.com/users/ricellis/received_events","type":"User","site_admin":false},"created_at":"2017-11-02T11:04:49Z","updated_at":"2017-11-02T11:04:49Z","author_association":"CONTRIBUTOR","body":"Thanks for reporting this, yes, it is an error with a dev dependency in one of our dependencies (cloudant-follow). We'll fix it and get a new release out."}}
{"actor":{"display_login":"ricellis"}}