{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt/issues/1499","repository_url":"https://api.github.com/repos/gruntjs/grunt","labels_url":"https://api.github.com/repos/gruntjs/grunt/issues/1499/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt/issues/1499/comments","events_url":"https://api.github.com/repos/gruntjs/grunt/issues/1499/events","html_url":"https://github.com/gruntjs/grunt/issues/1499","id":145870924,"number":1499,"title":"install fails with ENOENT and off path","user":{"login":"monte-hayward","id":3780422,"avatar_url":"https://avatars.githubusercontent.com/u/3780422?v=3","gravatar_id":"","url":"https://api.github.com/users/monte-hayward","html_url":"https://github.com/monte-hayward","followers_url":"https://api.github.com/users/monte-hayward/followers","following_url":"https://api.github.com/users/monte-hayward/following{/other_user}","gists_url":"https://api.github.com/users/monte-hayward/gists{/gist_id}","starred_url":"https://api.github.com/users/monte-hayward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monte-hayward/subscriptions","organizations_url":"https://api.github.com/users/monte-hayward/orgs","repos_url":"https://api.github.com/users/monte-hayward/repos","events_url":"https://api.github.com/users/monte-hayward/events{/privacy}","received_events_url":"https://api.github.com/users/monte-hayward/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-04-05T02:52:30Z","updated_at":"2016-07-21T20:25:40Z","closed_at":"2016-04-05T17:10:54Z","body":"Looks like this might be new.\r\n\r\n```bash\r\n$ node -v && npm -v\r\nv5.7.0\r\n3.7.5\r\n```\r\n\r\n```log\r\n$ npm i -g grunt grunt-cli\r\n\r\n~/.node_modules_global/bin/grunt -> ~/.node_modules_global/lib/node_modules/grunt-cli/bin/grunt\r\n- lodash@2.4.2 node_modules/grunt-cli/node_modules/lodash\r\n- lru-cache@2.7.3 node_modules/grunt-cli/node_modules/lru-cache\r\n- sigmund@1.0.1 node_modules/grunt-cli/node_modules/sigmund\r\n- underscore.string@2.4.0 node_modules/grunt/node_modules/argparse/node_modules/underscore.string\r\n- lodash@2.4.2 node_modules/grunt/node_modules/findup-sync/node_modules/lodash\r\n- inherits@1.0.2 node_modules/grunt/node_modules/glob/node_modules/inherits\r\n- underscore.string@2.3.3 node_modules/grunt/node_modules/grunt-legacy-log-utils/node_modules/underscore.string\r\n- lodash@2.4.2 node_modules/grunt/node_modules/grunt-legacy-log/node_modules/lodash\r\n- underscore.string@2.3.3 node_modules/grunt/node_modules/grunt-legacy-log/node_modules/underscore.string\r\n- lru-cache@2.7.3 node_modules/grunt/node_modules/lru-cache\r\n- sigmund@1.0.1 node_modules/grunt/node_modules/sigmund\r\n- minimatch@0.3.0 node_modules/grunt/node_modules/findup-sync/node_modules/minimatch\r\n- underscore@1.7.0 node_modules/grunt/node_modules/underscore\r\n~/.node_modules_global/lib\r\n└─┬ grunt-cli@1.2.0 \r\n  ├─┬ findup-sync@0.3.0 \r\n  │ └─┬ glob@5.0.15 \r\n  │   ├─┬ inflight@1.0.4 \r\n  │   │ └── wrappy@1.0.1 \r\n  │   ├─┬ minimatch@3.0.0 \r\n  │   │ └─┬ brace-expansion@1.1.3 \r\n  │   │   ├── balanced-match@0.3.0 \r\n  │   │   └── concat-map@0.0.1 \r\n  │   ├── once@1.3.3 \r\n  │   └── path-is-absolute@1.0.0 \r\n  ├── grunt-known-options@1.1.0 \r\n  ├── nopt@3.0.6 \r\n  └── resolve@1.1.7 \r\n\r\nnpm ERR! Darwin 15.4.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"~/.node_modules_global/bin/npm\" \"i\" \"-g\" \"grunt-cli\" \"grunt\"\r\nnpm ERR! node v5.7.0\r\nnpm ERR! npm  v3.7.5\r\nnpm ERR! path ~/.node_modules_global/lib/node_modules/grunt/node_modules/grunt-cli/bin/grunt\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno -2\r\nnpm ERR! syscall chmod\r\n\r\nnpm ERR! enoent ENOENT: no such file or directory, chmod '~/.node_modules_global/lib/node_modules/grunt/node_modules/grunt-cli/bin/grunt'\r\nnpm ERR! enoent ENOENT: no such file or directory, chmod '~/.node_modules_global/lib/node_modules/grunt/node_modules/grunt-cli/bin/grunt'\r\nnpm ERR! enoent This is most likely not a problem with npm itself\r\nnpm ERR! enoent and is related to npm not being able to find a file.\r\nnpm ERR! enoent \r\n```"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt/issues/comments/234373004","html_url":"https://github.com/gruntjs/grunt/issues/1499#issuecomment-234373004","issue_url":"https://api.github.com/repos/gruntjs/grunt/issues/1499","id":234373004,"user":{"login":"ajzozakiewicz","id":10946088,"avatar_url":"https://avatars.githubusercontent.com/u/10946088?v=3","gravatar_id":"","url":"https://api.github.com/users/ajzozakiewicz","html_url":"https://github.com/ajzozakiewicz","followers_url":"https://api.github.com/users/ajzozakiewicz/followers","following_url":"https://api.github.com/users/ajzozakiewicz/following{/other_user}","gists_url":"https://api.github.com/users/ajzozakiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/ajzozakiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajzozakiewicz/subscriptions","organizations_url":"https://api.github.com/users/ajzozakiewicz/orgs","repos_url":"https://api.github.com/users/ajzozakiewicz/repos","events_url":"https://api.github.com/users/ajzozakiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/ajzozakiewicz/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T20:25:40Z","updated_at":"2016-07-21T20:25:40Z","body":"Seeing this issue when running npm prune --production inside my Docker container. If I run the command on the command line from my mac it only treats this as a warning and runs to success.. here is the error:\r\n\r\n`npm ERR! Linux 4.4.15-moby\r\nnpm ERR! argv \"/opt/nodejs/node-v4.4.2-linux-x64/bin/node\" \"/usr/bin/npm\" \"prune\" \"--production\"\r\nnpm ERR! node v4.4.2\r\nnpm ERR! npm  v2.15.0\r\nnpm ERR! path /tmp/app/node_modules/.bin/grunt\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno -2\r\nnpm ERR! syscall unlink\r\n\r\nnpm ERR! enoent ENOENT: no such file or directory, unlink '/tmp/app/node_modules/.bin/grunt'\r\nnpm ERR! enoent This is most likely not a problem with npm itself\r\nnpm ERR! enoent and is related to npm not being able to find a file.\r\nnpm ERR! enoent \r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /tmp/app/npm-debug.log\r\n`\r\n\r\nwhen using an older version of grunt (0.4.5) `npm prune --production` runs fine"}}
{"actor":{"display_login":"ajzozakiewicz"}}