-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AFS 7-dev installation fails on yarn #1577
Comments
Hi @JoeKage. AfS does not yet support the latest alpha of Arches 7.6. Support is pending in #1570. One major thing to note is that 7.6 removes Some sanity commands to completely remove your front end packages and rebuild them:
|
Hi @jacobtylerwalls , thanks for your reply! That helped my understanding quite a bit, since I was working with outdated setup instructions. Sadly, the error persists, but if support is still pending, there's no real reason to force it together right now, I think. Especially since there are updated requirements like node 20 which I did not at the time have. So it's probably best for me to wait until AfS support is reestablished. Afterwards, I tried to install AfS with Thanks again for your help! |
Hi,
I've been trying to install AFS from scratch for some time now, but seem to fail at the last step, somewhere at yarn build_development.
My current setup is the following:
Debian 12.5, which is not Ubuntu but I hope it's close enough, especially since node and yarn are installed from the same sources as they would be on Ubuntu.
Prerequisites via docker-script that flew around somewhere here or in the main arches github, maybe a little tweaked but it seems to work fine now.
I start with the Arches Install as normal:
As far as I can tell, everything here seems normal.
Then I proceed to the AFS-documentation by changing the settings.py file as seen on https://github.com/archesproject/arches-for-science/tree/dev/1.1.x , with the two added lines in settings.py:
archesfs/archesfs/settings.py
archesfs/archesfs/urls.py
archesfs/package.json
% python manage.py packages -o load_package -a arches_for_science -dev -y
From what I read now is the best time to build the Database because all the migrations and additions from AFS already exist, so:
% python manage.py setup_db
Afterwards:
In another tab:
%source venv_arches/bin/activate
Going in the directory with package.json, which is not $PROJECT_NAME/$PROJECT_NAME/ in my case, but $PROJECT_NAME, where manage.py exists but settings.py doesn't:
Now to the build:
So this fails with these problems and my understanding of frontend-stuff and node in particular is by far not enough to understand it. I can see that the template files are being collected from Django though.
Here is my node_modules folder if it helps:
I can also provide more files about the afs install process as well as the rest of the build_development errors which are another 1100 lines of errors, but it reads to me like a node/yarn/js problem, so I'm not sure if the database state is relevant here. I've been stuck at this problem for quite a while and would really appreciate any help or pointers in the right direction.
The text was updated successfully, but these errors were encountered: