{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9095","labels_url":"https://api.github.com/repos/npm/npm/issues/9095/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9095/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9095/events","html_url":"https://github.com/npm/npm/issues/9095","id":97841954,"number":9095,"title":"npm 3.20, npm update error","user":{"login":"robertbaker","id":907301,"avatar_url":"https://avatars.githubusercontent.com/u/907301?v=3","gravatar_id":"","url":"https://api.github.com/users/robertbaker","html_url":"https://github.com/robertbaker","followers_url":"https://api.github.com/users/robertbaker/followers","following_url":"https://api.github.com/users/robertbaker/following{/other_user}","gists_url":"https://api.github.com/users/robertbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/robertbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertbaker/subscriptions","organizations_url":"https://api.github.com/users/robertbaker/orgs","repos_url":"https://api.github.com/users/robertbaker/repos","events_url":"https://api.github.com/users/robertbaker/events{/privacy}","received_events_url":"https://api.github.com/users/robertbaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/ready","name":"ready","color":"ffbb00"}],"state":"closed","locked":false,"assignee":{"login":"iarna","id":983798,"avatar_url":"https://avatars.githubusercontent.com/u/983798?v=3","gravatar_id":"","url":"https://api.github.com/users/iarna","html_url":"https://github.com/iarna","followers_url":"https://api.github.com/users/iarna/followers","following_url":"https://api.github.com/users/iarna/following{/other_user}","gists_url":"https://api.github.com/users/iarna/gists{/gist_id}","starred_url":"https://api.github.com/users/iarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarna/subscriptions","organizations_url":"https://api.github.com/users/iarna/orgs","repos_url":"https://api.github.com/users/iarna/repos","events_url":"https://api.github.com/users/iarna/events{/privacy}","received_events_url":"https://api.github.com/users/iarna/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/npm/npm/milestones/39","html_url":"https://github.com/npm/npm/milestones/3.3.3","labels_url":"https://api.github.com/repos/npm/npm/milestones/39/labels","id":1248763,"number":39,"title":"3.3.3","description":"","creator":{"login":"iarna","id":983798,"avatar_url":"https://avatars.githubusercontent.com/u/983798?v=3","gravatar_id":"","url":"https://api.github.com/users/iarna","html_url":"https://github.com/iarna","followers_url":"https://api.github.com/users/iarna/followers","following_url":"https://api.github.com/users/iarna/following{/other_user}","gists_url":"https://api.github.com/users/iarna/gists{/gist_id}","starred_url":"https://api.github.com/users/iarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarna/subscriptions","organizations_url":"https://api.github.com/users/iarna/orgs","repos_url":"https://api.github.com/users/iarna/repos","events_url":"https://api.github.com/users/iarna/events{/privacy}","received_events_url":"https://api.github.com/users/iarna/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":19,"state":"closed","created_at":"2015-08-10T18:28:32Z","updated_at":"2015-09-11T23:52:59Z","due_on":"2015-09-10T00:00:00Z","closed_at":"2015-09-11T23:52:38Z"},"comments":5,"created_at":"2015-07-29T02:18:35Z","updated_at":"2015-11-20T13:54:03Z","closed_at":"2015-08-28T02:29:18Z","body":"Seems to happen to cordova also.\r\n```\r\n$ npm uninstall gulp\r\n\r\n# install Gulp 4 CLI tools globally from 4.0 GitHub branch\r\n$ npm install gulpjs/gulp-cli#4.0 -g\r\n\r\n# install Gulp 4 into your project\r\n$ npm install gulpjs/gulp.git#4.0 --save-dev\r\n```\r\n\r\nWhen I run npm update I get this:\r\n\r\n```\r\nd:\\git\\layout>npm update && jspm update\r\nnpm ERR! Windows_NT 6.3.9600\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"update\"\r\nnpm ERR! node v0.12.7\r\nnpm ERR! npm  v3.2.0\r\nnpm ERR! code ENOSELF\r\n\r\nnpm ERR! Refusing to install cordova-android as a dependency of itself\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     d:\\git\\layout\\npm-debug.log\r\n```\r\ndebug log\r\nhttp://pastebin.com/raw.php?i=HBAMT69c"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/158408357","html_url":"https://github.com/npm/npm/issues/9095#issuecomment-158408357","issue_url":"https://api.github.com/repos/npm/npm/issues/9095","id":158408357,"user":{"login":"romeovs","id":1250185,"avatar_url":"https://avatars.githubusercontent.com/u/1250185?v=3","gravatar_id":"","url":"https://api.github.com/users/romeovs","html_url":"https://github.com/romeovs","followers_url":"https://api.github.com/users/romeovs/followers","following_url":"https://api.github.com/users/romeovs/following{/other_user}","gists_url":"https://api.github.com/users/romeovs/gists{/gist_id}","starred_url":"https://api.github.com/users/romeovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romeovs/subscriptions","organizations_url":"https://api.github.com/users/romeovs/orgs","repos_url":"https://api.github.com/users/romeovs/repos","events_url":"https://api.github.com/users/romeovs/events{/privacy}","received_events_url":"https://api.github.com/users/romeovs/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T13:54:03Z","updated_at":"2015-11-20T13:54:03Z","body":"@robertbaker Same problem arises:\r\n```\r\n$ npm -v\r\n3.4.1\r\n$ npm i trine\r\nnpm ERR! Darwin 15.0.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"i\" \"trine\"\r\nnpm ERR! node v5.0.0\r\nnpm ERR! npm  v3.4.1\r\nnpm ERR! code ENOSELF\r\n\r\nnpm ERR! Refusing to install trine as a dependency of itself\r\nnpm ERR! \r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/romeovs/web/examples/trine/npm-debug.log\r\n```\r\n\r\nThe strange thing is that `trine` isn't even a dependency (according to it's [`package.son`](https://github.com/jussi-kalliokoski/trine/blob/master/package.json)) of `trine`. \r\n\r\nHere's the `nom-debug.log`:\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'i', 'trine' ]\r\n2 info using npm@3.4.1\r\n3 info using node@v5.0.0\r\n4 silly loadCurrentTree Starting\r\n5 silly install loadCurrentTree\r\n6 silly install readLocalPackageData\r\n7 silly fetchPackageMetaData trine\r\n8 silly fetchNamedPackageData trine\r\n9 silly mapToRegistry name trine\r\n10 silly mapToRegistry using default registry\r\n11 silly mapToRegistry registry https://registry.npmjs.org/\r\n12 silly mapToRegistry uri https://registry.npmjs.org/trine\r\n13 verbose request uri https://registry.npmjs.org/trine\r\n14 verbose request no auth needed\r\n15 info attempt registry request try #1 at 2:53:27 PM\r\n16 verbose request id 042787ec2e79ae91\r\n17 http request GET https://registry.npmjs.org/trine\r\n18 http 200 https://registry.npmjs.org/trine\r\n19 verbose headers { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',\r\n19 verbose headers   etag: '\"9K4CE70Q13XZ5GNZ0479OZQAZ\"',\r\n19 verbose headers   'content-type': 'application/json',\r\n19 verbose headers   'cache-control': 'max-age=60',\r\n19 verbose headers   'content-length': '11010',\r\n19 verbose headers   'accept-ranges': 'bytes',\r\n19 verbose headers   date: 'Fri, 20 Nov 2015 13:53:28 GMT',\r\n19 verbose headers   via: '1.1 varnish',\r\n19 verbose headers   age: '0',\r\n19 verbose headers   connection: 'keep-alive',\r\n19 verbose headers   'x-served-by': 'cache-ams4127-AMS',\r\n19 verbose headers   'x-cache': 'HIT',\r\n19 verbose headers   'x-cache-hits': '1',\r\n19 verbose headers   'x-timer': 'S1448027608.062009,VS0,VE378',\r\n19 verbose headers   vary: 'Accept' }\r\n20 silly get cb [ 200,\r\n20 silly get   { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',\r\n20 silly get     etag: '\"9K4CE70Q13XZ5GNZ0479OZQAZ\"',\r\n20 silly get     'content-type': 'application/json',\r\n20 silly get     'cache-control': 'max-age=60',\r\n20 silly get     'content-length': '11010',\r\n20 silly get     'accept-ranges': 'bytes',\r\n20 silly get     date: 'Fri, 20 Nov 2015 13:53:28 GMT',\r\n20 silly get     via: '1.1 varnish',\r\n20 silly get     age: '0',\r\n20 silly get     connection: 'keep-alive',\r\n20 silly get     'x-served-by': 'cache-ams4127-AMS',\r\n20 silly get     'x-cache': 'HIT',\r\n20 silly get     'x-cache-hits': '1',\r\n20 silly get     'x-timer': 'S1448027608.062009,VS0,VE378',\r\n20 silly get     vary: 'Accept' } ]\r\n21 verbose get saving trine to /Users/romeovs/.npm/registry.npmjs.org/trine/.cache.json\r\n22 verbose makeDirectory /Users/romeovs/.npm creation not in flight; initializing\r\n23 silly makeDirectory /Users/romeovs/.npm uid: 501 gid: 20\r\n24 silly install normalizeTree\r\n25 silly loadCurrentTree Finishing\r\n26 silly loadIdealTree Starting\r\n27 silly install loadIdealTree\r\n28 silly cloneCurrentTree Starting\r\n29 silly install cloneCurrentTreeToIdealTree\r\n30 silly cloneCurrentTree Finishing\r\n31 silly loadShrinkwrap Starting\r\n32 silly install loadShrinkwrap\r\n33 silly loadShrinkwrap Finishing\r\n34 silly loadAllDepsIntoIdealTree Starting\r\n35 silly install loadAllDepsIntoIdealTree\r\n36 silly rollbackFailedOptional Starting\r\n37 silly rollbackFailedOptional Finishing\r\n38 silly runTopLevelLifecycles Starting\r\n39 silly runTopLevelLifecycles Finishing\r\n40 silly install printInstalled\r\n41 verbose stack Error: Refusing to install trine as a dependency of itself\r\n41 verbose stack     at checkSelf (/usr/local/lib/node_modules/npm/lib/install/validate-args.js:40:14)\r\n41 verbose stack     at Array.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)\r\n41 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)\r\n41 verbose stack     at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5)\r\n41 verbose stack     at /usr/local/lib/node_modules/npm/lib/install/validate-args.js:15:5\r\n41 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35\r\n41 verbose stack     at Array.forEach (native)\r\n41 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11\r\n41 verbose stack     at Array.forEach (native)\r\n41 verbose stack     at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)\r\n42 verbose cwd /Users/romeovs/web/examples/trine\r\n43 error Darwin 15.0.0\r\n44 error argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"i\" \"trine\"\r\n45 error node v5.0.0\r\n46 error npm  v3.4.1\r\n47 error code ENOSELF\r\n48 error Refusing to install trine as a dependency of itself\r\n49 error If you need help, you may report this error at:\r\n49 error     <https://github.com/npm/npm/issues>\r\n50 verbose exit [ 1, true ]\r\n```"}}