throw error with any expo command

Hello victorwads,
Thank you for your reply.I uninstalled nodejs and installed
node version 12.18.3
npm version 6.14.6
expo version 3.26.2
If I give command $expo, it shows all expo info so expo is installed.
$ expo init GDTD created the project successfully with expo template blank
$ cd GDTD

Then errors start again

C:\nodejs\GDTD>expo start
Starting project at C:\nodejs\GDTD
Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser… (press shift-d to disable)
Error: spawn powershell ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

C:\nodejs\GDTD>npm start

@ start C:\nodejs\GDTD
expo start

Starting project at C:\nodejs\GDTD
Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser… (press shift-d to disable)
Error: spawn powershell ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: expo start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I have tried reading about this error and have tried the solutions given by @wodin here
expo start is running my project - #8 by saad9624
but there is no state.json file in the .expo folder

I am yet to write a single line of code in this project so I feel this issue is to do with how everything is setup on my system.

How do I solve this?