{"action":"created","issue":{"url":"https://api.github.com/repos/RisingStack/trace-nodejs/issues/112","repository_url":"https://api.github.com/repos/RisingStack/trace-nodejs","labels_url":"https://api.github.com/repos/RisingStack/trace-nodejs/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/RisingStack/trace-nodejs/issues/112/comments","events_url":"https://api.github.com/repos/RisingStack/trace-nodejs/issues/112/events","html_url":"https://github.com/RisingStack/trace-nodejs/issues/112","id":165722462,"number":112,"title":"NPM install keeps failing with -- Invalid name: \"@risingstack/trace\"","user":{"login":"icecubed","id":107628,"avatar_url":"https://avatars.githubusercontent.com/u/107628?v=3","gravatar_id":"","url":"https://api.github.com/users/icecubed","html_url":"https://github.com/icecubed","followers_url":"https://api.github.com/users/icecubed/followers","following_url":"https://api.github.com/users/icecubed/following{/other_user}","gists_url":"https://api.github.com/users/icecubed/gists{/gist_id}","starred_url":"https://api.github.com/users/icecubed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icecubed/subscriptions","organizations_url":"https://api.github.com/users/icecubed/orgs","repos_url":"https://api.github.com/users/icecubed/repos","events_url":"https://api.github.com/users/icecubed/events{/privacy}","received_events_url":"https://api.github.com/users/icecubed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T06:47:41Z","updated_at":"2016-07-28T15:36:55Z","closed_at":null,"body":"I am trying to test out trace and using npm to install the package seems to fail with the following. \r\n\r\n```\r\n# npm install @risingstack/trace --save\r\nnpm ERR! Linux 3.16.0-4-amd64\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"@risingstack/trace\" \"--save\"\r\nnpm ERR! node v6.0.0\r\nnpm ERR! npm  v3.8.6\r\n\r\nnpm ERR! Invalid name: \"@risingstack/trace\"\r\n```\r\n\r\nMy npm version is 3.8.6  The full debug log for npm is as follows \r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'install',\r\n1 verbose cli   '@risingstack/trace',\r\n1 verbose cli   '--save' ]\r\n2 info using npm@3.8.6\r\n3 info using node@v6.0.0\r\n4 silly loadCurrentTree Starting\r\n5 silly install loadCurrentTree\r\n6 silly install readLocalPackageData\r\n7 silly fetchPackageMetaData @risingstack/trace\r\n8 silly fetchNamedPackageData @risingstack/trace\r\n9 silly mapToRegistry name @risingstack/trace\r\n10 silly mapToRegistry scope (from package name) @risingstack\r\n11 verbose mapToRegistry no registry URL found in name for scope @risingstack\r\n12 silly mapToRegistry using default registry\r\n13 silly mapToRegistry registry https://registry.npmjs.org/\r\n14 silly mapToRegistry data Result {\r\n14 silly mapToRegistry   raw: '@risingstack/trace',\r\n14 silly mapToRegistry   scope: '@risingstack',\r\n14 silly mapToRegistry   name: '@risingstack/trace',\r\n14 silly mapToRegistry   rawSpec: '',\r\n14 silly mapToRegistry   spec: 'latest',\r\n14 silly mapToRegistry   type: 'tag' }\r\n15 silly mapToRegistry uri https://registry.npmjs.org/@risingstack%2ftrace\r\n16 verbose request uri https://registry.npmjs.org/@risingstack%2ftrace\r\n17 verbose request no auth needed\r\n18 info attempt registry request try #1 at 6:42:56 AM\r\n19 verbose request id 103a38e296e9cee7\r\n20 verbose etag \"39QVRCM4H7X7R2248SFZIZRGO\"\r\n21 http request GET https://registry.npmjs.org/@risingstack%2ftrace\r\n22 http 304 https://registry.npmjs.org/@risingstack%2ftrace\r\n23 verbose headers { date: 'Fri, 15 Jul 2016 06:42:56 GMT',\r\n23 verbose headers   via: '1.1 varnish',\r\n23 verbose headers   'cache-control': 'max-age=0',\r\n23 verbose headers   etag: '\"39QVRCM4H7X7R2248SFZIZRGO\"',\r\n23 verbose headers   age: '0',\r\n23 verbose headers   connection: 'keep-alive',\r\n23 verbose headers   'x-served-by': 'cache-dfw1848-DFW',\r\n23 verbose headers   'x-cache': 'MISS',\r\n23 verbose headers   'x-cache-hits': '0',\r\n23 verbose headers   'x-timer': 'S1468564976.347880,VS0,VE550',\r\n23 verbose headers   vary: 'Accept-Encoding' }\r\n24 silly get cb [ 304,\r\n24 silly get   { date: 'Fri, 15 Jul 2016 06:42:56 GMT',\r\n24 silly get     via: '1.1 varnish',\r\n24 silly get     'cache-control': 'max-age=0',\r\n24 silly get     etag: '\"39QVRCM4H7X7R2248SFZIZRGO\"',\r\n24 silly get     age: '0',\r\n24 silly get     connection: 'keep-alive',\r\n24 silly get     'x-served-by': 'cache-dfw1848-DFW',\r\n24 silly get     'x-cache': 'MISS',\r\n24 silly get     'x-cache-hits': '0',\r\n24 silly get     'x-timer': 'S1468564976.347880,VS0,VE550',\r\n24 silly get     vary: 'Accept-Encoding' } ]\r\n25 verbose etag https://registry.npmjs.org/@risingstack%2ftrace from cache\r\n26 verbose get saving @risingstack/trace to /root/.npm/registry.npmjs.org/_40risingstack_252ftrace/.cache.json\r\n27 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing\r\n28 silly install normalizeTree\r\n29 silly loadCurrentTree Finishing\r\n30 silly loadIdealTree Starting\r\n31 silly install loadIdealTree\r\n32 silly cloneCurrentTree Starting\r\n33 silly install cloneCurrentTreeToIdealTree\r\n34 silly cloneCurrentTree Finishing\r\n35 silly loadShrinkwrap Starting\r\n36 silly install loadShrinkwrap\r\n37 silly loadShrinkwrap Finishing\r\n38 silly loadAllDepsIntoIdealTree Starting\r\n39 silly install loadAllDepsIntoIdealTree\r\n40 silly resolveWithNewModule @risingstack/trace@2.18.4 checking installable status\r\n41 silly cache add args [ '@risingstack/trace', null ]\r\n42 verbose cache add spec @risingstack/trace\r\n43 silly cache add parsed spec Result {\r\n43 silly cache add   raw: '@risingstack/trace',\r\n43 silly cache add   scope: '@risingstack',\r\n43 silly cache add   name: '@risingstack/trace',\r\n43 silly cache add   rawSpec: '',\r\n43 silly cache add   spec: 'latest',\r\n43 silly cache add   type: 'tag' }\r\n44 silly addNamed @risingstack/trace@latest\r\n45 verbose addNamed \"latest\" is being treated as a dist-tag for @risingstack/trace\r\n46 info addNameTag [ '@risingstack/trace', 'latest' ]\r\n47 silly mapToRegistry name @risingstack/trace\r\n48 silly mapToRegistry scope (from package name) @risingstack\r\n49 verbose mapToRegistry no registry URL found in name for scope @risingstack\r\n50 silly mapToRegistry using default registry\r\n51 silly mapToRegistry registry https://registry.npmjs.org/\r\n52 silly mapToRegistry data Result {\r\n52 silly mapToRegistry   raw: '@risingstack/trace',\r\n52 silly mapToRegistry   scope: '@risingstack',\r\n52 silly mapToRegistry   name: '@risingstack/trace',\r\n52 silly mapToRegistry   rawSpec: '',\r\n52 silly mapToRegistry   spec: 'latest',\r\n52 silly mapToRegistry   type: 'tag' }\r\n53 silly mapToRegistry uri https://registry.npmjs.org/@risingstack%2ftrace\r\n54 verbose addNameTag registry:https://registry.npmjs.org/@risingstack%2ftrace not in flight; fetching\r\n55 verbose get https://registry.npmjs.org/@risingstack%2ftrace not expired, no request\r\n56 silly addNameTag next cb for @risingstack/trace with tag latest\r\n57 silly addNamed @risingstack/trace@2.18.4\r\n58 verbose addNamed \"2.18.4\" is a plain semver version for @risingstack/trace\r\n59 silly rollbackFailedOptional Starting\r\n60 silly rollbackFailedOptional Finishing\r\n61 silly runTopLevelLifecycles Starting\r\n62 silly runTopLevelLifecycles Finishing\r\n63 silly install printInstalled\r\n64 verbose stack Error: Invalid name: \"@risingstack/trace\"\r\n64 verbose stack     at ensureValidName (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:297:15)\r\n64 verbose stack     at Object.module.exports.fixNameField (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:201:5)\r\n64 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:29:38\r\n64 verbose stack     at Array.forEach (native)\r\n64 verbose stack     at normalize (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:28:15)\r\n64 verbose stack     at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:338:5)\r\n64 verbose stack     at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)\r\n64 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:203:31\r\n64 verbose stack     at f (/usr/local/lib/node_modules/npm/node_modules/once/once.js:17:25)\r\n64 verbose stack     at Glob.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/glob/glob.js:146:7)\r\n65 verbose cwd /srv/www/v2\r\n66 error Linux 3.16.0-4-amd64\r\n67 error argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"@risingstack/trace\" \"--save\"\r\n68 error node v6.0.0\r\n69 error npm  v3.8.6\r\n70 error Invalid name: \"@risingstack/trace\"\r\n71 error If you need help, you may report this error at:\r\n71 error     <https://github.com/npm/npm/issues>\r\n72 verbose exit [ 1, true ]\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RisingStack/trace-nodejs/issues/comments/235933441","html_url":"https://github.com/RisingStack/trace-nodejs/issues/112#issuecomment-235933441","issue_url":"https://api.github.com/repos/RisingStack/trace-nodejs/issues/112","id":235933441,"user":{"login":"gergelyke","id":2174968,"avatar_url":"https://avatars.githubusercontent.com/u/2174968?v=3","gravatar_id":"","url":"https://api.github.com/users/gergelyke","html_url":"https://github.com/gergelyke","followers_url":"https://api.github.com/users/gergelyke/followers","following_url":"https://api.github.com/users/gergelyke/following{/other_user}","gists_url":"https://api.github.com/users/gergelyke/gists{/gist_id}","starred_url":"https://api.github.com/users/gergelyke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gergelyke/subscriptions","organizations_url":"https://api.github.com/users/gergelyke/orgs","repos_url":"https://api.github.com/users/gergelyke/repos","events_url":"https://api.github.com/users/gergelyke/events{/privacy}","received_events_url":"https://api.github.com/users/gergelyke/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T15:36:55Z","updated_at":"2016-07-28T15:36:55Z","body":"Hello @icecubed,\r\n\r\nthat's strange, it should only happen if your npm does not support private modules, which clearly cannot be the case. Could you try with npm@2 latest?"}}
{"actor":{"display_login":"gergelyke"}}