But then when I `type in npm install and hit enter it gives me this:
npm ERR! install Couldn’t read dependencies
npm ERR! package.json ENOENT, open ‘/usr/games/minecraft/package.json’
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can’t find a package.json file in your current directory.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install”
npm ERR! cwd /usr/games/minecraft
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /usr/games/minecraft/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/games/minecraft/npm-debug.log
npm ERR! not ok code 0
npm ERR! install Couldn’t read dependencies
npm ERR! package.json ENOENT, open ‘/usr/games/minecraft/package.json’
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can’t find a package.json file in your current directory.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install”
npm ERR! cwd /usr/games/minecraft
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /usr/games/minecraft/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/games/minecraft/npm-debug.log
npm ERR! not ok code 0
I installed MineOS around last year’s summer. I think I will just uninstall MineOS and reinstall it altogether. Do you have any clue on how to do that?
Two things: One, you’re using too old a version of node. You’re using a pre-release alpha, and the first stable version, 4.x has been available for a long time. You should use a more modern version of nodejs.
Secondly, can you verify that /usr/games/minecraft/package.json actually exists? Check the contents of that directory with ls.
Better, copy/paste the command and the results for us.