Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Workflow: Debian Package build test uses wrong node version #4

Open
wagner-intevation opened this issue Aug 8, 2024 · 0 comments
Open

Comments

@wagner-intevation
Copy link
Member

The GitHub workflow currently fails with

# client
cd client && \
sed -i '/[[:space:]]*publicPath:/s@'/'@'/intelmq-webinput/'@' vue.config.js && \
yarn
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.20.4"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
make[1]: *** [debian/rules:18: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/runner/work/intelmq-webinput-csv/intelmq-webinput-csv'
make: *** [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Error: Process completed with exit code 2.

However, we actually add the node 14 repository:

echo "deb [signed-by=/etc/apt/trusted.gpg.d/nodesource.asc] https://deb.nodesource.com/node_14.x ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo wget -O /etc/apt/trusted.gpg.d/nodesource.asc https://deb.nodesource.com/gpgkey/nodesource.gpg.key

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant