QnA for Intro to Web Dev Workshop
Step 1
Error: running scripts are not allowed on this machine
Fix: Run the command Set-ExecutionPolicy RemoteSigned
Step 2
Error: <some command> is not recognized
Fix:
- Try closing and re-opening your console
- Try restarting your computer
Step 3
Error:
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:Users<user>AppDataRoaming\npm'
Solution:
- navigate to
C:\Users\<user>\AppData\Roaming
- create an empty folder named
npm
if it doesn’t exist