SAFE Drive - help with testing


#182

OK, I tried git clone of safenetworkjs and I got some warrning and errors

tomas@tomas-Lenovo-IdeaPad-Z510:~$ git clone https://github.com/theWebalyst/safenetworkjs
Cloning into ‘safenetworkjs’…

Resolving deltas: 100% (373/373), done.
tomas@tomas-Lenovo-IdeaPad-Z510:~$ cd safenetworkjs

tomas@tomas-Lenovo-IdeaPad-Z510:~/safenetworkjs$ npm install
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

But graceful-fs is in latest version:

tomas@tomas-Lenovo-IdeaPad-Z510:~/safenetworkjs$ dpkg -l | grep graceful-fs
ii node-graceful-fs 4.1.11-1 all drop-in replacement improving the Node.js fs module

And errors:

@maidsafe/safe-node-app@0.8.1 postinstall /home/tomas/safenetworkjs/node_modules/@maidsafe/safe-node-app
yarn run install-prod && node install-dev-libs.js

00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘run’
npm ERR! Linux 4.15.0-39-generic
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! @maidsafe/safe-node-app@0.8.1 postinstall: yarn run install-prod && node install-dev-libs.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @maidsafe/safe-node-app@0.8.1 postinstall script ‘yarn run install-prod && node install-dev-libs.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @maidsafe/safe-node-app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! yarn run install-prod && node install-dev-libs.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @maidsafe/safe-node-app
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls @maidsafe/safe-node-app
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/tomas/safenetworkjs/npm-debug.log

Do you want npm-debug.log ?


#183

I’m not clever enough to interpret these logs, but think you may not have the prerequisites installed.

Can you tell me the OS / version you are using, and confirm you have the prerequisites according to the safenetwork-fuse instructions on github, and the Maidsafe tutorial here.

If you can’t see the problem, I suggest you try working through that tutorial, because that should ensure you have what is needed.

Thanks for helping out!


#184

I checked the points from pre-requisites and all tools are installed.

git is in version (1:2.17.1-1ubuntu0.4).
nodejs in version (8.10.0~dfsg-2ubuntu0.4).
build-essential in version (12.4ubuntu1).
libgconf-2-4 in version (3.2.6-4ubuntu1).

OS Version is Ubuntu 18.04.1 LTS

I will try it again in the next few days. Thank you for your help.


#185

Looks good :slight_smile:

That should be good for the npm install so let me know how that goes now.

To try the drive you also need the dependencies here:

And then back to here

Good luck.