You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ transport=webrtc-direct is_dialer=true npm run test:interop:multidim -- --build false --types false -t browser -- --browser chromium
> [email protected] test:interop:multidim
> aegir test --build false --types false -t browser -- --browser chromium
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/marten/src/go/src/github.com/libp2p/js-libp2p/interop/.aegir.js from /Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/lilconfig/dist/index.js not supported.
Instead change the require of .aegir.js in /Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/lilconfig/dist/index.js to a dynamic import() which is available in all CommonJS modules.
at Object.search (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/lilconfig/dist/index.js:207:37)
at config (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/src/config/user.js:142:38)
at Object.<anonymous> (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/src/config/user.js:162:15)
at Object.<anonymous> (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/cli.js:18:24) {
code: 'ERR_REQUIRE_ESM'
}
/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/src/config/user.js:150
throw new Error('Error finding your config file.')
^
Error: Error finding your config file.
at config (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/src/config/user.js:150:11)
at Object.<anonymous> (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/src/config/user.js:162:15)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (/Users/marten/src/go/src/github.com/libp2p/js-libp2p/node_modules/aegir/cli.js:18:24)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
Node.js v20.5.1
npm ERR! Lifecycle script `test:interop:multidim` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: [email protected]
npm ERR! at location: /Users/marten/src/go/src/github.com/libp2p/js-libp2p/interop
The text was updated successfully, but these errors were encountered:
If you run build the monorepo first then build the interop package it should resolve this issue. Closing as this issue stemmed from a seperate issue in testplans
The text was updated successfully, but these errors were encountered: