Closed p145085 closed 6 years ago
Did you install npm as root or normal user? Can you also post the complete log of the install process including your executed command?
npm was installed by a normal user added to the wheel group and using 'sudo'.
https://pastebin.com/1ckKD7g2 - Install process initiated by sudo npm install --global storjshare-daemon
You should not install it with sudo, which is stated in the Install Instructions (no root account). Just enter npm install -g storjshare-daemon
and post the errors again please, thanks! 👍
https://pastebin.com/HMzPK34m - "Please try running this command again as root/Administrator."
heh, I'm not sure if installing node and/or npm or the other packages as normal user account is possible either. Fairly certain that I need to install the packages as root.
@stefanbenten sudo is fine. That will still run the installation as normal user with root privilages. Logged in as root while running this command is a problem.
@p145085 However. I think more important is the nodejs version. You are running the unstable develop branch. Please try it again with nodejs LTS.
@littleskunk - https://pastebin.com/8easRbhs
node --version
= v8.9.3
npm --version
= 5.6.0
Looks like the exact same error as earlier, seems likely that there is a permission fault somewhere on my local machine.
That looks better. Now the error message is normal for root user. Sudo should be fine but make sure you are logged in as normal user and not as root.
If that is not working you can add --unsafe-perm
. This is a security risk and you should try to avoid it.
https://pastebin.com/9SKiWpwT - npm install -g storjshare-daemon
https://pastebin.com/TWPgibU1 - npm install -g --unsafe-perm storjshare-daemon
https://pastebin.com/94Qgx57u - sudo npm install -g storjshare-daemon
https://pastebin.com/TqjjjJw1 - sudo npm install -g --unsafe-perm storjshare-daemon
Attempted in chronological order, I'm reviewing my user account permissions at the moment to see if there's anything going on there.
Is there any update about the issue?
👋 Hey! Thanks for this contribution. Apologies for the delay in responding!
We've decided to rearchitect Storj, so that we can scale better. You can read more about this decision here. This means that we are entirely focused on v3 at the moment, in the storj/storj repository. Our white paper for v3 is coming very, very soon - follow along on the blog and in our Rocketchat.
As this repository is part of the v2 network, we're no longer maintaining this repository. I am going to close this for now. If you have any questions, I encourage you to jump on Rocketchat and ask them there. Thanks!
Package Versions
Replace the values below using the output from
storjshare --version
.Replace the values below using the output from
node --version
.Expected Behavior
Program expected to install storjshare-daemon.
Actual Behavior
Please describe the program's actual behavior. Please include any stack traces or log output in the back ticks below.
Steps to Reproduce
Please include the steps the reproduce the issue, numbered below. Include as much detail as possible.
Am running 'FreeBSD 11.1-RELEASE'