{"action":"created","issue":{"url":"https://api.github.com/repos/particle-iot/particle-cli/issues/437","repository_url":"https://api.github.com/repos/particle-iot/particle-cli","labels_url":"https://api.github.com/repos/particle-iot/particle-cli/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/particle-iot/particle-cli/issues/437/comments","events_url":"https://api.github.com/repos/particle-iot/particle-cli/issues/437/events","html_url":"https://github.com/particle-iot/particle-cli/pull/437","id":338080497,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MTAzMTgz","number":437,"title":"bugfix/revert-shrinkwrap","user":{"login":"busticated","id":367674,"node_id":"MDQ6VXNlcjM2NzY3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/367674?v=4","gravatar_id":"","url":"https://api.github.com/users/busticated","html_url":"https://github.com/busticated","followers_url":"https://api.github.com/users/busticated/followers","following_url":"https://api.github.com/users/busticated/following{/other_user}","gists_url":"https://api.github.com/users/busticated/gists{/gist_id}","starred_url":"https://api.github.com/users/busticated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/busticated/subscriptions","organizations_url":"https://api.github.com/users/busticated/orgs","repos_url":"https://api.github.com/users/busticated/repos","events_url":"https://api.github.com/users/busticated/events{/privacy}","received_events_url":"https://api.github.com/users/busticated/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T23:03:04Z","updated_at":"2018-07-03T23:07:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/particle-iot/particle-cli/pulls/437","html_url":"https://github.com/particle-iot/particle-cli/pull/437","diff_url":"https://github.com/particle-iot/particle-cli/pull/437.diff","patch_url":"https://github.com/particle-iot/particle-cli/pull/437.patch"},"body":"running `particle update-cli` on windows where the user has installed using the [windows installer](https://docs.particle.io/guide/tools-and-features/cli/electron/#using-windows) causes the following failure.\r\n\r\n```\r\nPS C:\\Users\\Me> particle version\r\n1.32.2\r\nPS C:\\Users\\Me> particle update-cli\r\nUpdating CLI...\r\n !    Error installing package.\r\n !    npm WARN excluding symbolic link test\\server\\static\\ie8-polyfill.js -> ../../../ie8-polyfill.js\r\n !    npm WARN deprecated parser-delimiter@1.0.2: reanmed to @serialport/parser-delimiter\r\n !    npm WARN excluding symbolic link test\\server\\static\\ie8-polyfill.js -> ../../../ie8-polyfill.js\r\n !    npm WARN engine clone-deep@4.0.0: wanted: {\"node\":\">=8\"} (current: {\"node\":\"5.4.1\",\"npm\":\"3.3.10\"})\r\n !    npm WARN engine set-value@3.0.0: wanted: {\"node\":\">=6.0\"} (current: {\"node\":\"5.4.1\",\"npm\":\"3.3.10\"})\r\n !    npm WARN engine shallow-clone@3.0.0: wanted: {\"node\":\">=8\"} (current: {\"node\":\"5.4.1\",\"npm\":\"3.3.10\"})\r\n !    npm WARN engine clone-deep@4.0.0: wanted: {\"node\":\">=8\"} (current: {\"node\":\"5.4.1\",\"npm\":\"3.3.10\"})\r\n !    npm WARN engine shallow-clone@3.0.0: wanted: {\"node\":\">=8\"} (current: {\"node\":\"5.4.1\",\"npm\":\"3.3.10\"})\r\n !    npm WARN deprecated node-uuid@1.4.8: Use uuid module instead\r\n !    npm WARN deprecated parser-regex@1.0.2: reanmed to @serialport/parser-regex\r\n !    npm WARN deprecated parser-cctalk@1.0.2: reanmed to @serialport/parser-cctalk\r\n !    npm WARN deprecated parser-byte-length@1.0.2: renamed to @serialport/parser-byte-length\r\n !    npm WARN deprecated parser-readline@1.0.2: reanmed to @serialport/parser-readline\r\n !    npm WARN deprecated parser-ready@1.0.2: reanmed to @serialport/parser-ready\r\n !    npm WARN install:minimist@1.2.0 ENOENT: no such file or directory, rename 'C:\\Users\\Me\\AppData\\Local\\particle\\node_modules\\rc\\node_modules\\minimist' -> 'C:\\Users\\Me\\AppData\\Local\\particle\\node_modules\\particle-cli\\node_modules\\rc\\node_modules\\minimist'\r\n !    npm WARN install:uglify-js@2.8.29 ENOENT: no such file or directory, chmod 'C:\\Users\\Me\\AppData\\Local\\particle\\node_modules\\particle-cli\\node_modules\\handlebars\\node_modules\\uglify-js\\bin\\uglifyjs'\r\n !    npm WARN install:mime@1.6.0 ENOENT: no such file or directory, chmod 'C:\\Users\\Me\\AppData\\Local\\particle\\node_modules\\particle-cli\\node_modules\\particle-api-js\\node_modules\\mime\\cli.js'\r\n !    npm WARN install:rimraf@2.2.8 ENOENT: no such file or directory, chmod 'C:\\Users\\Me\\AppData\\Local\\particle\\node_modules\\particle-cli\\node_modules\\temp\\node_modules\\rimraf\\bin.js'\r\n !    npm WARN install:window-size@0.2.0 ENOENT: no such file or directory, chmod 'C:\\Users\\Me\\AppData\\Local\\particle\\node_modules\\particle-cli\\node_modules\\yargs\\node_modules\\window-size\\cli.js'\r\n !    npm WARN ENOENT ENOENT: no such file or directory, open 'C:\\Users\\Me\\AppData\\Local\\particle\\package.json'\r\n !    npm WARN EPACKAGEJSON particle No description\r\n !    npm WARN EPACKAGEJSON particle No repository field.\r\n !    npm WARN EPACKAGEJSON particle No README data\r\n !    npm WARN EPACKAGEJSON particle No license field.\r\n !    npm ERR! code 1\r\n !\r\n !    Try running again with GODE_DEBUG=info to see more output.\r\ndone. Updated 1 package.\r\nPS C:\\Users\\Me> particle version\r\n !   Error in particle-cli:\r\n !   Cannot find module 'got'\r\n !   See C:\\Users\\Me\\AppData\\Local\\particle\\error.log for more info.\r\nPS C:\\Users\\Me> particle update-cli\r\nUpdating CLI... done. Updated 1 package.\r\nPS C:\\Users\\Me> particle version\r\n1.32.3\r\n```\r\n\r\nthough it eventually worked in my case, reports from the field are that it gets stuck in a broken state."},"comment":{"url":"https://api.github.com/repos/particle-iot/particle-cli/issues/comments/402316637","html_url":"https://github.com/particle-iot/particle-cli/pull/437#issuecomment-402316637","issue_url":"https://api.github.com/repos/particle-iot/particle-cli/issues/437","id":402316637,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjMxNjYzNw==","user":{"login":"busticated","id":367674,"node_id":"MDQ6VXNlcjM2NzY3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/367674?v=4","gravatar_id":"","url":"https://api.github.com/users/busticated","html_url":"https://github.com/busticated","followers_url":"https://api.github.com/users/busticated/followers","following_url":"https://api.github.com/users/busticated/following{/other_user}","gists_url":"https://api.github.com/users/busticated/gists{/gist_id}","starred_url":"https://api.github.com/users/busticated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/busticated/subscriptions","organizations_url":"https://api.github.com/users/busticated/orgs","repos_url":"https://api.github.com/users/busticated/repos","events_url":"https://api.github.com/users/busticated/events{/privacy}","received_events_url":"https://api.github.com/users/busticated/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T23:07:04Z","updated_at":"2018-07-03T23:07:04Z","author_association":"CONTRIBUTOR","body":"self-review :shipit: "}}
{"actor":{"display_login":"busticated"}}