I am following the tutorial react e2e testing.
I get stuck in the line serve -s buildserve command not working as shown in the attached image.
C:\tutorials\react-puppeteer>yarn global add serve
yarn global v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "serve@14.1.2" with binaries:
- serve
Done in 0.81s.
C:\tutorials\react-puppeteer>serve -s build
'serve' is not recognized as an internal or external command,
operable program or batch file.
I am using windows 11 with vscode as my ide. My node version is 16.19.0. '
I have tried another stack overflow suggest which said using "npx serve -s" instead of "serve -s build" with no success. 'serve' is not recognized as an internal or external command to run react app
I was expecting that the server will run on localhost:5000 but that did not happen.