These are chat archives for reactioncommerce/reaction

9th
Dec 2017
childproof
@childproof
Dec 09 2017 00:36

I have tried making a server 5x and I have set a new user with full permission so I don't understand why I keep getting this error. admin@Server:~$ sudo reaction init

Cloning the master branch of Reaction from Github...

Cloning into 'reaction'...
remote: Counting objects: 88494, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 88494 (delta 12), reused 6 (delta 1), pack-reused 88454
Receiving objects: 100% (88494/88494), 38.69 MiB | 730.00 KiB/s, done.
Resolving deltas: 100% (48939/48939), done.

Installing NPM packages...

root, this is your first time using Meteor!
Installing a Meteor distribution in your home directory.
Downloading Meteor distribution

################################################################## 100.0%

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master https://github.com/meteor/readable-stream.git .
npm ERR! /home/admin/.npm/_cacache/tmp/git-clone-993edc4d/.git: Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /home/admin/.npm/_logs/2017-12-09T00_30_06_345Z-debug.log

Error: Node modules were not successfully installed. Exiting.
admin@Server:~$

Brent Hoover
@zenweasel
Dec 09 2017 00:40
you shouldn’t be using sudo to run reaction
basically you want to avoid using sudo all the way down
nurub52
@nurub52
Dec 09 2017 17:08
What is the preffered way to debug server side changes? currently anytime I do any change on serverside it takes at atleast 5 mins to restart the server. is there any better way that I am not aware of.
Loan Laux
@loanlaux
Dec 09 2017 20:27
@machikoyasuda Thanks!