js packages not installing

15 views
Skip to first unread message
Assigned to mr.ad...@gmail.com by me

Mike Arrowsmith

unread,
Mar 12, 2020, 1:02:20 PM3/12/20
to Arches Project
Hi

I've managed to, mostly, install Arches v5 successfully on AWS EC2 Ubuntu 18.04 but hitting a problem with the admin interface (screenshot attached).

I've looked at the source using developer tools and it's because /media/packages/requires/require.js is missing.

Searching the forums this has come up before and seems to be because yarn didn't install, so I followed the advice and ran yarn install manually. That seemed to work through the stages of resolving packages up to creating lockfile (actually required sudo yarn install) but still getting the same screen and the console reports the same file missing.

Where should I be when I run yarn install? I did so from within ~/Projects/scharp in my virtual environment (scharp is the project I'm working on). Was that right? Do I need to do anything else?

Not a natural Linux user, so please be gentle with me.
screen-error.JPG

Adam Cox

unread,
Mar 12, 2020, 1:32:42 PM3/12/20
to Mike Arrowsmith, Arches Project
Hey Mike, make sure to run yarn install from within the directory that holds package.json. In your case, I'm guessing that is actually ~/Projects/scharp/scharp. You will probably have a yarn.lock file in  ~/Projects/scharp from running the command which you can safely remove.

Adam

--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/b9175a3d-3b42-49fb-ae31-e5db641857fb%40googlegroups.com.

Mike Arrowsmith

unread,
Mar 13, 2020, 3:20:22 PM3/13/20
to Arches Project
That's great - all up and running now. Thanks for the quick response.


On Thursday, 12 March 2020 17:32:42 UTC, Adam Cox wrote:
Hey Mike, make sure to run yarn install from within the directory that holds package.json. In your case, I'm guessing that is actually ~/Projects/scharp/scharp. You will probably have a yarn.lock file in  ~/Projects/scharp from running the command which you can safely remove.

Adam

On Thu, Mar 12, 2020 at 12:02 PM Mike Arrowsmith <lud...@gmail.com> wrote:
Hi

I've managed to, mostly, install Arches v5 successfully on AWS EC2 Ubuntu 18.04 but hitting a problem with the admin interface (screenshot attached).

I've looked at the source using developer tools and it's because /media/packages/requires/require.js is missing.

Searching the forums this has come up before and seems to be because yarn didn't install, so I followed the advice and ran yarn install manually. That seemed to work through the stages of resolving packages up to creating lockfile (actually required sudo yarn install) but still getting the same screen and the console reports the same file missing.

Where should I be when I run yarn install? I did so from within ~/Projects/scharp in my virtual environment (scharp is the project I'm working on). Was that right? Do I need to do anything else?

Not a natural Linux user, so please be gentle with me.

--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to arches...@googlegroups.com. 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 arches...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages