javascript-algorithms
javascript-algorithms copied to clipboard
issue while running program
Hi i dont know why but i am not able to run your program , i am new to js please help me
Error
> [email protected] test ......\javascript-algorithms
> jest "-t" "playground"
'jest' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Test failed. See above for more details.

have you installed jest already using npm install jest command?
If yes, it is likely in your ./node_modules/.bin directory.
try npm test -- --updateSnapshot
this will add ./node_modules/.bin to path automatically.

why am i getting this error?
Update npm by running npm -g i npm as root.
Your installed version of node is probably also seriously outdated. Run node -v && npm -v to show installed versions.
Hi i dont know why but i am not able to run your program , i am new to js please help me
Error > [email protected] test ......\javascript-algorithms > jest "-t" "playground" 'jest' is not recognized as an internal or external command, operable program or batch file. npm ERR! Test failed. See above for more details.
Can you check if you have Jest installed properly in your system. You can try reinstalling it through npm.
Post moved to https://github.com/trekhleb/javascript-algorithms/issues/926 due to relevance