Skip to content
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

[QUESTION] Build from Source not working anymore 2.1.2? #1495

Closed
4 tasks done
nicedevil007 opened this issue Mar 4, 2024 · 4 comments
Closed
4 tasks done

[QUESTION] Build from Source not working anymore 2.1.2? #1495

nicedevil007 opened this issue Mar 4, 2024 · 4 comments
Assignees
Labels
🔧 Exteral issue 🤷‍♂️ Question [ISSUE] Further information is requested

Comments

@nicedevil007
Copy link

Question

Heya guys,

I have my installation on an AlmaLinux 9.3 and I was running NPM 16.x before. I used the deployment guide from here https://dashy.to/docs/deployment#build-from-source.

Now the eror is looking like this:
image

If I use version 17 I get the errors with the dependencies. (See question 1)

If I use a newer version than 17 for NPM I get this error
image

So questions are:

  1. How to get rid of these errors?
warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-import@^2.22.1".
warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.4.1".
warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react@^7.21.5".
warning " > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0".
warning "eslint-config-airbnb > eslint-config-airbnb-base@14.2.1" has unmet peer dependency "eslint-plugin-import@^2.22.1".
warning " > sass-loader@7.3.1" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
warning Workspaces can only be enabled in private projects.
  1. Is there any plan to update everything to any newer versions of NPM in the future?

I already tried useing npm (https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#yarn-error) instead of yarn, same thing here.

Category

Setup and Deployment

Please tick the boxes

@nicedevil007 nicedevil007 added the 🤷‍♂️ Question [ISSUE] Further information is requested label Mar 4, 2024
@CrazyWolf13

This comment was marked as outdated.

@Lissy93
Copy link
Owner

Lissy93 commented Mar 9, 2024

For the The engine "node" is incompatible with this module error specifically, try running with the --ignore-engines

E.g. yarn install --ignore-engines should fix this. And that will work with Node LTS (21.11.1) or later.

@CrazyWolf13 - I think since the GH actions & Docker thing, is a bug with the Alpine + Node base container, whereas OP is building from source, so shouldn't run into that issue. Ahh, the joys of Node.js 😆

@nicedevil007
Copy link
Author

For the The engine "node" is incompatible with this module error specifically, try running with the --ignore-engines

E.g. yarn install --ignore-engines should fix this. And that will work with Node LTS (21.11.1) or later.

@CrazyWolf13 - I think since the GH actions & Docker thing, is a bug with the Alpine + Node base container, whereas OP is building from source, so shouldn't run into that issue. Ahh, the joys of Node.js 😆

confirmed, works like a charm with that :)
so should we close this here or do you want to track the fix in general with this issue?

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Mar 10, 2024
@CrazyWolf13
Copy link
Collaborator

Hi
I think we can close this issue, the argument --ignore-engines is only needed on older versions, so there's not really much to do there and for the other issue when building for GH-Actions we are waiting for a upstream fix.

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 Exteral issue 🤷‍♂️ Question [ISSUE] Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants