I just bought a new laptop, installed necessary apps, new ssh key, and am now ready to continue working on my react app. Only I keep getting this error:
"App Name" is not recognized as an internal or external command,
operable program or batch file.
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module 'C:\Users\ ... \react-scripts\bin\react-scripts.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
I've deleted node modules/package-lock.json and reinstalled packages but still this error. Is there something else I need to setup on my new computer that I'm missing? I've also tried solutions that worked for others with similar issues. I appreciate all feedback. Thank you.