PokemonGo-DesktopMap icon indicating copy to clipboard operation
PokemonGo-DesktopMap copied to clipboard

linux error: no such file package.json

Open theresthatguy opened this issue 10 years ago • 2 comments

"npm start" errors and outputs log files with following contents:

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose stack Error: ENOENT: no such file or directory, open '/home/theresthatguy/Pokemon/pogodesk/package.json' 4 verbose stack at Error (native) 5 verbose cwd /home/theresthatguy/Pokemon/pogodesk 6 error Linux 4.4.0-31-generic 7 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start" 8 error node v6.3.0 9 error npm v3.10.3 10 error path /home/theresthatguy/Pokemon/pogodesk/package.json 11 error code ENOENT 12 error errno -2 13 error syscall open 14 error enoent ENOENT: no such file or directory, open '/home/theresthatguy/Pokemon/pogodesk/package.json' 15 error enoent ENOENT: no such file or directory, open '/home/theresthatguy/Pokemon/pogodesk/package.json' 15 error enoent This is most likely not a problem with npm itself 15 error enoent and is related to npm not being able to find a file. 16 verbose exit [ -2, true ]

theresthatguy avatar Jul 24 '16 01:07 theresthatguy

Did npm install work first? Also, are you sure you are in the correct directory?

misterpink14 avatar Jul 24 '16 05:07 misterpink14

Yes, npm is installed. No, I wasn't in the correct directory, but now I am running into new issue. Will post new issue. Thank you for the reply. Too much late night pokemon fried my brain.

theresthatguy avatar Jul 24 '16 17:07 theresthatguy