enter image description herei dont know how to install this help me if someone can

i am getting 404 error @microsoft/generator-sharepoint, I get below error. Kindly note that my node version is v10.6.0 and npm version is 6.2.0

  • I checked the compatible versions and installed accordingly and after that i created the account in npm and then created the new token. – AIM4DREAM Jul 17 '18 at 19:13
  • then i tried to login in to npm in the same windows powershell and tried the npm install -g @microsoft/generator-sharepoint – AIM4DREAM Jul 17 '18 at 19:17
  • I created the token and tried its still the same error – AIM4DREAM Jul 17 '18 at 19:27
  • I dont know where i am doing the mistake – AIM4DREAM Jul 17 '18 at 19:28
  • close the current power shell
  • open windows power shell
  • check the versions if nodes js and npm are compatible
  • Check the versions at the url (https://nodejs.org/en/download/releases/)
  • Check the versions with the command npm -v
  • check the node version with node -v
  • Try to update or degrade the versions by using the command npm install -g npm@6(for 6th verion) keep this in sync with the node js
  • after that follow the steps
  • npm install -g yo gulp
  • npm install -g @microsoft/generator-sharepoint

thats it all it is set

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.