SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

Could not run 'sudo npm install -g @microsoft/generator-sharepoint'. #1209

Closed naveen9026 closed 5 years ago

naveen9026 commented 6 years ago

Below is the command which I am running in my mac.(I tried the same command without sudo as well. But response is same.)

sudo npm install -g (AT)microsoft/generator-sharepoint (Instead of (AT) replace with @) Below is the error or response:

npm ERR! code ENOVERSIONS npm ERR! No valid versions available for timed-out

npm ERR! A complete log of this run can be found in: npm ERR! /Users/Naveen/.npm/_logs/2018-01-06T19_21_52_530Z-debug.log

And eventually I am not allowed to run 'yo (AT)microsoft/sharepoint'. (Instead of (AT) replace with @)I am getting below error

"Error (AT)microsoft/sharepoint (Instead of (AT) replace with @)

You don't seem to have a generator with the name “(AT)microsoft/sharepoint” (Instead of (AT) replace with @) installed. But help is on the way:

You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/. Install them with npm install (AT)microsoft/generator-sharepoint. (Instead of (AT) replace with @)

To see all your installed generators run yo without any arguments. Adding the --help option will also show subgenerators.

If yo cannot find the generator, run yo doctor to troubleshoot your system."

Please help me in resolving this issue.

joelfmrodrigues commented 6 years ago

If you run only 'yo', so you see the generator installed?

andrewconnell commented 5 years ago

Still an issue?

msft-github-bot commented 5 years ago

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.

msft-github-bot commented 5 years ago

Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.

msft-github-bot commented 4 years ago

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues