Error message after npm run dev-server:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev-server' ]
2 info using npm@6.14.11
3 info using node@v14.16.0
4 verbose stack Error: ENOENT: no such file or directory, open '/Users/shabiras/Developer/js/ecommerce-react/package.json'
5 verbose cwd /Users/shabiras/Developer/js/ecommerce-react
6 verbose Darwin 19.6.0
7 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev-server"
8 verbose node v14.16.0
9 verbose npm v6.14.11
10 error code ENOENT
11 error syscall open
12 error path /Users/shabiras/Developer/js/ecommerce-react/package.json
13 error errno -2
14 error enoent ENOENT: no such file or directory, open '/Users/shabiras/Developer/js/ecommerce-react/package.json'
15 error enoent This is related to npm not being able to find a file.
16 verbose exit [ -2, true ]
Error message after npm run dev-server: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev-server' ] 2 info using npm@6.14.11 3 info using node@v14.16.0 4 verbose stack Error: ENOENT: no such file or directory, open '/Users/shabiras/Developer/js/ecommerce-react/package.json' 5 verbose cwd /Users/shabiras/Developer/js/ecommerce-react 6 verbose Darwin 19.6.0 7 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev-server" 8 verbose node v14.16.0 9 verbose npm v6.14.11 10 error code ENOENT 11 error syscall open 12 error path /Users/shabiras/Developer/js/ecommerce-react/package.json 13 error errno -2 14 error enoent ENOENT: no such file or directory, open '/Users/shabiras/Developer/js/ecommerce-react/package.json' 15 error enoent This is related to npm not being able to find a file. 16 verbose exit [ -2, true ]