Commit 5b1175a6 authored by Guillaume Dewisme's avatar Guillaume Dewisme

new e

parent 6b15f496
Pipeline #3116 canceled with stages
...@@ -4,21 +4,19 @@ npm run deploy ...@@ -4,21 +4,19 @@ npm run deploy
> hardhat run scripts/deploy.js --network localhost > hardhat run scripts/deploy.js --network localhost
Déploiement du contrat Voting... Déploiement du contrat Voting...
Erreur détaillée: TypeError: Cannot read properties of undefined (reading 'getSigners') Erreur détaillée: TypeError: (0 , ethers_1.getAddress) is not a function
at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:12:37) at new HardhatEthersSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:73:30)
at Object.<anonymous> (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:31:1) at Function.create (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:65:12)
at Module._compile (node:internal/modules/cjs/loader:1469:14) at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1548:10) at getSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:73:29)
at Module.load (node:internal/modules/cjs/loader:1288:32) at async Promise.all (index 0)
at Function.Module._load (node:internal/modules/cjs/loader:1104:12) at getSigners (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:58:30)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:10:24)
at node:internal/main/run_main_module:28:49 Erreur lors du déploiement: TypeError: (0 , ethers_1.getAddress) is not a function
Erreur lors du déploiement: TypeError: Cannot read properties of undefined (reading 'getSigners') at new HardhatEthersSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:73:30)
at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:12:37) at Function.create (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:65:12)
at Object.<anonymous> (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:31:1) at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Module._compile (node:internal/modules/cjs/loader:1469:14) at getSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:73:29)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1548:10) at async Promise.all (index 0)
at Module.load (node:internal/modules/cjs/loader:1288:32) at getSigners (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:58:30)
at Function.Module._load (node:internal/modules/cjs/loader:1104:12) at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:10:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment