archesproject / arches-for-science

Arches for Science
GNU General Public License v3.0
14 stars 9 forks source link

AFS 7-dev installation fails on yarn #1577

Closed JoeKage closed 1 week ago

JoeKage commented 3 months ago

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.

% node -v
v18.20.4
% yarn -v
1.22.19

I start with the Arches Install as normal:

%python3 -m venv venv_arches
%source venv_arches/bin/activate
%pip install arches==7.6.0a10
%arches-project create archesfs
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated bootstrap-colorpicker@2.5.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 1407 packages, and audited 1408 packages in 3m

365 packages are looking for funding
  run `npm fund` for details

7 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g npm@10.8.2
npm notice
arches-project create archesfs  66.53s user 12.67s system 39% cpu 3:18.24 total

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:

PUBLIC_SERVER_ADDRESS = 'http://127.0.0.1:8000/'  # because it doesn't work if Djano starts with localhost:8000
ELASTICSEARCH_HOSTS = [{'scheme': 'http', 'host': 'localhost', 'port': ELASTICSEARCH_HTTP_PORT}]  # because elasticsearch isn't configured for https

archesfs/archesfs/settings.py archesfs/archesfs/urls.py archesfs/package.json

%pip install arches-for-science
Collecting arches-for-science
  Using cached arches_for_science-1.1.0a4-py3-none-any.whl
Requirement already satisfied: arches<8,>=7.6.0a1 in /opt/arches/afs/venv_arches/lib/python3.11/site-packages (from arches-for-science) (7.6.0a10)
[... Rest just seems to be fine...]

% 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:

archesfs% python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...

System check identified some issues:

WARNINGS:
?: (arches.W001) Cache backend does not support rate-limiting
        HINT: Your cache: django.core.cache.backends.dummy.DummyCache
        Supported caches: ('django.core.cache.backends.memcached.PyLibMCCache', 'django.core.cache.backends.memcached.PyMemcacheCache', 'django.core.cache.backends.redis.RedisCache')
?: (staticfiles.W004) The directory '/opt/arches/afs/archesfs/archesfs/media/build' in the STATICFILES_DIRS setting does not exist.
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace
?: (urls.W005) URL namespace 'oauth2' isn't unique. You may not be able to reverse all URLs in this namespace

System check identified 4 issues (2 silenced).
August 20, 2024 - 06:55:42
Django version 4.2.15, using settings 'archesfs.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

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:

archesfs%yarn install
yarn install v1.22.19
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by t                                                                                                                                       ools other than Yarn. It is advised not to mix package managers in order to avoi                                                                                                                                       d resolution inconsistencies caused by unsynchronized lock files. To clear this                                                                                                                                        warning, remove package-lock.json.
[1/4] Resolving packages...
warning arches > bootstrap-colorpicker@2.5.3: Package no longer supported. Conta                                                                                                                                       ct Support at https://www.npmjs.com/support for more info.
warning arches > vue3-gettext > gettext-extractor > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning arches > @mapbox/geojsonhint > jsonlint-lines > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
warning arches > vue3-gettext > gettext-extractor > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning arches_for_science > arches > bootstrap-colorpicker@2.5.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning arches_for_science > arches > @mapbox/mapbox-gl-draw > @mapbox/geojsonhint@2.2.0: Please make plans to check GeoJSON in some other way
warning arches_for_science > arches > @turf/turf > @turf/nearest@4.7.3: Module has been renamed to @turf/nearest-point
warning arches_for_science > arches > @turf/turf > @turf/within@4.7.3: Module has been renamed to @turf/points-within-polygon
warning arches_for_science > arches > @turf/turf > @turf/point-on-surface@4.7.3: Module has been renamed to @turf/point-on-feature
warning arches_for_science > arches > @turf/turf > @turf/line-distance@4.7.3: Module deprecated in favor of @turf/length
warning arches_for_science > arches > @turf/turf > @turf/line-chunk > @turf/line-distance@4.7.3: Module deprecated in favor of @turf/length
warning arches_for_science > arches > @turf/turf > @turf/bezier@4.7.3: Module has been renamed to @turf/bezier-spline
warning arches_for_science > arches > @turf/turf > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/tag > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/collect > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/isobands > @turf/inside@3.14.0: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/point-grid > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/within > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/point-on-surface > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/point-on-line@4.7.3: Module has been renamed to @turf/nearest-point-on-line
warning arches_for_science > arches > @turf/turf > @turf/line-slice > @turf/point-on-line@4.7.3: Module has been renamed to @turf/nearest-point-on-line
warning arches_for_science > arches > @turf/turf > @turf/line-split > @turf/point-on-line@4.7.3: Module has been renamed to @turf/nearest-point-on-line
warning arches_for_science > arches > @turf/turf > @turf/line-overlap > @turf/point-on-line@4.7.3: Module has been renamed to @turf/nearest-point-on-line
warning arches_for_science > arches > @turf/turf > @turf/polygon-to-linestring@4.7.3: Module has been renamed to @turf/polygon-to-line
warning arches_for_science > arches > @turf/turf > @turf/unkink-polygon > simplepolygon > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/unkink-polygon > simplepolygon > @turf/within@3.14.0: Module has been renamed to @turf/points-within-polygon
warning arches_for_science > arches > @turf/turf > @turf/unkink-polygon > simplepolygon > @turf/within > @turf/inside@3.14.0: Module has been renamed to @turf/boolean-point-in-polygon
warning arches_for_science > arches > @turf/turf > @turf/linestring-to-polygon@4.7.3: Module has been renamed to @turf/line-to-polygon
warning arches_for_science > arches > @turf/turf > @turf/polygonize > polygonize > @turf/inside@4.7.3: Module has been renamed to @turf/boolean-point-in-polygon
warning arches-dev-dependencies > clean-webpack-plugin > del > globby > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning arches-dev-dependencies > @vitest/coverage-v8 > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning arches-dev-dependencies > clean-webpack-plugin > del > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning arches-dev-dependencies > clean-webpack-plugin > del > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "arches > eonasdan-bootstrap-datetimepicker@4.17.49" has unmet peer dependency "moment-timezone@^0.4.0 || ^0.5.0".
warning "arches > vue3-gettext@3.0.0-beta.5" has unmet peer dependency "@vue/compiler-sfc@>=3.0.0".
warning "arches-dev-dependencies > @vitejs/plugin-vue@5.1.2" has unmet peer dependency "vite@^5.0.0".
warning "arches-dev-dependencies > @vitejs/plugin-vue@5.1.2" has unmet peer dependency "vue@^3.2.25".
[4/4] Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.22.22", while you're on "1.22.19".
info To upgrade, run the following command:
$ sudo apt-get update && sudo apt-get install yarn
Done in 49.55s.
yarn install  28.47s user 15.88s system 88% cpu 49.851 total

