{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/10686","labels_url":"https://api.github.com/repos/npm/npm/issues/10686/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/10686/comments","events_url":"https://api.github.com/repos/npm/npm/issues/10686/events","html_url":"https://github.com/npm/npm/issues/10686","id":120337456,"number":10686,"title":"Cannot read property 'target' of null","user":{"login":"syuilo","id":4439005,"avatar_url":"https://avatars.githubusercontent.com/u/4439005?v=3","gravatar_id":"","url":"https://api.github.com/users/syuilo","html_url":"https://github.com/syuilo","followers_url":"https://api.github.com/users/syuilo/followers","following_url":"https://api.github.com/users/syuilo/following{/other_user}","gists_url":"https://api.github.com/users/syuilo/gists{/gist_id}","starred_url":"https://api.github.com/users/syuilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syuilo/subscriptions","organizations_url":"https://api.github.com/users/syuilo/orgs","repos_url":"https://api.github.com/users/syuilo/repos","events_url":"https://api.github.com/users/syuilo/events{/privacy}","received_events_url":"https://api.github.com/users/syuilo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/big-bug","name":"big-bug","color":"E2001A"},{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-12-04T05:45:57Z","updated_at":"2015-12-19T19:25:57Z","closed_at":null,"body":"``npm install <any package name>`` Then an error occurs.\r\n\r\n```\r\nnpm ERR! Linux 4.2.5-1-ARCH\r\nnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! node v5.1.1\r\nnpm ERR! npm  v3.5.2\r\n\r\nnpm ERR! Cannot read property 'target' of null\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!     /var/misskey-web/node_modules/misskey-web/npm-debug.log\r\n```\r\n\r\nFull log here:\r\nhttps://gist.github.com/syuilo/837f61e36657d1e11458\r\n\r\n**error occurs only in the directory that include \"package.json\".**\r\n\r\nexample of my package.json:\r\n```\r\n{\r\n  \"name\": \"misskey-web\",\r\n  \"version\": \"0.0.0\",\r\n  \"description\": \"Misskey Web\",\r\n  \"main\": \"./built/index.js\",\r\n  \"repository\": {\r\n    \"url\": \"https://github.com/MissKernel/Misskey-Web.git\"\r\n  },\r\n  \"scripts\": {\r\n    \"start-production\": \"set NODE_ENV=production node ./built/index.js\",\r\n    \"start\": \"node ./built/index.js\",\r\n    \"dtsm\": \"dtsm --insight false install\",\r\n    \"build\": \"gulp build\",\r\n    \"watch\": \"gulp watch\",\r\n    \"lint\": \"gulp lint\",\r\n    \"clean\": \"gulp clean\",\r\n    \"clean-all\": \"gulp clean-all\",\r\n    \"test\": \"gulp test\"\r\n  },\r\n  \"license\": \"MIT\",\r\n  \"browserify\": {\r\n    \"transform\": [\r\n      \"debowerify\",\r\n      [\r\n        \"jadeify\",\r\n        {\r\n          \"compileDebug\": false,\r\n          \"pretty\": false\r\n        }\r\n      ]\r\n    ]\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-preset-es2015\": \"6.1.18\",\r\n    \"bower\": \"1.6.8\",\r\n    \"browserify\": \"12.0.1\",\r\n    \"debowerify\": \"1.3.1\",\r\n    \"dtsm\": \"0.13.0\",\r\n    \"event-stream\": \"3.3.2\",\r\n    \"glob\": \"6.0.1\",\r\n    \"gulp\": \"3.9.0\",\r\n    \"gulp-babel\": \"6.1.1\",\r\n    \"gulp-less\": \"3.0.5\",\r\n    \"gulp-livescript\": \"2.4.0\",\r\n    \"gulp-minify-css\": \"1.2.1\",\r\n    \"gulp-notify\": \"2.2.0\",\r\n    \"gulp-plumber\": \"1.0.1\",\r\n    \"gulp-tslint\": \"3.6.0\",\r\n    \"gulp-typescript\": \"2.9.2\",\r\n    \"gulp-uglify\": \"1.5.1\",\r\n    \"jadeify\": \"^4.5.0\",\r\n    \"livescript\": \"1.4.0\",\r\n    \"tslint\": \"3.1.1\",\r\n    \"typescript\": \"1.7.3\",\r\n    \"typescript-require\": \"0.2.9-1\",\r\n    \"vinyl-buffer\": \"^1.0.0\",\r\n    \"vinyl-source-stream\": \"1.1.0\"\r\n  },\r\n  \"dependencies\": {\r\n    \"body-parser\": \"1.14.1\",\r\n    \"cheerio-httpcli\": \"0.3.8\",\r\n    \"compression\": \"1.6.0\",\r\n    \"connect-mongo\": \"0.8.2\",\r\n    \"cookie\": \"0.2.3\",\r\n    \"cookie-parser\": \"1.4.0\",\r\n    \"cors\": \"2.7.1\",\r\n    \"escape-html\": \"1.0.3\",\r\n    \"express\": \"4.13.3\",\r\n    \"express-minify\": \"0.1.6\",\r\n    \"express-session\": \"1.12.1\",\r\n    \"gm\": \"1.21.1\",\r\n    \"jade\": \"1.11.0\",\r\n    \"jquery\": \"2.1.4\",\r\n    \"jquery.transit\": \"0.9.12\",\r\n    \"less\": \"2.5.3\",\r\n    \"log-cool\": \"1.0.1\",\r\n    \"marked\": \"0.3.5\",\r\n    \"moment\": \"2.10.6\",\r\n    \"mongoose\": \"4.2.9\",\r\n    \"multer\": \"1.1.0\",\r\n    \"redis\": \"2.4.2\",\r\n    \"request\": \"2.67.0\",\r\n    \"socket.io\": \"1.3.7\",\r\n    \"subdomain\": \"1.2.0\",\r\n    \"three\": \"0.73.0\",\r\n    \"vhost\": \"3.0.2\"\r\n  },\r\n  \"private\": true\r\n}\r\n```\r\n\r\n---\r\n\r\nOS ArchLinux\r\nNode 5.1.1\r\nnpm 3.5.2\r\n\r\n---\r\n\r\nSorry my English. Thanks."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/166017478","html_url":"https://github.com/npm/npm/issues/10686#issuecomment-166017478","issue_url":"https://api.github.com/repos/npm/npm/issues/10686","id":166017478,"user":{"login":"damadorPL","id":16166558,"avatar_url":"https://avatars.githubusercontent.com/u/16166558?v=3","gravatar_id":"","url":"https://api.github.com/users/damadorPL","html_url":"https://github.com/damadorPL","followers_url":"https://api.github.com/users/damadorPL/followers","following_url":"https://api.github.com/users/damadorPL/following{/other_user}","gists_url":"https://api.github.com/users/damadorPL/gists{/gist_id}","starred_url":"https://api.github.com/users/damadorPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damadorPL/subscriptions","organizations_url":"https://api.github.com/users/damadorPL/orgs","repos_url":"https://api.github.com/users/damadorPL/repos","events_url":"https://api.github.com/users/damadorPL/events{/privacy}","received_events_url":"https://api.github.com/users/damadorPL/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T19:25:57Z","updated_at":"2015-12-19T19:25:57Z","body":"36105 verbose stack TypeError: Cannot read property 'target' of null\r\n36105 verbose stack     at module.exports (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\install\\filter-invalid-actions.js:24:35)\r\n36105 verbose stack     at Array.<anonymous> (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\bind-actor.js:15:8)\r\n36105 verbose stack     at LOOP (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\chain.js:15:14)\r\n36105 verbose stack     at C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\chain.js:18:7\r\n36105 verbose stack     at Object.Installer.computeLinked (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\install.js:411:41)\r\n36105 verbose stack     at Array.<anonymous> (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\bind-actor.js:15:8)\r\n36105 verbose stack     at LOOP (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\chain.js:15:14)\r\n36105 verbose stack     at C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\chain.js:18:7\r\n36105 verbose stack     at module.exports (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\install\\diff-trees.js:50:3)\r\n36105 verbose stack     at Array.<anonymous> (C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\slide\\lib\\bind-actor.js:15:8)\r\n36106 verbose cwd C:\\Users\\damador\\AppData\\Roaming\\npm\\node_modules\\bootstrap\r\n36107 error Windows_NT 10.0.10586\r\n36108 error argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\damador\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\"\r\n36109 error node v5.3.0\r\n36110 error npm  v3.5.3\r\n36111 error Cannot read property 'target' of null\r\n36112 error If you need help, you may report this error at:\r\n36112 error     <https://github.com/npm/npm/issues>\r\n36113 verbose exit [ 1, true ]\r\n\r\n{\r\n  \"_args\": [\r\n    [\r\n      \"bootstrap\",\r\n      \"\"\r\n    ]\r\n  ],\r\n  \"_from\": \"bootstrap@latest\",\r\n  \"_id\": \"bootstrap@3.3.6\",\r\n  \"_inCache\": true,\r\n  \"_installable\": true,\r\n  \"_location\": \"/bootstrap\",\r\n  \"_nodeVersion\": \"0.12.7\",\r\n  \"_npmUser\": {\r\n    \"email\": \"getbootstrap@gmail.com\",\r\n    \"name\": \"twbs\"\r\n  },\r\n  \"_npmVersion\": \"2.11.3\",\r\n  \"_phantomChildren\": {},\r\n  \"_requested\": {\r\n    \"name\": \"bootstrap\",\r\n    \"raw\": \"bootstrap\",\r\n    \"rawSpec\": \"\",\r\n    \"scope\": null,\r\n    \"spec\": \"latest\",\r\n    \"type\": \"tag\"\r\n  },\r\n  \"_requiredBy\": [\r\n    \"#USER\"\r\n  ],\r\n  \"_resolved\": \"https://registry.npmjs.org/bootstrap/-/bootstrap-3.3.6.tgz\",\r\n  \"_shasum\": \"8de8f749dc8a743f2ac5b510d988371e3daa6589\",\r\n  \"_shrinkwrap\": null,\r\n  \"_spec\": \"bootstrap\",\r\n  \"_where\": \"\",\r\n  \"author\": {\r\n    \"name\": \"Twitter, Inc.\"\r\n  },\r\n  \"bugs\": {\r\n    \"url\": \"https://github.com/twbs/bootstrap/issues\"\r\n  },\r\n  \"dependencies\": {},\r\n  \"description\": \"The most popular front-end framework for developing responsive, mobile first projects on the web.\",\r\n  \"devDependencies\": {\r\n    \"btoa\": \"~1.1.2\",\r\n    \"glob\": \"~6.0.1\",\r\n    \"grunt\": \"~0.4.5\",\r\n    \"grunt-autoprefixer\": \"~3.0.3\",\r\n    \"grunt-contrib-clean\": \"~0.6.0\",\r\n    \"grunt-contrib-compress\": \"~0.14.0\",\r\n    \"grunt-contrib-concat\": \"~0.5.1\",\r\n    \"grunt-contrib-connect\": \"~0.11.2\",\r\n    \"grunt-contrib-copy\": \"~0.8.0\",\r\n    \"grunt-contrib-csslint\": \"~0.5.0\",\r\n    \"grunt-contrib-cssmin\": \"~0.14.0\",\r\n    \"grunt-contrib-htmlmin\": \"~0.6.0\",\r\n    \"grunt-contrib-jade\": \"~0.15.0\",\r\n    \"grunt-contrib-jshint\": \"~0.11.2\",\r\n    \"grunt-contrib-less\": \"~1.1.0\",\r\n    \"grunt-contrib-qunit\": \"~0.7.0\",\r\n    \"grunt-contrib-uglify\": \"~0.9.2\",\r\n    \"grunt-contrib-watch\": \"~0.6.1\",\r\n    \"grunt-csscomb\": \"~3.1.0\",\r\n    \"grunt-exec\": \"~0.4.6\",\r\n    \"grunt-html\": \"~5.0.1\",\r\n    \"grunt-jekyll\": \"~0.4.2\",\r\n    \"grunt-jscs\": \"~2.3.0\",\r\n    \"grunt-saucelabs\": \"~8.6.1\",\r\n    \"grunt-sed\": \"github:twbs/grunt-sed#v0.2.0\",\r\n    \"load-grunt-tasks\": \"~3.3.0\",\r\n    \"markdown-it\": \"^5.0.0\",\r\n    \"npm-shrinkwrap\": \"^200.4.0\",\r\n    \"time-grunt\": \"^1.2.1\"\r\n  },\r\n  \"directories\": {},\r\n  \"dist\": {\r\n    \"shasum\": \"8de8f749dc8a743f2ac5b510d988371e3daa6589\",\r\n    \"tarball\": \"http://registry.npmjs.org/bootstrap/-/bootstrap-3.3.6.tgz\"\r\n  },\r\n  \"engines\": {\r\n    \"node\": \">=0.10.1\"\r\n  },\r\n  \"files\": [\r\n    \"Gruntfile.js\",\r\n    \"LICENSE\",\r\n    \"dist\",\r\n    \"fonts\",\r\n    \"grunt\",\r\n    \"js/*.js\",\r\n    \"less/**/*.less\"\r\n  ],\r\n  \"gitHead\": \"81df608a40bf0629a1dc08e584849bb1e43e0b7a\",\r\n  \"homepage\": \"http://getbootstrap.com\",\r\n  \"jspm\": {\r\n    \"files\": [\r\n      \"css\",\r\n      \"fonts\",\r\n      \"js\"\r\n    ],\r\n    \"main\": \"js/bootstrap\",\r\n    \"shim\": {\r\n      \"js/bootstrap\": {\r\n        \"deps\": \"jquery\",\r\n        \"exports\": \"$\"\r\n      }\r\n    }\r\n  },\r\n  \"keywords\": [\r\n    \"css\",\r\n    \"framework\",\r\n    \"front-end\",\r\n    \"less\",\r\n    \"mobile-first\",\r\n    \"responsive\",\r\n    \"web\"\r\n  ],\r\n  \"less\": \"less/bootstrap.less\",\r\n  \"license\": \"MIT\",\r\n  \"main\": \"./dist/js/npm\",\r\n  \"maintainers\": [\r\n    {\r\n      \"name\": \"twbs\",\r\n      \"email\": \"bigj95t+bsnpm@gmail.com\"\r\n    }\r\n  ],\r\n  \"name\": \"bootstrap\",\r\n  \"optionalDependencies\": {},\r\n  \"readme\": \"ERROR: No README data found!\",\r\n  \"repository\": {\r\n    \"type\": \"git\",\r\n    \"url\": \"git+https://github.com/twbs/bootstrap.git\"\r\n  },\r\n  \"scripts\": {\r\n    \"test\": \"grunt test\"\r\n  },\r\n  \"style\": \"dist/css/bootstrap.css\",\r\n  \"version\": \"3.3.6\"\r\n}\r\n\r\n"}}