node-datachannel: undefined symbol: EVP_MAC_fetch in Electron on Linux

I’m seeing this error on Electron in GitHub actions:

/home/runner/.cache/electron/416b9e4fe8fa4ae9903a8176cd1cba59f4b1273f87bab9aaf5ca425d2b7602fc/electron: symbol lookup error: /home/runner/work/js-libp2p/js-libp2p/node_modules/node-datachannel/build/Release/node_datachannel.node: undefined symbol: EVP_MAC_fetch

Weirdly I can’t replicate it locally on Linux or Mac OS X.

Here is the CI run: https://github.com/libp2p/js-libp2p/actions/runs/5692383157/job/15429456572?pr=1905

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 25 (25 by maintainers)

Most upvoted comments

Thanks for investigating. It’s a monorepo project with cross-dependencies between the package siblings.

From the output it looks like you’ve run npm i then npx ...(test command) in the repo root.

You need to build the project before running tests.

In the root of the repo run:

$ npm run build

After that the test command should run.

I have just release Version 0.5.0-dev https://github.com/murat-dogan/node-datachannel/releases/tag/v0.5.0-dev

It consists electron-demo project also