twitter-api-v2-user-oauth-flow-example icon indicating copy to clipboard operation
twitter-api-v2-user-oauth-flow-example copied to clipboard

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

Open ledlamp opened this issue 3 years ago • 1 comments

windows

PS C:\Users\me\Desktop\twitter-api-v2-user-oauth-flow-example-main> npm run start

> [email protected] start
> ./node_modules/.bin/tsc-watch --noClear -p ./tsconfig.json --onSuccess "node ./dist/index.js"

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

ledlamp avatar Sep 26 '22 04:09 ledlamp

if you are running on windows edit package.json replace this line from: "start": "./node_modules/.bin/tsc-watch --noClear -p ./tsconfig.json --onSuccess "node ./dist/index.js""

to

"start": "node_modules\.bin\tsc-watch --noClear -p .\tsconfig.json --onSuccess "node .\dist\index.js""

jsdev903 avatar Jun 06 '23 18:06 jsdev903