I have executed command -
npm install migrate
and it has executed successfully. But when I try to execute the command migrate
in terminal it gives me error as migrate command not found
Please find image here.
Has anyone got the same error?
I have executed command -
npm install migrate
and it has executed successfully. But when I try to execute the command migrate
in terminal it gives me error as migrate command not found
Please find image here.
Has anyone got the same error?
I have two solutions to this problem.
The first is to attempt to install the package globally.
npm install -g migrate
If above solution not worked, it could be due to the current user's undefined ExecutionPolicy.
As an administrator, run the following PowerShell command:
Set-ExecutionPolicy RemoteSigned