zombienet
zombienet copied to clipboard
Error from npm package from `1.3.0` onwards
zombienet -p native spawn ...
I am getting:
throw err;
^
Error: Cannot find module '@parity/zombienet-dsl-parser-wrapper'
Require stack:
- /Users/nacho/Desktop/PARITY/Repos/parachains-integration-tests/node_modules/@parity/zombienet/dist/cli.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/nacho/Desktop/PARITY/Repos/parachains-integration-tests/node_modules/@parity/zombienet/dist/cli.js:39:56)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/nacho/Desktop/PARITY/Repos/parachains-integration-tests/node_modules/@parity/zombienet/dist/cli.js'
]
}
Node.js v17.6.0
Thank you @NachoPal
This should be fixed with https://github.com/paritytech/zombienet/pull/509 We are about to release a new version now
Hi @NachoPal, are you using zombienet
as a library in your test?
yes, I am using it as a dependancy in my package.json
yes, I am using it as a dependancy in my package.json
Can you replace that module with @zombienet/orchestrator
(0.0.7), this module expose the same start/test fns.
Thanks!!
ping @NachoPal can we close this one?
This is resolved. Please reopen if it appears again