Skip to content

Failing Master Branch (error:0308010C:digital envelope routines::unsupported) #342

@hacdias

Description

@hacdias

The code in the master branch is failing after #340 was merged, even though #340 passed. The problem is the version in which Node.js is running in CI.

So it seems the Node.js LTS version has changed recently, and we have a bunch of extremely outdated dependencies that are likely not compatible with the newest Node.js versions (such as Webpack):

Checking /Users/hacdias/Code/ipfs/ipld-explorer-components/package.json

 @babel/cli                                ^7.13.14  →   ^7.19.3
 @ipld/car                                   ^4.1.0  →    ^5.0.0
 @ipld/dag-cbor                              ^7.0.2  →    ^8.0.0
 @ipld/dag-json                             ^8.0.10  →    ^9.0.1
 @loadable/component                        ^5.14.1  →   ^5.15.2
 cytoscape                                  ^3.18.1  →   ^3.23.0
 cytoscape-dagre                             ^2.3.2  →    ^2.5.0
 filesize                                    ^6.1.0  →   ^10.0.5
 ipfs-unixfs                                 ^4.0.1  →    ^8.0.0
 ipld-git                                     0.6.4  →     0.6.6
 multiformats                                ^9.7.0  →   ^10.0.2
 react-joyride                               ^2.3.0  →    ^2.5.3
 @babel/core                               ^7.13.15  →   ^7.20.2
 @babel/plugin-proposal-class-properties    ^7.13.0  →   ^7.18.6
 @babel/preset-env                         ^7.13.15  →   ^7.20.2
 @babel/preset-react                       ^7.13.13  →   ^7.18.6
 @commitlint/cli                            ^16.2.3  →   ^17.2.0
 @commitlint/config-conventional            ^16.2.1  →   ^17.2.0
 @ipld/dag-pb                               ^2.1.17  →    ^3.0.0
 @semantic-release/github                    ^8.0.4  →    ^8.0.6
 @storybook/addon-a11y                      ^5.3.21  →   ^6.5.13
 @storybook/addon-actions                   ^5.3.21  →   ^6.5.13
 @storybook/addon-links                     ^5.3.21  →   ^6.5.13
 @storybook/addons                          ^5.3.21  →   ^6.5.13
 @storybook/react                           ^5.3.21  →   ^6.5.13
 @types/jest                                ^28.1.4  →   ^29.2.2
 cross-env                                   ^6.0.0  →    ^7.0.3
 eslint                                      ^6.5.1  →   ^8.27.0
 eslint-config-standard                     ^14.1.1  →   ^17.0.0
 eslint-config-standard-react                ^9.2.0  →   ^12.0.0
 eslint-plugin-import                       ^2.22.1  →   ^2.26.0
 eslint-plugin-node                         ^10.0.0  →   ^11.1.0
 eslint-plugin-promise                       ^4.3.1  →    ^6.1.1
 eslint-plugin-react                        ^7.23.0  →  ^7.31.10
 i18next                                   ^21.6.16  →   ^22.0.4
 i18next-browser-languagedetector             6.1.4  →     7.0.1
 i18next-chained-backend                      3.0.2  →     4.0.0
 i18next-http-backend                         1.4.0  →     2.0.1
 i18next-localstorage-backend                 3.1.3  →     4.0.0
 intl-messageformat                         ^9.12.0  →   ^10.2.1
 ipfs-css                                    ^1.3.0  →    ^1.4.0
 react                                     ^16.14.0  →   ^18.2.0
 react-dom                                 ^16.14.0  →   ^18.2.0
 react-helmet                                ^5.2.1  →    ^6.1.0
 react-i18next                            ^11.16.5   →   ^12.0.0
 react-scripts                               ^4.0.3  →    ^5.0.1
 redux-bundler                              ^26.1.0  →   ^28.0.3
 semantic-release                           ^19.0.2  →   ^19.0.5
 standard                                   ^14.3.4  →   ^17.0.0
 webpack                                    ^4.46.0  →   ^5.74.0

Run ncu -u to upgrade package.json

I took the care to triage this PR with P1 as I think this should be solved ASAP. cc @ipfs/gui-dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps upeffort/daysEstimated to take multiple days, but less than a weekexp/expertHaving worked on the specific codebase is importantreleased

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions