{"action":"created","issue":{"url":"https://api.github.com/repos/SharePoint/sp-dev-docs/issues/820","repository_url":"https://api.github.com/repos/SharePoint/sp-dev-docs","labels_url":"https://api.github.com/repos/SharePoint/sp-dev-docs/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/sp-dev-docs/issues/820/comments","events_url":"https://api.github.com/repos/SharePoint/sp-dev-docs/issues/820/events","html_url":"https://github.com/SharePoint/sp-dev-docs/issues/820","id":253938582,"number":820,"title":"Bug: Unable to restore dependencies of a project created using SPFx v1.0","user":{"login":"michel-weber","id":23656762,"avatar_url":"https://avatars2.githubusercontent.com/u/23656762?v=4","gravatar_id":"","url":"https://api.github.com/users/michel-weber","html_url":"https://github.com/michel-weber","followers_url":"https://api.github.com/users/michel-weber/followers","following_url":"https://api.github.com/users/michel-weber/following{/other_user}","gists_url":"https://api.github.com/users/michel-weber/gists{/gist_id}","starred_url":"https://api.github.com/users/michel-weber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michel-weber/subscriptions","organizations_url":"https://api.github.com/users/michel-weber/orgs","repos_url":"https://api.github.com/users/michel-weber/repos","events_url":"https://api.github.com/users/michel-weber/events{/privacy}","received_events_url":"https://api.github.com/users/michel-weber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-30T09:42:58Z","updated_at":"2017-08-30T18:53:27Z","closed_at":"2017-08-30T18:53:00Z","author_association":"NONE","body":"#### Category\r\n- [ ] Question\r\n- [ ] Typo\r\n- [x] Bug\r\n- [ ] Additional article idea\r\n\r\n#### Expected or Desired Behavior\r\n`npm install` should be able to restore the depencies of an SPFx WebPart. On each and every publicly released version of the `@microsoft/generator-sharepoint`.\r\n\r\n#### Observed Behavior\r\nOn a freshly checked out version of the project (no `node_modules` folder), the build fails on `npm install` step with the following error message:\r\n\r\n```\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"--cache-min\" \"86400\"\r\nnpm ERR! node v6.11.2\r\nnpm ERR! npm  v3.10.10\r\nnpm ERR! code E404\r\n\r\nnpm ERR! 404 Not found : @microsoft/node-core-library\r\nnpm ERR! 404\r\nnpm ERR! 404  '@microsoft/node-core-library' is not in the npm registry.\r\nnpm ERR! 404 You should bug the author to publish it (or use the name yourself!)\r\nnpm ERR! 404 It was specified as a dependency of '@microsoft/gulp-core-build'\r\nnpm ERR! 404\r\nnpm ERR! 404 Note that you can also install from a\r\nnpm ERR! 404 tarball, folder, http url, or git url.\r\n```\r\nAs we have fully automated the build and deploment of SPFx WebParts, I run a daily test build and deployment. Yesterday it was fine, this error started happening today (30.08.2017). So there must have been some recent changes.\r\n\r\nThe project was created with the 1.0 release of SPFx.\r\n\r\n#### Steps to Reproduce\r\nThis can be reproduced by just creating a new HelloWorld WebPart - but using version 1.0.2 of the yeoman generator template.\r\n\r\n1) Uninstall the current version:  `npm uninstall --global @microsoft/generator-sharepoint`\r\n2) Install version 1.0.2 of the generator: `npm install --global @microsoft/generator-sharepoint@1.0.2`\r\n3) Create a new WebPart: `yo @microsoft/sharepoint`\r\n4) Now it fails trying to install the dependencies with error `npm ERR! 404 Not found : @microsoft/node-core-library`\r\n\r\n#### My thoughts\r\nAs a work around, I now have to recreate my project with the newest version of the generator.\r\nPlease fix this. It would also be good if you set up more rigorous automated tests as breaking an officially released SPFx version is an absolute no-go. I also shouldn't be forced to recreate SPFx WebParts just in order to get them to build again.\r\n\r\nThis could maybe be related to another error that @waldekmastykarz is experiencing:\r\n[Unable to restore dependencies of a project created using SPFx v1.1.0 #813](https://github.com/SharePoint/sp-dev-docs/issues/813)"},"comment":{"url":"https://api.github.com/repos/SharePoint/sp-dev-docs/issues/comments/326085343","html_url":"https://github.com/SharePoint/sp-dev-docs/issues/820#issuecomment-326085343","issue_url":"https://api.github.com/repos/SharePoint/sp-dev-docs/issues/820","id":326085343,"user":{"login":"qz2017","id":4722179,"avatar_url":"https://avatars2.githubusercontent.com/u/4722179?v=4","gravatar_id":"","url":"https://api.github.com/users/qz2017","html_url":"https://github.com/qz2017","followers_url":"https://api.github.com/users/qz2017/followers","following_url":"https://api.github.com/users/qz2017/following{/other_user}","gists_url":"https://api.github.com/users/qz2017/gists{/gist_id}","starred_url":"https://api.github.com/users/qz2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qz2017/subscriptions","organizations_url":"https://api.github.com/users/qz2017/orgs","repos_url":"https://api.github.com/users/qz2017/repos","events_url":"https://api.github.com/users/qz2017/events{/privacy}","received_events_url":"https://api.github.com/users/qz2017/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T18:53:27Z","updated_at":"2017-08-30T18:53:27Z","author_association":"NONE","body":"Feel free to reopen if it is still happening to you."}}
{"actor":{"display_login":"qz2017"}}