Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

104
Views
When I try to run nodemon from terminal

When I try to run nodemon from terminal it's just throwing back as [...\npm\nodemon.ps1 cannot be loaded because running scripts is disabled on this system. ] How can I overcome this error and solve it

7 months ago · Juan Pablo Isaza
2 answers
Answer question

0

Try to do these steps in order:

  1. run the terminal as administrator and then try the command
  2. If the above doesn't work, then type this command set-executionpolicy remotesigned
  3. As a final resort, type this command if none of the steps work - Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
7 months ago · Juan Pablo Isaza Report

0

You need to set the execution policy of your system.

Running Set-ExecutionPolicy -Scope CurrentUser Unrestricted should solve your problem. Remember to run the command in an administrative powershell

You can view your current execution policy by running Get-ExecutionPolicy –List in powershell

For more info, you can visit this

7 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs