https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38426
Tomás Cohen Arazi (tcohen) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Tomás Cohen Arazi (tcohen) <[email protected]> --- I made a quick check in `KTD` which was not successful: ```shell sudo vim /etc/apt/sources.list.d/nodesource.list # switched 18 -> 20 sudo apt update; sudo apt install nodejs ``` after that, I tried to reinstall our node-related tools, replicating what the `KTD` build does: ```shell sudo su - $ cp /kohadevbox/koha/package.json . $ cp /kohadevbox/koha/yarn.lock . $ yarn install --modules-folder /kohadevbox/node_modules yarn install v1.22.22 [1/4] Resolving packages... [2/4] Fetching packages... error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18". Got "20.18.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ``` I then tried telling yarn to upgrade things ```shell rm -rf /kohadevbox/node_modules/* yarn --modules-folder /kohadevbox/node_modules upgrade chown -R 501 /kohadevbox/node_modules/ mv /root/.cache/Cypress /kohadevbox && chown -R 501 /kohadevbox/Cypress cp package.json /kohadevbox/koha cp yarn.lock /kohadevbox/koha ``` Things that worked: * yarn api:bundle * yarn cypress run * yarn prettier koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts Things that DIDN'T work * yarn js:build * yarn css:build -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
