how to fix the below error regarding npm run stubs?

27 Views Asked by At

getting the below error after installing robohydra after running npm run stubs

./node_modules/.bin/robohydra ./tests/remote-stubs/stub.conf

'.' is not recognized as an internal or external command,
operable program or batch file.

i'm trying to run npm run stubs to run robohydra packge but the below error comes up

./node_modules/.bin/robohydra ./tests/remote-stubs/stub.conf

'.' is not recognized as an internal or external command, operable program or batch file.

1

There are 1 best solutions below

1
Esraa mohamed On BEST ANSWER

replace stubs command with the below command in package.json "stubs": ".\node_modules\.bin\robohydra .\tests\remote-stubs\stub.conf",