Angela, I believe that the Node version is the problem. I encountered this just last week, and had also run the xenial setup script, so I thought I would be fine. I got the same node version warning as you and when I upgraded (after which I must have reinstalled yarn but don't recall) everything worked fine.
Hopefully a member of the Farallon team can address this, because it does look like legacy node was deliberately chosen: https://github.com/archesproject/arches/blob/master/arches/install/ubuntu_xenial_setup.sh#L45 (and has been chosen from the start: https://github.com/archesproject/arches/blame/379a5859a3abf8720fc84f6391280ef639947f88/arches/install/ubuntu_xenial_setup.sh#L6 ). This is what I have working for me now: Hope that helps, Adam On Thu, Aug 30, 2018 at 9:19 AM, Angela Labrador <[email protected]> wrote: > This just happened to me on two fresh Arches 4 installations. When I run > collectstatic, the packages directory is never copied into my static dir > that apache is serving, thus various javascript reference errors start > popping up because the js scripts aren't loading/being found (effectively > breaking the site beyond the home page). > > I tried reinstalling yarn (in my virtualenv) as Adam suggested above -- it > is at 1.9.4, although it does give me a warning that I'm using Node 4.2.6, > which is not supported. Is this legacy version used by design? Or did > something go wrong during my installation (Ubuntu Xenial)? > > Like Ben, I can hunt around for the javascript files and copy them over to > my static folder manually, but I wonder what didn't run correctly during > installation (and what other errors may be lurking because of that). > > Thanks, > Angela > > On Wednesday, August 8, 2018 at 12:42:32 PM UTC-4, Ben O'Steen wrote: >> >> I've been hitting something similar. I've noticed that the package.json >> file is not created or copied over when you run "arches-project create >> ...". I'm just learning the project so do not know that this is by design, >> and whether this should be done manually. I fixed my dev site by copying >> over this to my project root (and editing the metadata at the top to >> reflect my project, though if you do that or not it will not affect the >> yarn install AFAIK) >> >> Ben >> >> On 8 August 2018 at 09:07, Adam Cox <[email protected]> wrote: >> >>> Hi David, just wanted to check back on this, a fresh reinstall should be >>> helpful, however is sounds like yarn install did not get run properly >>> during the installation. If you encounter this problem again, enter your >>> project and try running yarn install. This should install all of those >>> .js files that you were missing. This should have happened automatically >>> after you created your project, but perhaps there was a hangup. >>> >>> Adam >>> >>> On Tuesday, July 31, 2018 at 8:51:02 AM UTC-7, David Lopes wrote: >>>> >>>> Hi, >>>> >>>> Is anyone familiar with this error? >>>> The instalation went well but afterwards no access to the site's >>>> management, Could it be not enough RAM? >>>> >>>> >>>> >>>> <https://lh3.googleusercontent.com/-9suz_MIVZd0/W2CE-ZsccMI/AAAAAAAAFjk/6pUOteTCJ0c0eJr6_0xWfO2rOGd06ZglACLcBGAs/s1600/2018-07-30-171231_1600x804_scrot.png> >>>> >>>> >>>> Thank you, best regards. >>>> >>> -- >>> -- To post, send email to [email protected]. To unsubscribe, >>> send email to [email protected]. For more information, >>> visit https://groups.google.com/d/forum/archesproject?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Arches Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
