samedi 29 août 2020

Migrations and Testing CLI Commands Not Working in Visual Studio Code / VSCode Terminal

Running both migrations with "npm run migrate" and tests with "npm test" in the terminal in VSCode throws errors, yet if I run the same commands on the same project from the terminal on my mac, they run perfectly and as expected.

  • What is the reason for this?
  • Is there a way to configure my terminal in VSCode so that I can run migrations and testing through it or do I need to use the always use the terminal on my mac for migrations and testing?

Aucun commentaire:

Enregistrer un commentaire