Update dependency replace-in-file to v8 #483
Build Failed
Build failed
Details
2025-03-03T09:18:29.028Z | yarn install v1.22.19
2025-03-03T09:18:29.124Z | [1/4] Resolving packages...
2025-03-03T09:18:29.785Z | [2/4] Fetching packages...
2025-03-03T09:18:59.391Z | [3/4] Linking dependencies...
2025-03-03T09:18:59.394Z | warning " > @typescript-eslint/eslint-plugin@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
2025-03-03T09:18:59.394Z | warning "@typescript-eslint/eslint-plugin > @typescript-eslint/type-utils@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
2025-03-03T09:18:59.394Z | warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
2025-03-03T09:18:59.394Z | warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils > @eslint-community/eslint-utils@4.4.0" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || >=8.0.0".
2025-03-03T09:18:59.395Z | warning " > @typescript-eslint/parser@6.21.0" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
2025-03-03T09:18:59.395Z | warning " > @web3modal/wagmi@3.5.4" has unmet peer dependency "@wagmi/core@>=1".
2025-03-03T09:18:59.397Z | warning " > react-input-autosize@3.0.0" has incorrect peer dependency "react@^16.3.0 || ^17.0.0".
2025-03-03T09:18:59.399Z | warning " > @babel/plugin-proposal-private-property-in-object@7.21.11" has unmet peer dependency "@babel/core@^7.0.0-0".
2025-03-03T09:18:59.399Z | warning "@babel/plugin-proposal-private-property-in-object > @babel/helper-create-class-features-plugin@7.23.7" has unmet peer dependency "@babel/core@^7.0.0".
2025-03-03T09:18:59.399Z | warning "@babel/plugin-proposal-private-property-in-object > @babel/plugin-syntax-private-property-in-object@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
2025-03-03T09:18:59.399Z | warning "@babel/plugin-proposal-private-property-in-object > @babel/helper-create-class-features-plugin > @babel/helper-replace-supers@7.22.20" has unmet peer dependency "@babel/core@^7.0.0".
2025-03-03T09:18:59.399Z | warning " > @testing-library/cypress@9.0.0" has incorrect peer dependency "cypress@^12.0.0".
2025-03-03T09:18:59.399Z | warning " > @testing-library/user-event@14.5.2" has unmet peer dependency "@testing-library/dom@>=7.21.4".
2025-03-03T09:18:59.399Z | warning " > @typechain/ethers-v5@11.1.2" has unmet peer dependency "@ethersproject/abi@^5.0.0".
2025-03-03T09:18:59.399Z | warning " > @typechain/ethers-v5@11.1.2" has unmet peer dependency "@ethersproject/providers@^5.0.0".
2025-03-03T09:18:59.403Z | warning "react-scripts > eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
2025-03-03T09:18:59.403Z | warning "react-scripts > eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
2025-03-03T09:19:38.208Z | [4/4] Building fresh packages...
2025-03-03T09:19:50.121Z | $ yarn fix-dev-issues
2025-03-03T09:19:50.275Z | yarn run v1.22.19
2025-03-03T09:19:50.306Z | $ node dev-scripts/copy-localhost-data.js && node dev-scripts/generate-typechain-artifacts.js && node dev-scripts/scss-ts-hack.js
2025-03-03T09:19:50.384Z | /workspace/dev-scripts/utils.js:3
2025-03-03T09:19:50.384Z | const replace = require('replace-in-file');
2025-03-03T09:19:50.384Z | ^
2025-03-03T09:19:50.384Z | Error [ERR_REQUIRE_ESM]: require() of ES Module /workspace/node_modules/replace-in-file/index.js from /workspace/dev-scripts/utils.js not supported.
2025-03-03T09:19:50.384Z | Instead change the require of index.js in /workspace/dev-scripts/utils.js to a dynamic import() which is available in all CommonJS modules.
2025-03-03T09:19:50.384Z | at Object. (/workspace/dev-scripts/utils.js:3:17)
2025-03-03T09:19:50.384Z | at Object. (/workspace/dev-scripts/copy-localhost-data.js:9:40) {
2025-03-03T09:19:50.384Z | code: 'ERR_REQUIRE_ESM'
2025-03-03T09:19:50.384Z | }
2025-03-03T09:19:50.384Z | Node.js v18.13.0
2025-03-03T09:19:50.400Z | error Command failed with exit code 1.
2025-03-03T09:19:50.400Z | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2025-03-03T09:19:50.419Z | error Command failed with exit code 1.
2025-03-03T09:19:50.419Z | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2025-03-03T09:19:50.458Z | Dist directory does not exist