1

I would like to start Powershell 7 in Windows Terminal with a Command:

npm run start

So I configured it like this:

"C:\Program Files\PowerShell\7\pwsh.exe" -Command "npm start run"

However, when starting it, I am getting this error:

> ng serve --port 7331 run
Error: Unknown argument: port
[process exited with code 1 (0x00000001)]

I am confused because it is starting the correct command, but then has a problem with its internal parameter.

Do I have to escape something, or what am I missing? 🤔

1

0

You must log in to answer this question.

Browse other questions tagged .