start-server-and-test icon indicating copy to clipboard operation
start-server-and-test copied to clipboard

CommandNotFoundException when running

Open maxime-aubry opened this issue 5 years ago • 1 comments

Hello. I get a CommandNotFoundException when is use those lines :

"scripts": { "start": "my-server -p 3030", "cy:run": "cypress run", "test": "start-server-and-test start http://localhost:3030 cy:run" },

and this command line :

start-server-and-test start http://localhost:3030

start-server-and-test : Le terme «start-server-and-test» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez. Au caractère Ligne:1 : 1

  • start-server-and-test start http://localhost:3030
  •   + CategoryInfo          : ObjectNotFound: (start-server-and-test:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

maxime-aubry avatar Jun 10 '20 12:06 maxime-aubry

Any ideas ? thanks

maxime-aubry avatar Jun 10 '20 12:06 maxime-aubry