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

Incompatible dependency [email protected] #5650

Closed
AlexRuiz7 opened this issue Jul 10, 2023 · 1 comment · Fixed by #5651, #5652 or #5653
Closed

Incompatible dependency [email protected] #5650

AlexRuiz7 opened this issue Jul 10, 2023 · 1 comment · Fixed by #5651, #5652 or #5653
Assignees
Labels
level/task Task issue request/operational Operational requests type/bug Bug issue

Comments

@AlexRuiz7
Copy link
Member

Wazuh Elastic Rev
4.4.5 7.10.2 01

Description

triple-beam 1.4.0 has been released a few hours ago. This new version is incompatible with the Node version for our plugin for Kibana 7.10.2.

Our plugin build correctly last Friday, before this new version was released. Today, the building fails.

triple-beam is a dependency of winston, which we use in the plugin.

09:46:34  [2/4] Fetching packages...
09:46:34  error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 16.0.0". Got "10.23.1"
09:46:34  error Found incompatible module.

Sources

triple-beam
winston

@AlexRuiz7 AlexRuiz7 added type/bug Bug issue request/operational Operational requests level/task Task issue labels Jul 10, 2023
@wazuhci wazuhci moved this to Backlog in Release 4.4.5 Jul 10, 2023
@Desvelao Desvelao linked a pull request Jul 10, 2023 that will close this issue
6 tasks
@Desvelao Desvelao linked a pull request Jul 10, 2023 that will close this issue
6 tasks
@wazuhci wazuhci moved this from Backlog to In review in Release 4.4.5 Jul 10, 2023
@Desvelao Desvelao mentioned this issue Jul 10, 2023
6 tasks
@Desvelao Desvelao linked a pull request Jul 10, 2023 that will close this issue
6 tasks
@Desvelao
Copy link
Member

Desvelao commented Jul 10, 2023

Research

Platform NodeJS version Winston version triple-beam version
Kibana 7.10.2 10.23.1 3.5.1 ^1.3.0
Kibana 7.16-7.17 16.13.0 3.9.0 ^1.3.0
Wazuh dashboard 14.20.1 3.5.1 ^1.3.0

The problem is caused because the package manager is resolving the version of triple-beam sub-dependency to version 1.4.0 that has specified the NodeJS engine. https://github.com/winstonjs/triple-beam/blob/v1.4.0/package.json#L38.

There was a new release (1.4.0) for the triple-beam package 3 hours ago.
image

@wazuhci wazuhci moved this from In review to Pending final review in Release 4.4.5 Jul 10, 2023
@wazuhci wazuhci moved this from Pending final review to Done in Release 4.4.5 Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue request/operational Operational requests type/bug Bug issue
Projects
No open projects
Status: Done
2 participants