npm warn using --force Recommended protections disabled.
> voting-dapp@1.0.0 deploy
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
> hardhat run scripts/deploy.js --network localhost
npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
Déploiement du contrat Voting...
npm warn deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
Erreur détaillée: TypeError: (0 , ethers_1.getAddress) is not a function
npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
at new HardhatEthersSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:73:30)
npm warn deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
at Function.create (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:65:12)
npm warn deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
at processTicksAndRejections (node:internal/process/task_queues:95:5)
npm warn deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
at getSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:73:29)
npm warn deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
at async Promise.all (index 0)
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
at getSigners (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:58:30)
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:10:24)
npm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
Erreur lors du déploiement: TypeError: (0 , ethers_1.getAddress) is not a function
npm warn deprecated har-validator@5.1.5: this library is no longer supported
at new HardhatEthersSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:73:30)
npm warn deprecated @babel/plugin-proposal-private-property-in-object@7.21.11: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
at Function.create (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\signers.ts:65:12)
npm warn deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
at processTicksAndRejections (node:internal/process/task_queues:95:5)
npm warn deprecated
at getSigner (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:73:29)
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
at async Promise.all (index 0)
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
at getSigners (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\node_modules\@nomicfoundation\hardhat-ethers\src\internal\helpers.ts:58:30)
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:10:24)
npm warn deprecated domexception@2.0.1: Use your platform's native DOMException instead
npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm warn deprecated yaeti@0.0.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
npm warn tar TAR_ENTRY_ERROR EPERM: operation not permitted, unlink 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend\node_modules\web3modal\node_modules\react-dom\cjs\react-dom.profiling.min.js.DELETE.99ccd2e69dd36d1c882f12a0d607bd36'
npm warn tar TAR_ENTRY_ERROR EPERM: operation not permitted, unlink 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend\node_modules\postcss-svgo\node_modules\css-tree\lib\syntax\config\parser.js.DELETE.9e015ad5873fa4a9d159ae8092ac3205'
npm warn tar TAR_ENTRY_ERROR EPERM: operation not permitted, unlink 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend\node_modules\eslint-plugin-react\node_modules\resolve\test\resolver\nested_symlinks\mylib\package.json.DELETE.cdc091dce64f8f9636eb10107a13c6ab'
npm warn tar TAR_ENTRY_ERROR EPERM: operation not permitted, unlink 'C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\frontend\node_modules\core-js-pure\es\object\assign.js.DELETE.f7746d6468e085fb4760920fd609c1bc'