Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running npm install -g nodemon #29

Open
NanaPokun opened this issue Jun 29, 2022 · 2 comments
Open

Error when running npm install -g nodemon #29

NanaPokun opened this issue Jun 29, 2022 · 2 comments

Comments

@NanaPokun
Copy link

I had an error when I tried to run npm install -g nodemon
I had a running script disabled error from the terminal and this is how I fixed it:

  1. Open the Run command box with Windows key + R
  2. Type powershell in the dialogue box
  3. Click Ctrl + Shift + Enter key to open powershell
  4. Paste the command : Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
  5. Press Y on prompt and hit enter
  6. Go back to your text editor(I use VSCode) and run the command npm install -g nodemon and run your server
@Akinyosoye-Oluwatobiloba

Check the npm Documentation...then search for nodemon you'll find your needed resources for it

@iusamahub
Copy link

Step 1 : Go to this location --> File C:\Users\Dell\AppData\Roaming\npm
Step 2 : Delete the nodemon.ps1 file and run the command.

It works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants