From 73cec50b58391f163c7b5a3b5c90864dc8cce259 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 11 Jun 2024 13:14:56 +0200 Subject: [PATCH] fix hardhat e2e --- apps/remix-ide-e2e/src/tests/remixd.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/remixd.test.ts b/apps/remix-ide-e2e/src/tests/remixd.test.ts index 28744fbc57..c09505d365 100644 --- a/apps/remix-ide-e2e/src/tests/remixd.test.ts +++ b/apps/remix-ide-e2e/src/tests/remixd.test.ts @@ -339,7 +339,7 @@ function connectRemixd(browser: NightwatchBrowser, done: any) { async function setupHardhatProject(): Promise { console.log(process.cwd()) try { - const server = spawn('git clone https://github.com/NomicFoundation/hardhat-boilerplate && cd hardhat-boilerplate && yarn install && echo "END"', [], { cwd: process.cwd() + '/apps/remix-ide', shell: true, detached: true }) + const server = spawn('git clone https://github.com/NomicFoundation/hardhat-boilerplate && cd hardhat-boilerplate && yarn install && yarn add "@typechain/ethers-v5@^10.1.0" && yarn add "@typechain/hardhat@^6.1.2" && yarn add "typechain@^8.1.0" && echo "END"', [], { cwd: process.cwd() + '/apps/remix-ide', shell: true, detached: true }) return new Promise((resolve, reject) => { server.on('exit', function (exitCode) { console.log("Child exited with code: " + exitCode);