iamshaunjp / iamshaunjp/node-crash-course
Error when running npm install -g nodemon
- Dominant language
- No language data
- Stars
- 954
- Forks
- 953
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce `npm install -g nodemon` in PowerShell and compare the execution-policy error with the workaround reported in the issue. No repository file or test is named; done would require a maintainer decision about whether this needs course guidance or another project change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100