Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Linux Error Help  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Linux Error Help
« on: November 22, 2014, 06:57:08 PM »

I am trying to install the Bitshares wallet on Linux Mint 17
and I am getting this error when I am running "npm install"

npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/home/*****/bitshares/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/****/bitshares
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/*****/bitshares/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/****/bitshares/npm-debug.log
npm ERR! not ok code 0
« Last Edit: November 23, 2014, 11:15:01 AM by cass »
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline Riverhead

Re: Linux Error Help
« Reply #1 on: November 22, 2014, 07:04:58 PM »
Run it with sudo. I know the instructions don't say to but sometimes it's the only way I can get it to work.

Actually instead try sudo apt-get install nodejs-legacy

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Linux Error Help
« Reply #2 on: November 22, 2014, 07:09:58 PM »
Run it with sudo. I know the instructions don't say to but sometimes it's the only way I can get it to work.

Actually instead try sudo apt-get install nodejs-legacy

I ran that command and I got this message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
nodejs-legacy is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 389 not upgraded.
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline Riverhead

Re: Linux Error Help
« Reply #3 on: November 22, 2014, 07:10:51 PM »
ok, go the sudo npm install route then.

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Linux Error Help
« Reply #4 on: November 22, 2014, 07:12:27 PM »
ok, go the sudo npm install route then.

I got the same error once again

npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/home/***8/bitshares/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/***/bitshares
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/***/bitshares/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/****/bitshares/npm-debug.log
npm ERR! not ok code 0
« Last Edit: November 22, 2014, 07:23:14 PM by islandking »
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Linux Error Help
« Reply #5 on: November 22, 2014, 07:15:30 PM »
I received an error after using the command "cd bitshares"
It gives me this error: "bash:  cd: bitshares: No such file or directory"
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline Riverhead

Re: Linux Error Help
« Reply #6 on: November 22, 2014, 07:20:52 PM »
I received an error after using the command "cd bitshares"
It gives me this error: "bash:  cd: bitshares: No such file or directory"

Have you cloned the source from git yet? If so, remember it is case sensitive and they changed some letters to capitals.

busygin

  • Guest
Re: Linux Error Help
« Reply #7 on: November 22, 2014, 07:22:20 PM »
That's because he did cd bitshares when already in bitshares directory

I received an error after using the command "cd bitshares"
It gives me this error: "bash:  cd: bitshares: No such file or directory"

Have you cloned the source from git yet? If so, remember it is case sensitive and they changed some letters to capitals.

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Linux Error Help
« Reply #8 on: November 22, 2014, 07:22:43 PM »
I received an error after using the command "cd bitshares"
It gives me this error: "bash:  cd: bitshares: No such file or directory"

Have you cloned the source from git yet? If so, remember it is case sensitive and they changed some letters to capitals.

Tried the steps again and when I get to "npm install"
I get this error:

npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/lineman-angular
npm http GET https://registry.npmjs.org/lineman-less
npm http 304 https://registry.npmjs.org/lineman-less
npm ERR! Error: EACCES, mkdir '/home/****/tmp/npm-17543-NDrxYfj9'
npm ERR!  { [Error: EACCES, mkdir '/home/****/tmp/npm-17543-NDrxYfj9']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/home/*****/tmp/npm-17543-NDrxYfj9' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/****/bitshares/programs/web_wallet
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/*****/tmp/npm-17543-NDrxYfj9
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/home/********/tmp/npm-17543-NDrxYfj9'
npm http 304 https://registry.npmjs.org/lineman-angular
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/linux/*****/programs/web_wallet/npm-debug.log
npm ERR! not ok code 0
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline Riverhead

Re: Linux Error Help
« Reply #9 on: November 22, 2014, 07:24:20 PM »
Try it as root (sudo npm install) from in the web_wallet directory.

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Linux Error Help
« Reply #10 on: November 22, 2014, 07:31:25 PM »
Try it as root (sudo npm install) from in the web_wallet directory.

I *think* that it worked. I received a bunch of green HTTP links and no errors. and I did the " make buildweb" and the "make BitShares" Is there any more steps I need to follow?
« Last Edit: November 22, 2014, 07:35:28 PM by islandking »
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline Riverhead

Re: Linux Error Help
« Reply #11 on: November 22, 2014, 07:38:32 PM »
For ease of use I'd do this:

go to the programs/qt_wallet/bin
sudo cp Bitshares /usr/local/bin/.

That way it's on the path.

Congrats on getting it built :).

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Linux Error Help
« Reply #12 on: November 22, 2014, 07:41:56 PM »
For ease of use I'd do this:

go to the programs/qt_wallet/bin
sudo cp Bitshares /usr/local/bin/.

go to the programs/qt_wallet/bin
sudo cp Bitshares /usr/local/bin/.

That way it's on the path.

Congrats on getting it built :).
Report to moderator   Logged


That way it's on the path.

Congrats on getting it built :).

Thanks Riverhead for your help!  +5% I finally got it to work. Now I see the user agreement and registration page. So I assume that everything is done now? Where are my private keys stored so I can make a copy of them?
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline Riverhead

Re: Linux Error Help
« Reply #13 on: November 22, 2014, 07:45:38 PM »
They'll be in the ~/.Bitshares/wallets/default directory.

However the easiest way is to do it from the client File->Export Wallet and save it somewhere easy to find. Another option is just tar.gz your wallets directory.

 

Google+