{"action":"created","issue":{"url":"https://api.github.com/repos/cyclejs/cycle-core/issues/152","labels_url":"https://api.github.com/repos/cyclejs/cycle-core/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/cyclejs/cycle-core/issues/152/comments","events_url":"https://api.github.com/repos/cyclejs/cycle-core/issues/152/events","html_url":"https://github.com/cyclejs/cycle-core/issues/152","id":94314180,"number":152,"title":"Unable to npm install @cycle/core or @cycle/web","user":{"login":"eschwartz","id":1153371,"avatar_url":"https://avatars.githubusercontent.com/u/1153371?v=3","gravatar_id":"","url":"https://api.github.com/users/eschwartz","html_url":"https://github.com/eschwartz","followers_url":"https://api.github.com/users/eschwartz/followers","following_url":"https://api.github.com/users/eschwartz/following{/other_user}","gists_url":"https://api.github.com/users/eschwartz/gists{/gist_id}","starred_url":"https://api.github.com/users/eschwartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschwartz/subscriptions","organizations_url":"https://api.github.com/users/eschwartz/orgs","repos_url":"https://api.github.com/users/eschwartz/repos","events_url":"https://api.github.com/users/eschwartz/events{/privacy}","received_events_url":"https://api.github.com/users/eschwartz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-10T14:13:44Z","updated_at":"2015-07-10T18:52:42Z","closed_at":null,"body":"According to the docs:\r\n\r\n>The recommended channel for downloading Cycle.js as a package is through npm, which follows the CommonJS spec. Create a new directory and run this inside that directory:\r\n\r\n>```npm install @cycle/core @cycle/web```\r\n\r\nHowever, when I try to install these packages, I get:\r\n```\r\nnpm ERR! Darwin 14.4.0\r\nnpm ERR! argv \"/usr/local/bin/iojs\" \"/usr/local/bin/npm\" \"install\" \"@cycle/core\"\r\nnpm ERR! node v1.8.2\r\nnpm ERR! npm  v2.9.0\r\n\r\nnpm ERR! Invalid name: \"@cycle/core\"\r\n```\r\n\r\n------\r\n\r\n\r\nHere's the full debug log\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/iojs',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'install',\r\n1 verbose cli   '@cycle/core',\r\n1 verbose cli   '--verbose' ]\r\n2 info using npm@2.9.0\r\n3 info using node@v1.8.2\r\n4 verbose install initial load of /Users/edanschwartz/workspace/tmp/package.json\r\n5 warn package.json tmp@1.0.0 No description\r\n6 warn package.json tmp@1.0.0 No repository field.\r\n7 warn package.json tmp@1.0.0 No README data\r\n8 verbose installManyTop reading scoped package data from /Users/edanschwartz/workspace/tmp/node_modules/cyclejs/package.json\r\n9 verbose readDependencies loading dependencies from /Users/edanschwartz/workspace/tmp/package.json\r\n10 silly cache add args [ '@cycle/core', null ]\r\n11 verbose cache add spec @cycle/core\r\n12 silly cache add parsed spec { raw: '@cycle/core',\r\n12 silly cache add   scope: '@cycle',\r\n12 silly cache add   name: '@cycle/core',\r\n12 silly cache add   rawSpec: '',\r\n12 silly cache add   spec: '*',\r\n12 silly cache add   type: 'range' }\r\n13 silly addNamed @cycle/core@*\r\n14 verbose addNamed \"*\" is a valid semver range for @cycle/core\r\n15 silly addNameRange { name: '@cycle/core', range: '*', hasData: false }\r\n16 silly mapToRegistry name @cycle/core\r\n17 silly mapToRegistry scope (from package name) @cycle\r\n18 verbose mapToRegistry no registry URL found in name for scope @cycle\r\n19 silly mapToRegistry using default registry\r\n20 silly mapToRegistry registry https://registry.npmjs.org/\r\n21 silly mapToRegistry uri https://registry.npmjs.org/@cycle%2fcore\r\n22 verbose addNameRange registry:https://registry.npmjs.org/@cycle%2fcore not in flight; fetching\r\n23 verbose request uri https://registry.npmjs.org/@cycle%2fcore\r\n24 verbose request no auth needed\r\n25 info attempt registry request try #1 at 09:09:36\r\n26 verbose request id fee0c8239050807a\r\n27 verbose etag \"C2NOB6W4TE2TM534Y3ISS4QO2\"\r\n28 http request GET https://registry.npmjs.org/@cycle%2fcore\r\n29 http 304 https://registry.npmjs.org/@cycle%2fcore\r\n30 silly get cb [ 304,\r\n30 silly get   { date: 'Fri, 10 Jul 2015 14:09:36 GMT',\r\n30 silly get     via: '1.1 varnish',\r\n30 silly get     'cache-control': 'max-age=0',\r\n30 silly get     etag: '\"C2NOB6W4TE2TM534Y3ISS4QO2\"',\r\n30 silly get     age: '0',\r\n30 silly get     connection: 'keep-alive',\r\n30 silly get     'x-served-by': 'cache-dfw1828-DFW',\r\n30 silly get     'x-cache': 'MISS',\r\n30 silly get     'x-cache-hits': '0',\r\n30 silly get     'x-timer': 'S1436537376.471409,VS0,VE329',\r\n30 silly get     vary: 'Accept' } ]\r\n31 verbose etag https://registry.npmjs.org/@cycle%2fcore from cache\r\n32 verbose get saving @cycle/core to /Users/edanschwartz/.npm/registry.npmjs.org/_40cycle_252fcore/.cache.json\r\n33 silly addNameRange number 2 { name: '@cycle/core', range: '*', hasData: true }\r\n34 silly addNameRange versions [ '@cycle/core', [ '1.0.0-rc1', '1.0.0' ] ]\r\n35 silly addNamed @cycle/core@1.0.0\r\n36 verbose addNamed \"1.0.0\" is a plain semver version for @cycle/core\r\n37 verbose stack Error: Invalid name: \"@cycle/core\"\r\n37 verbose stack     at ensureValidName (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:300:15)\r\n37 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:204:5)\r\n37 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:30:38\r\n37 verbose stack     at Array.forEach (native)\r\n37 verbose stack     at normalize (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:29:15)\r\n37 verbose stack     at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:338:5)\r\n37 verbose stack     at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)\r\n37 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:178:20\r\n37 verbose stack     at FSReqWrap.readFileAfterOpen [as oncomplete] (evalmachine.<anonymous>:305:5)\r\n38 verbose cwd /Users/edanschwartz/workspace/tmp\r\n39 error Darwin 14.4.0\r\n40 error argv \"/usr/local/bin/iojs\" \"/usr/local/bin/npm\" \"install\" \"@cycle/core\" \"--verbose\"\r\n41 error node v1.8.2\r\n42 error npm  v2.9.0\r\n43 error Invalid name: \"@cycle/core\"\r\n44 error If you need help, you may report this error at:\r\n44 error     <https://github.com/npm/npm/issues>\r\n45 verbose exit [ 1, true ]"},"comment":{"url":"https://api.github.com/repos/cyclejs/cycle-core/issues/comments/120493367","html_url":"https://github.com/cyclejs/cycle-core/issues/152#issuecomment-120493367","issue_url":"https://api.github.com/repos/cyclejs/cycle-core/issues/152","id":120493367,"user":{"login":"eschwartz","id":1153371,"avatar_url":"https://avatars.githubusercontent.com/u/1153371?v=3","gravatar_id":"","url":"https://api.github.com/users/eschwartz","html_url":"https://github.com/eschwartz","followers_url":"https://api.github.com/users/eschwartz/followers","following_url":"https://api.github.com/users/eschwartz/following{/other_user}","gists_url":"https://api.github.com/users/eschwartz/gists{/gist_id}","starred_url":"https://api.github.com/users/eschwartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschwartz/subscriptions","organizations_url":"https://api.github.com/users/eschwartz/orgs","repos_url":"https://api.github.com/users/eschwartz/repos","events_url":"https://api.github.com/users/eschwartz/events{/privacy}","received_events_url":"https://api.github.com/users/eschwartz/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T18:52:42Z","updated_at":"2015-07-10T18:52:42Z","body":"Same thing with npm v2.12.1:\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/iojs',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'install',\r\n1 verbose cli   '@cycle/core',\r\n1 verbose cli   '--verbose' ]\r\n2 info using npm@2.12.1\r\n3 info using node@v2.3.4\r\n4 verbose install initial load of /Users/edanschwartz/workspace/tmp/package.json\r\n5 warn package.json tmp@1.0.0 No description\r\n6 warn package.json tmp@1.0.0 No repository field.\r\n7 warn package.json tmp@1.0.0 No README data\r\n8 verbose installManyTop reading scoped package data from /Users/edanschwartz/workspace/tmp/node_modules/cyclejs/package.json\r\n9 verbose readDependencies loading dependencies from /Users/edanschwartz/workspace/tmp/package.json\r\n10 silly cache add args [ '@cycle/core', null ]\r\n11 verbose cache add spec @cycle/core\r\n12 silly cache add parsed spec { raw: '@cycle/core',\r\n12 silly cache add   scope: '@cycle',\r\n12 silly cache add   name: '@cycle/core',\r\n12 silly cache add   rawSpec: '',\r\n12 silly cache add   spec: '*',\r\n12 silly cache add   type: 'range' }\r\n13 silly addNamed @cycle/core@*\r\n14 verbose addNamed \"*\" is a valid semver range for @cycle/core\r\n15 silly addNameRange { name: '@cycle/core', range: '*', hasData: false }\r\n16 silly mapToRegistry name @cycle/core\r\n17 silly mapToRegistry scope (from package name) @cycle\r\n18 verbose mapToRegistry no registry URL found in name for scope @cycle\r\n19 silly mapToRegistry using default registry\r\n20 silly mapToRegistry registry https://registry.npmjs.org/\r\n21 silly mapToRegistry uri https://registry.npmjs.org/@cycle%2fcore\r\n22 verbose addNameRange registry:https://registry.npmjs.org/@cycle%2fcore not in flight; fetching\r\n23 verbose request uri https://registry.npmjs.org/@cycle%2fcore\r\n24 verbose request no auth needed\r\n25 info attempt registry request try #1 at 13:51:54\r\n26 verbose request id 12898d54075f94bb\r\n27 verbose etag \"C2NOB6W4TE2TM534Y3ISS4QO2\"\r\n28 http request GET https://registry.npmjs.org/@cycle%2fcore\r\n29 http 304 https://registry.npmjs.org/@cycle%2fcore\r\n30 silly get cb [ 304,\r\n30 silly get   { date: 'Fri, 10 Jul 2015 18:51:54 GMT',\r\n30 silly get     via: '1.1 varnish',\r\n30 silly get     'cache-control': 'max-age=0',\r\n30 silly get     etag: '\"C2NOB6W4TE2TM534Y3ISS4QO2\"',\r\n30 silly get     age: '0',\r\n30 silly get     connection: 'keep-alive',\r\n30 silly get     'x-served-by': 'cache-atl6227-ATL',\r\n30 silly get     'x-cache': 'MISS',\r\n30 silly get     'x-cache-hits': '0',\r\n30 silly get     'x-timer': 'S1436554314.666635,VS0,VE148',\r\n30 silly get     vary: 'Accept' } ]\r\n31 verbose etag https://registry.npmjs.org/@cycle%2fcore from cache\r\n32 verbose get saving @cycle/core to /Users/edanschwartz/.npm/registry.npmjs.org/_40cycle_252fcore/.cache.json\r\n33 silly addNameRange number 2 { name: '@cycle/core', range: '*', hasData: true }\r\n34 silly addNameRange versions [ '@cycle/core', [ '1.0.0-rc1', '1.0.0' ] ]\r\n35 silly addNamed @cycle/core@1.0.0\r\n36 verbose addNamed \"1.0.0\" is a plain semver version for @cycle/core\r\n37 verbose stack Error: Invalid name: \"@cycle/core\"\r\n37 verbose stack     at ensureValidName (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:300:15)\r\n37 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:204:5)\r\n37 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:30:38\r\n37 verbose stack     at Array.forEach (native)\r\n37 verbose stack     at normalize (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:29:15)\r\n37 verbose stack     at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:338:5)\r\n37 verbose stack     at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)\r\n37 verbose stack     at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:178:20)\r\n37 verbose stack     at FSReqWrap.readFileAfterOpen [as oncomplete] (evalmachine.<anonymous>:303:13)\r\n38 verbose cwd /Users/edanschwartz/workspace/tmp\r\n39 error Darwin 14.4.0\r\n40 error argv \"/usr/local/bin/iojs\" \"/usr/local/bin/npm\" \"install\" \"@cycle/core\" \"--verbose\"\r\n41 error node v2.3.4\r\n42 error npm  v2.12.1\r\n43 error Invalid name: \"@cycle/core\"\r\n44 error If you need help, you may report this error at:\r\n44 error     <https://github.com/npm/npm/issues>\r\n45 verbose exit [ 1, true ]\r\n```"}}