Now to the build:

archesfs%yarn build_development
yarn run v1.22.19
$ npm run eslint:check && npm run ts:check && cross-env NODE_OPTIONS=--max-old-space-size=2048 webpack --config ./webpack/webpack.config.dev.js

> eslint:check
> eslint **/src

> ts:check
> vue-tsc --noEmit

Data imported from settings.py: {
  APP_ROOT: '/opt/arches/afs/archesfs/archesfs',
  ARCHES_APPLICATIONS: [ 'archesfs' ],
  ARCHES_APPLICATIONS_PATHS: { archesfs: '/opt/arches/afs/archesfs/archesfs' },
  SITE_PACKAGES_DIRECTORY: '/opt/arches/afs/venv_arches/lib/python3.11/site-packages',
  PUBLIC_SERVER_ADDRESS: 'http://127.0.0.1:8000/',
  ROOT_DIR: '/opt/arches/afs/venv_arches/lib/python3.11/site-packages/arches',
  STATIC_URL: '/static/',
  WEBPACK_DEVELOPMENT_SERVER_PORT: 9000
}
Loading "/templates/views/report-templates/default.htm" from Django server...
Loading "/templates/views/report-templates/image.htm" from Django server...
Loading "/templates/views/report-templates/map.htm" from Django server...
Loading "/templates/views/report-templates/tabbed.htm" from Django server...
Loading "/templates/views/components/map.htm" from Django server...
Loading "/templates/views/components/map-popup.htm" from Django server...
Loading "/templates/views/components/icon-selector.htm" from Django server...
Loading "/templates/views/components/iiif-popup.htm" from Django server...
Loading "/templates/views/components/iiif-viewer.htm" from Django server...
Loading "/templates/views/components/language-switcher.htm" from Django server...
Loading "/templates/views/components/related-instance-creator.htm" from Django server...
Loading "/templates/views/components/related-resources-graph.htm" from Django server...
Loading "/templates/views/components/resource-report-abstract.htm" from Django server...
Loading "/templates/views/components/notification.htm" from Django server...
Loading "/templates/views/components/nodegroup-selector.htm" from Django server...
Loading "/templates/views/components/simple-switch.htm" from Django server...
Loading "/templates/views/components/workbench.htm" from Django server...
Loading "/templates/views/components/plugins/workflow-step.htm" from Django server...
Loading "/templates/views/components/cards/file-viewer.htm" from Django server...
Loading "/templates/views/components/cards/default.htm" from Django server...
Loading "/templates/views/components/cards/grouping.htm" from Django server...
Loading "/templates/views/components/cards/iiif-card.htm" from Django server...
Loading "/templates/views/components/cards/map.htm" from Django server...
Loading "/templates/views/components/cards/related-resources-map.htm" from Django server...
Loading "/templates/views/components/cards/related-resources-map-popup.htm" from Django server...
Loading "/templates/views/components/cards/photo-gallery-card.htm" from Django server...
Loading "/templates/views/components/datatypes/concept.htm" from Django server...
Loading "/templates/views/components/datatypes/boolean.htm" from Django server...
Loading "/templates/views/components/datatypes/date.htm" from Django server...
Loading "/templates/views/components/datatypes/domain-value.htm" from Django server...
Loading "/templates/views/components/datatypes/edtf.htm" from Django server...
Loading "/templates/views/components/datatypes/file-list.htm" from Django server...
Loading "/templates/views/components/datatypes/geojson-feature-collection.htm" from Django server...
Loading "/templates/views/components/datatypes/node-value.htm" from Django server...
Loading "/templates/views/components/cards/file-renderers/imagereader.htm" from Django server...
Loading "/templates/views/components/cards/file-renderers/pdfreader.htm" from Django server...
Loading "/templates/views/components/datatypes/non-localized-string.htm" from Django server...
Loading "/templates/views/components/datatypes/resource-instance.htm" from Django server...
Loading "/templates/views/components/datatypes/number.htm" from Django server...
Loading "/templates/views/components/datatypes/string.htm" from Django server...
Loading "/templates/views/components/datatypes/url.htm" from Django server...
Loading "/templates/views/components/etl_modules/base-bulk-string-editor.htm" from Django server...
Loading "/templates/views/components/etl_modules/branch-excel-exporter.htm" from Django server...
Loading "/templates/views/components/etl_modules/branch-excel-importer.htm" from Django server...
Loading "/templates/views/components/etl_modules/bulk-data-deletion.htm" from Django server...
Loading "/templates/views/components/etl_modules/import-single-csv.htm" from Django server...
Loading "/templates/views/components/etl_modules/jsonld-importer.htm" from Django server...
Loading "/templates/views/components/etl_modules/tile-excel-exporter.htm" from Django server...
Loading "/templates/views/components/etl_modules/tile-excel-importer.htm" from Django server...
Loading "/templates/views/components/plugins/etl-manager.htm" from Django server...
Loading "/templates/views/components/plugins/manifest-manager.htm" from Django server...
Loading "/templates/views/components/plugins/map.htm" from Django server...
Loading "/templates/views/components/functions/local-file-storage.htm" from Django server...
Loading "/templates/views/components/functions/primary-descriptors.htm" from Django server...
Loading "/templates/views/components/geocoders/geocoder.htm" from Django server...
Loading "/templates/views/components/search/advanced-search.htm" from Django server...
Loading "/templates/views/components/search/map-filter.htm" from Django server...
Loading "/templates/views/components/search/paging-filter.htm" from Django server...
Loading "/templates/views/components/search/provisional-filter.htm" from Django server...
Loading "/templates/views/components/search/resource-type-filter.htm" from Django server...
Loading "/templates/views/components/search/related-resources-filter.htm" from Django server...
Loading "/templates/views/components/search/saved-searches.htm" from Django server...
Loading "/templates/views/components/search/search-export.htm" from Django server...
Loading "/templates/views/components/search/search-result-details.htm" from Django server...
Loading "/templates/views/components/search/time-filter.htm" from Django server...
Loading "/templates/views/components/search/search-results.htm" from Django server...
Loading "/templates/views/components/search/sort-results.htm" from Django server...
Loading "/templates/views/components/search/term-filter.htm" from Django server...
Loading "/templates/views/components/map-widget-editor.htm" from Django server...
Loading "/templates/views/components/widgets/checkbox.htm" from Django server...
Loading "/templates/views/components/widgets/radio.htm" from Django server...
Loading "/templates/views/components/widgets/concept-select.htm" from Django server...
Loading "/templates/views/components/widgets/select.htm" from Django server...
Loading "/templates/views/components/widgets/datepicker.htm" from Django server...
Loading "/templates/views/components/widgets/edtf.htm" from Django server...
Loading "/templates/views/components/widgets/file.htm" from Django server...
Loading "/templates/views/components/widgets/iiif.htm" from Django server...
Loading "/templates/views/components/widgets/map.htm" from Django server...
Loading "/templates/views/components/widgets/non-localized-text.htm" from Django server...
Loading "/templates/views/components/widgets/node-value-select.htm" from Django server...
Loading "/templates/views/components/widgets/radio-boolean.htm" from Django server...
Loading "/templates/views/components/widgets/resource-instance-select.htm" from Django server...
Loading "/templates/views/components/widgets/rich-text.htm" from Django server...
Loading "/templates/views/components/widgets/switch.htm" from Django server...
Loading "/templates/views/components/widgets/text.htm" from Django server...
Loading "/templates/views/components/widgets/urldatatype.htm" from Django server...
Loading "/templates/views/components/widgets/number.htm" from Django server...
Loading "/templates/views/components/workflows/final-step.htm" from Django server...
Loading "/templates/views/components/workflows/new-multi-tile-step.htm" from Django server...
Loading "/templates/views/components/workflows/new-tile-step.htm" from Django server...
Loading "/templates/views/components/workflows/workflow-component-abstract.htm" from Django server...
Loading "/templates/views/resource/permissions/permissions-manager.htm" from Django server...
Loading "/templates/views/resource/related-resources/related-resources-manager.htm" from Django server...
assets by status 152 KiB [cached] 2 assets
assets by path js/ 648 MiB 287 assets
assets by path css/ 1.86 MiB 145 assets
assets by path img/ 2.29 MiB
  assets by path img/*.png 128 KiB 46 assets
  assets by path img/*.ttf 562 KiB 8 assets
  assets by path img/*.svg 1.02 MiB 5 assets
  assets by path img/*.eot 289 KiB 4 assets
  assets by path img/*.woff 232 KiB 4 assets
  assets by path img/*.woff2 87.8 KiB 2 assets
  + 1 asset

WARNING in ../venv_arches/lib/python3.11/site-packages/arches_for_science/media/js/views/components/cards/aws-file-viewer.js 33:8-35:10
Critical dependency: the request of a dependency is an expression
 @ ../venv_arches/lib/python3.11/site-packages/ sync ^\.\/.*\/media\/js\/.*$ ./arches_for_science/media/js/views/components/cards/aws-file-viewer.js ./arches_for_science/media/js/views/components/cards/aws-file-viewer
 @ ../venv_arches/lib/python3.11/site-packages/arches/app/media/js/utils/load-component-dependencies.js 9:24-100

1 warning has detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

ERROR in ../venv_arches/lib/python3.11/site-packages/arches_for_science/media/js/bindings/plotly.js
Module not found: Error: Can't resolve 'Plotly' in '/opt/arches/afs/venv_arches/lib/python3.11/site-packages/arches_for_science/media/js/bindings'
 @ ../venv_arches/lib/python3.11/site-packages/ sync ^\.\/.*\/media\/js\/.*$ ./arches_for_science/media/js/bindings/plotly.js ./arches_for_science/media/js/bindings/plotly
 @ ../venv_arches/lib/python3.11/site-packages/arches/app/media/js/utils/load-component-dependencies.js 9:24-100

ERROR in ../venv_arches/lib/python3.11/site-packages/arches_for_science/media/js/utils/annotation-utils.js
Module not found: Error: Can't resolve 'utils/label-based-graph-utils' in '/opt/arches/afs/venv_arches/lib/python3.11/site-packages/arches_for_science/media/js/utils'
 @ ../venv_arches/lib/python3.11/site-packages/ sync ^\.\/.*\/media\/js\/.*$ ./arches_for_science/media/js/utils/annotation-utils.js ./arches_for_science/media/js/utils/annotation-utils
 @ ../venv_arches/lib/python3.11/site-packages/arches/app/media/js/utils/load-component-dependencies.js 9:24-100

[... trunacted the other 1100 lines of very similar errors for size limit ...]

ERROR in ./node_modules/datatables.net-responsive/js/dataTables.responsive.js
Module not found: Error: Can't resolve 'datatables.net' in '/opt/arches/afs/archesfs/node_modules/datatables.net-responsive/js'
 @ ./node_modules/datatables.net-responsive-bs/js/responsive.bootstrap.js
 @ ../venv_arches/lib/python3.11/site-packages/arches/app/media/js/bindings/datatable.js

ERROR in ./node_modules/d3-contour/src/density.js 52:4-9
export 'blur2' (imported as 'blur2') was not found in 'd3-array' (possible exports: Adder, InternMap, InternSet, ascending, bin, bisect, bisectCenter, bisectLeft, bisectRight, bisector, count, cross, cumsum, descending, deviation, difference, disjoint, every, extent, fcumsum, filter, fsum, greatest, greatestIndex, group, groupSort, groups, histogram, index, indexes, intersection, least, leastIndex, map, max, maxIndex, mean, median, merge, min, minIndex, nice, pairs, permute, quantile, quantileSorted, quickselect, range, reduce, reverse, rollup, rollups, scan, shuffle, shuffler, some, sort, subset, sum, superset, thresholdFreedmanDiaconis, thresholdScott, thresholdSturges, tickIncrement, tickStep, ticks, transpose, union, variance, zip)
 @ ./node_modules/d3-contour/src/index.js 2:0-55 2:0-55
 @ ./node_modules/d3/src/index.js 6:0-27 6:0-27
 @ ../venv_arches/lib/python3.11/site-packages/arches/app/media/js/bindings/related-resources-graph.js

ERROR in ./node_modules/d3-shape/src/path.js 18:19-23
export 'Path' (imported as 'Path') was not found in 'd3-path' (possible exports: path)
 @ ./node_modules/d3-shape/src/arc.js 3:0-35 86:13-21
 @ ./node_modules/d3-shape/src/index.js 1:0-40 1:0-40
 @ ./node_modules/d3/src/index.js 25:0-25 25:0-25
 @ ../venv_arches/lib/python3.11/site-packages/arches/app/media/js/bindings/related-resources-graph.js

230 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.93.0 compiled with 232 errors and 1 warning in 43219 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn build_development  60.19s user 5.15s system 128% cpu 50.690 total

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:

archesfs/node_modules % ls
abbrev/                             define-lazy-prop/                    import-local/                           nouislider/                        source-map/
accepts/                            define-properties/                   imurmurhash/                            npm-run-path/                      source-map-js/
acorn/                              de-indent/                           incremental-convex-hull/                nth-check/                         source-map-support/
acorn-import-attributes/            del/                                 indent-string/                          numeral/                           spdx-correct/
acorn-jsx/                          delaunator/                          inflight/                               nwsapi/                            spdx-exceptions/
acorn-walk/                         delayed-stream/                      inherits/                               object-assign/                     spdx-expression-parse/
affine-hull/                        density-clustering/                  ini/                                    object.assign/                     spdx-license-ids/
agent-base/                         depd/                                internal-slot/                          object-inspect/                    spdy/
ajv/                                destroy/                             internmap/                              object-is/                         spdy-transport/
ajv-keywords/                       detect-node/                         interpret/                              object-keys/                       splaytree/
almond/                             diff-sequences/                      ionicons/                               obuf/                              stackback/
\@ampproject/                       dir-glob/                            ipaddr.js/                              once/                              statuses/
ansi-html-community/                \@discoveryjs/                       \@isaacs/                               \@one-ini/                         std-env/
ansi-regex/                         dns-packet/                          is-arguments/                           onetime/                           string_decoder/
ansi-styles/                        dom4/                                isarray/                                on-finished/                       string.prototype.trim/
anymatch/                           dom-converter/                       is-array-buffer/                        on-headers/                        string.prototype.trimend/
arches/                             domelementtype/                      is-arrayish/                            open/                              string.prototype.trimstart/
arches-dev-dependencies/            domhandler/                          is-bigint/                              optionator/                        string-width/
arches_for_science/                 dom-serializer/                      is-binary-path/                         package-json-from-dist/            string-width-cjs/
argparse/                           dom-to-image/                        is-boolean-object/                      param-case/                        strip-ansi/
array-back/                         domutils/                            is-buffer/                              parent-module/                     strip-ansi-cjs/
array-buffer-byte-length/           dot-case/                            is-callable/                            parse5/                            strip-final-newline/
arraybuffer.prototype.slice/        dropzone/                            is-core-module/                         parse5-htmlparser2-tree-adapter/   strip-indent/
array-flatten/                      \@dual-bundle/                       is-data-view/                           parsedbf/                          strip-json-comments/
array-union/                        earcut/                              is-date-object/                         parse-json/                        strip-literal/
array-uniq/                         eastasianwidth/                      is-docker/                              parseurl/                          stylelint/
arrify/                             editorconfig/                        isexe/                                  pascal-case/                       stylelint-config-recommended/
assertion-error/                    ee-first/                            is-extglob/                             path-browserify/                   stylelint-config-standard/
astral-regex/                       electron-to-chromium/                is-fullwidth-code-point/                pathe/                             stylelint-webpack-plugin/
asynckit/                           emoji-regex/                         is-glob/                                path-exists/                       style-loader/
available-typed-arrays/             emojis-list/                         is-inside-container/                    path-is-absolute/                  subtag/
\@babel/                            encodeurl/                           is-negative-zero/                       path-is-inside/                    suggestions/
babel-loader/                       end-of-stream/                       is-network-error/                       path-key/                          supercluster/
babel-plugin-polyfill-corejs2/      enhanced-resolve/                    is-number/                              path-parse/                        supports-color/
babel-plugin-polyfill-corejs3/      entities/                            is-number-object/                       path-scurry/                       supports-hyperlinks/
babel-plugin-polyfill-regenerator/  envinfo/                             isobject/                               path-to-regexp/                    supports-preserve-symlinks-flag/
backbone/                           env-paths/                           is-path-cwd/                            path-type/                         svg-tags/
balanced-match/                     eonasdan-bootstrap-datetimepicker/   is-path-in-cwd/                         pathval/                           symbol-tree/
base-64/                            error-ex/                            is-path-inside/                         pbf/                               \@szmarczak/
base64-arraybuffer/                 es-abstract/                         is-plain-obj/                           p-cancelable/                      table/
batch/                              \@esbuild/                           is-plain-object/                        picocolors/                        tapable/
\@bcoe/                             esbuild/                             is-potential-custom-element-name/       picomatch/                         terser/
big.js/                             escalade/                            is-regex/                               pify/                              terser-webpack-plugin/
binary-extensions/                  escape-html/                         is-shallow-equal/                       pinkie/                            test-exclude/
bit-twiddle/                        escape-string-regexp/                is-shared-array-buffer/                 pinkie-promise/                    text-loader/
body-parser/                        es-define-property/                  is-stream/                              pkg-dir/                           text-segmentation/
bonjour-service/                    es-errors/                           is-string/                              \@pkgjs/                           text-table/
boolbase/                           \@eslint/                            is-symbol/                              pkg-types/                         thingies/
bootstrap/                          eslint/                              \@istanbuljs/                           p-limit/                           three/
bootstrap-colorpicker/              \@eslint-community/                  istanbul-lib-coverage/                  p-locate/                          thunky/
brace-expansion/                    eslint-config-prettier/              istanbul-lib-report/                    plotly.js-dist/                    tinybench/
braces/                             eslint-plugin-vue/                   istanbul-lib-source-maps/               p-map/                             tinypool/
browserslist/                       eslint-scope/                        istanbul-reports/                       pofile/                            tinyqueue/
buffer-from/                        eslint-visitor-keys/                 is-typed-array/                         point-in-polygon/                  tinyspy/
bundle-name/                        es-module-lexer/                     is-weakref/                             polygon-clipping/                  \@tmcw/
but-unzip/                          es-object-atoms/                     is-wsl/                                 polygonize/                        to-fast-properties/
bytes/                              espree/                              jackspeak/                              possible-typed-array-names/        toidentifier/
cac/                                esquery/                             \@jest/                                 postcss/                           topojson-client/
cacheable-lookup/                   esrecurse/                           jest-util/                              postcss-loader/                    topojson-server/
cacheable-request/                  es-set-tostringtag/                  jest-worker/                            postcss-modules-extract-imports/   to-regex-range/
call-bind/                          es-to-primitive/                     jiti/                                   postcss-modules-local-by-default/  touch/
callsites/                          estraverse/                          jqtree/                                 postcss-modules-scope/             tough-cookie/
camel-case/                         estree-walker/                       jquery/                                 postcss-modules-values/            tr46/
camelcase/                          esutils/                             jquery-migrate/                         postcss-resolve-nested-selector/   \@transloadit/
camelcase-keys/                     etag/                                jquery-mousewheel/                      postcss-safe-parser/               traverse/
caniuse-lite/                       eventemitter3/                       jqueryui/                               postcss-selector-parser/           tree-dump/
chai/                               events/                              jquery-validation/                      postcss-value-parser/              trim-newlines/
chalk/                              execa/                               \@jridgewell/                           potpack/                           ts-api-utils/
check-error/                        exifr/                               js-beautify/                            p-queue/                           tslib/
chokidar/                           exit/                                js-cookie/                              preact/                            ts-loader/
chosen-js/                          express/                             jsdom/                                  prelude-ls/                        \@turf/
chrome-trace-event/                 fast-deep-equal/                     jsesc/                                  p-retry/                           turf-jsts/
ci-info/                            fastest-levenshtein/                 json5/                                  prettier/                          twitter-bootstrap-3.0.0/
ckeditor4/                          fast-glob/                           json-buffer/                            pretty-error/                      two-product/
classnames/                         fast-json-stable-stringify/          \@jsonjoy.com/                          pretty-format/                     two-sum/
clean-css/                          fast-levenshtein/                    jsonlint-lines/                         \@primeuix/                        type-check/
clean-webpack-plugin/               fastq/                               json-parse-even-better-errors/          \@primevue/                        typedarray/
clone-deep/                         fast-uri/                            json-schema-traverse/                   primevue/                          typed-array-buffer/
clone-response/                     faye-websocket/                      json-stable-stringify-without-jsonify/  process-nextick-args/              typed-array-byte-length/
codemirror/                         file-entry-cache/                    js-tokens/                              proj4/                             typed-array-byte-offset/
color-convert/                      file-loader/                         jsts/                                   protocol-buffers-schema/           typed-array-length/
colord/                             fill-range/                          JSV/                                    proto-list/                        typedarray.prototype.slice/
colorette/                          finalhandler/                        js-yaml/                                proxy-addr/                        type-detect/
color-name/                         find-cache-dir/                      kdbush/                                 psl/                               type-fest/
combined-stream/                    find-replace/                        keyv/                                   pstree.remy/                       type-is/
commander/                          find-up/                             kind-of/                                p-timeout/                         \@types/
command-line-args/                  flat/                                knockout/                               p-try/                             typescript/
common-path-prefix/                 flat-cache/                          knockout-mapping/                       pump/                              \@typescript-eslint/
compressible/                       flatted/                             knockstrap/                             punycode/                          typescript-eslint/
compression/                        follow-redirects/                    known-css-properties/                   qs/                                typical/
computeds/                          font-awesome/                        latlon-geohash/                         querystringify/                    ufo/
concat-map/                         for-each/                            launch-editor/                          queue-microtask/                   unbox-primitive/
concat-stream/                      foreground-child/                    leaflet/                                quick-lru/                         undefsafe/
concaveman/                         form-data/                           leaflet-draw/                           quickselect/                       underscore/
confbox/                            forwarded/                           leaflet.fullscreen/                     randombytes/                       undici-types/
config-chain/                       fresh/                               leaflet-iiif/                           range-parser/                      unicode-canonical-property-names-ecmascript/
connect-history-api-fallback/       fs.realpath/                         \@leichtgewicht/                        raw-body/                          unicode-match-property-ecmascript/
content-disposition/                function-bind/                       levn/                                   raw-loader/                        unicode-match-property-value-ecmascript/
content-type/                       function.prototype.name/             lineclip/                               rbush/                             unicode-property-aliases-ecmascript/
convert-source-map/                 functions-have-names/                lines-and-columns/                      react-is/                          unicorn-magic/
convex-hull/                        fuzzy/                               loader-runner/                          readable-stream/                   union-find/
cookie/                             gensync/                             loader-utils/                           readdirp/                          unist-util-stringify-position/
cookie-signature/                   geodesy/                             local-pkg/                              read-pkg/                          universalify/
copy-webpack-plugin/                geojson-dissolve/                    locate-path/                            read-pkg-up/                       unpipe/
core-js/                            geojson-equality/                    lodash/                                 rechoir/                           update-browserslist-db/
core-js-compat/                     geojson-flatten/                     lodash.assign/                          redent/                            \@uppy/
core-util-is/                       geojson-linestring-dissolve/         lodash.camelcase/                       regenerate/                        uri-js/
cosmiconfig/                        geojson-polygon-self-intersections/  lodash.debounce/                        regenerate-unicode-properties/     url-parse/
cross-env/                          geojson-random/                      lodash.defaults/                        regenerator-runtime/               utila/
cross-fetch/                        geojson-rbush/                       lodash.foreach/                         regenerator-transform/             util-deprecate/
cross-spawn/                        geojson-utils/                       lodash.frompairs/                       regexp.prototype.flags/            utils-merge/
csscolorparser/                     geojson-vt/                          lodash.get/                             regexpu-core/                      utrie/
cssesc/                             \@gerhobbelt/                        lodash.isequal/                         regjsparser/                       uuid/
css-functions-list/                 get-closest/                         lodash.merge/                           relateurl/                         uuidjs/
css-line-break/                     get-func-name/                       lodash.topairs/                         renderkid/                         validate-npm-package-license/
css-loader/                         get-intrinsic/                       lodash.truncate/                        repeat-string/                     vary/
css-select/                         get-stdin/                           loupe/                                  require-from-string/               vfile/
css-selector-parser/                get-stream/                          lower-case/                             requirejs/                         vfile-message/
cssstyle/                           get-symbol-description/              lowercase-keys/                         requirejs-plugins/                 vfile-reporter/
\@csstools/                         gettext-extractor/                   lru-cache/                              requirejs-text/                    vfile-sort/
css-tree/                           gl-matrix/                           lt-themify-icons/                       requires-port/                     vfile-statistics/
csstype/                            glob/                                magicast/                               resolve/                           vite/
css-what/                           global-modules/                      magic-string/                           resolve-alpn/                      \@vitejs/
cytoscape/                          global-prefix/                       make-dir/                               resolve-cwd/                       vite-node/
cytoscape-cola/                     globals/                             \@mapbox/                               resolve-from/                      \@vitest/
d3/                                 globalthis/                          mapbox-gl/                              resolve-protobuf-schema/           vitest/
d3-array/                           globby/                              map-obj/                                responselike/                      \@volar/
d3-axis/                            globjoin/                            marchingsquares/                        retry/                             vscode-uri/
d3-brush/                           glob-parent/                         mathml-tag-names/                       reusify/                           vt-pbf/
d3-chord/                           glob-to-regexp/                      mdn-data/                               rimraf/                            \@vue/
d3-color/                           gopd/                                media-typer/                            robust-orientation/                vue/
d3-contour/                         got/                                 memfs/                                  robust-predicates/                 vue3-gettext/
d3-delaunay/                        graceful-fs/                         memoize-one/                            robust-scale/                      vue-component-type-helpers/
d3-dispatch/                        graphemer/                           meow/                                   robust-subtract/                   vue-eslint-parser/
d3-drag/                            grid-index/                          merge2/                                 robust-sum/                        vue-loader/
d3-dsv/                             grid-to-matrix/                      merge-descriptors/                      \@rollup/                          vue-template-compiler/
d3-ease/                            handle-thing/                        merge-stream/                           rollup/                            vue-tsc/
d3-fetch/                           hard-rejection/                      methods/                                rrweb-cssom/                       w3c-xmlserializer/
d3-force/                           has-bigints/                         metismenu/                              run-applescript/                   watchpack/
d3-format/                          has-color/                           mgrs/                                   run-parallel/                      wbuf/
d3-geo/                             has-flag/                            micromatch/                             rw/                                \@webassemblyjs/
d3-hierarchy/                       hash-sum/                            mime/                                   safe-array-concat/                 webcola/
d3-interpolate/                     hasown/                              mime-db/                                safe-buffer/                       webidl-conversions/
d3-path/                            has-property-descriptors/            mime-match/                             safer-buffer/                      webpack/
d3-polygon/                         has-proto/                           mime-types/                             safe-regex-test/                   webpack-bundle-tracker/
d3-quadtree/                        has-symbols/                         mimic-fn/                               sass/                              \@webpack-cli/
d3-random/                          has-tostringtag/                     mimic-response/                         sass-loader/                       webpack-cli/
d3-scale/                           hat/                                 mini-css-extract-plugin/                saxes/                             webpack-dev-middleware/
d3-scale-chromatic/                 he/                                  minimalistic-assert/                    schema-utils/                      webpack-dev-server/
d3-selection/                       hosted-git-info/                     minimatch/                              select2/                           webpack-merge/
d3-shape/                           hpack.js/                            minimist/                               select-hose/                       webpack-sources/
d3-time/                            html2canvas/                         minimist-options/                       select-woo/                        websocket-driver/
d3-time-format/                     html-encoding-sniffer/               min-indent/                             selfsigned/                        websocket-extensions/
d3-timer/                           html-entities/                       minipass/                               semver/                            wgs84/
d3-transition/                      html-escaper/                        mlly/                                   send/                              whatwg-encoding/
d3-voronoi/                         html-loader/                         moment/                                 serialize-javascript/              whatwg-mimetype/
d3-zoom/                            html-minifier-terser/                moment-timezone/                        serve-index/                       whatwg-url/
datatables.net-bs/                  htmlparser2/                         monotone-convex-hull-2d/                serve-static/                      which/
datatables.net-buttons/             html-tags/                           ms/                                     set-function-length/               which-boxed-primitive/
datatables.net-buttons-bs/          html-webpack-plugin/                 muggle-string/                          set-function-name/                 which-typed-array/
datatables.net-responsive/          http2-wrapper/                       multicast-dns/                          setprototypeof/                    why-is-node-running/
datatables.net-responsive-bs/       http-cache-semantics/                murmurhash-js/                          shallow-clone/                     wildcard/
data-urls/                          http-deceiver/                       namespace-emitter/                      shebang-command/                   wkt-parser/
data-view-buffer/                   http-errors/                         nanoid/                                 shebang-regex/                     word-wrap/
data-view-byte-length/              http-parser-js/                      natural-compare/                        shell-quote/                       wrap-ansi/
data-view-byte-offset/              http-proxy/                          negotiator/                             shpjs/                             wrap-ansi-cjs/
debug/                              http-proxy-agent/                    neo-async/                              side-channel/                      wrappy/
decamelize/                         http-proxy-middleware/               \@nicolo-ribaudo/                       siginfo/                           write-file-atomic/
decamelize-keys/                    https-proxy-agent/                   no-case/                                signal-exit/                       ws/
decimal.js/                         human-signals/                       node-fetch/                             simplepolygon/                     xmlchars/
decompress-response/                \@humanwhocodes/                     node-forge/                             simple-update-notifier/            xml-name-validator/
deep-eql/                           hyperdyperid/                        \@nodelib/                              simplicial-complex/                xtend/
deep-equal/                         iconv-lite/                          nodemon/                                simplify-js/                       \@xtuc/
deep-is/                            icss-utils/                          node-releases/                          \@sinclair/                        yallist/
default-browser/                    ieee754/                             nomnom/                                 \@sindresorhus/                    yargs-parser/
default-browser-id/                 ignore/                              nopt/                                   skmeans/                           yocto-queue/
default-gateway/                    ignore-by-default/                   normalize-package-data/                 slash/
defer-to-connect/                   immutable/                           normalize-path/                         slice-ansi/
define-data-property/               import-fresh/                        normalize-url/                          sockjs/

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.

jacobtylerwalls commented 3 months ago

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 yarn as the front-end package manager. See the in-progress version of the Arches 7.6 release notes for more information.

Some sanity commands to completely remove your front end packages and rebuild them:

rm -rf node_modules
rm package-lock.json
npm i
JoeKage commented 3 months ago

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 pip install arches==7.6.0a1 and after yarn add -D eslint-webpack-plugin since, at that point yarn was probably still in, judging from the main AfS installation instructions and (naively, and perhaps wrongly) rewriting a line in webpack.common.js to new BundleTracker({ path: __dirname, filename: 'webpack-stats.json' }), I got to a place where I got the essentially same error as before -- but I guess I'm really mired up in different commit versions right now and also am not sure how much I'm breaking with wild, uninformed hacks. I also don't really see the point in spending a lot of time trying to get an old version based on an outdated alpha online, so I'll probably stop trying at this point and wait a bit.

Thanks again for your help!

jacobtylerwalls commented 3 weeks ago

Seems ripe for a try now with the dev/2.0.x branch.

jacobtylerwalls commented 1 week ago

Let us know if you encounter issues building with the latest.