How to fix spawn unknown error when running yarn start

I get a spawn unknown error when I run yarn start. I need assistance on how I can fix that. Note: I do not have antivirus installed on my PC. Below is the error message

PS C:UsersmnwatuDesktopPalliative_CarePalliative_Frontendaxxess-palliative-care-frontend> yarn start
yarn run v1.22.19
$ cross-env TS_NODE_PROJECT="webpack.tsconfig.json" nodemon --watch webpack.common.config.ts --exec webpack-dev-server --progress --mode=development
internal/child_process.js:403
    throw errnoException(err, 'spawn');
    ^

Error: spawn UNKNOWN
    at ChildProcess.spawn (internal/child_process.js:403:11)
    at Object.spawn (child_process.js:553:9)
    at spawn (C:UsersmnwatuDesktopPalliative_CarePalliative_Frontendaxxess-palliative-care-frontendnode_modulescross-spawnindex.js:12:24)
    at crossEnv (C:UsersmnwatuDesktopPalliative_CarePalliative_Frontendaxxess-palliative-care-frontendnode_modulescross-envdistindex.js:32:38)
    at Object.<anonymous> (C:UsersmnwatuDesktopPalliative_CarePalliative_Frontendaxxess-palliative-care-frontendnode_modulescross-envdistbincross-env.js:6:1)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
  errno: -4094,
  code: 'UNKNOWN',
  syscall: 'spawn'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I tried to update dependencies even deleting and restoring dependencies and still yet the error persist

I have node v14.16.0,
yarn v1.22.19,
npm v6.14.11 and
nvm v1.1.12