I should be using "npm run start" instead of "npx run start".
I am getting following error when running "npx run start"
System details:
node: v20.9.0
npm: 10.1.0
OS: MacOS Sonoma 14.1.1 (23B81)
git version 2.43.0
Watching /Users/saurabh/dev/epic/data-modeling and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.
/Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:127
if (minimatch(file, pattern)) {
^
TypeError: minimatch is not a function
at /Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:127:13
at Array.forEach ()
at parseFolder (/Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:113:9)
at Object. (/Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:63:12)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
Edit:
I am getting following error when running "npx run start"
System details: node: v20.9.0 npm: 10.1.0 OS: MacOS Sonoma 14.1.1 (23B81) git version 2.43.0
Watching /Users/saurabh/dev/epic/data-modeling and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles. /Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:127 if (minimatch(file, pattern)) { ^
TypeError: minimatch is not a function at /Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:127:13 at Array.forEach ()
at parseFolder (/Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:113:9)
at Object. (/Users/saurabh/.npm/_npx/755986f37193a6d8/node_modules/run/run.js:63:12)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)