Open ergunpp opened 10 months ago
Having the same issue. Any luck?
https://github.com/parcel-bundler/watcher/issues/156 is the cause of the issue and it looks like AWS Amplify my have patched it be downgrading this package version, not sure if they've released the patch yet though.
Hi, I am using gatsbyjs for a project and deploy it using aws/amplify. When building I get the following error. Does anybody konow how to solve it?
Starting phase: preBuild
2023-11-15T17:20:34.345Z [WARNING]: npm WARN ERESOLVE overriding peer dependency 2023-11-15T17:20:34.346Z [WARNING]: npm WARN While resolving: react-server-dom-webpack@0.0.0-experimental-c8b778b7f-20220825 npm WARN Found: react@18.2.0 npm WARN node_modules/react npm WARN react@"^18.2.0" from the root project npm WARN 12 more (@contentful/rich-text-react-renderer, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"0.0.0-experimental-c8b778b7f-20220825" from react-server-dom-webpack@0.0.0-experimental-c8b778b7f-20220825 npm WARN node_modules/react-server-dom-webpack npm WARN react-server-dom-webpack@"0.0.0-experimental-c8b778b7f-20220825" from gatsby@5.12.9 npm WARN node_modules/gatsby npm WARN npm WARN Conflicting peer dependency: react@0.0.0-experimental-c8b778b7f-20220825 npm WARN node_modules/react npm WARN peer react@"0.0.0-experimental-c8b778b7f-20220825" from react-server-dom-webpack@0.0.0-experimental-c8b778b7f-20220825 npm WARN node_modules/react-server-dom-webpack npm WARN react-server-dom-webpack@"0.0.0-experimental-c8b778b7f-20220825" from gatsby@5.12.9 npm WARN node_modules/gatsby 2023-11-15T17:20:40.247Z [INFO]: up to date, audited 1420 packages in 8s 2023-11-15T17:20:40.250Z [INFO]: 254 packages are looking for funding run
npm fund
for details 2023-11-15T17:20:40.407Z [INFO]: 15 moderate severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Runnpm audit
for details. 2023-11-15T17:20:40.420Z [INFO]: # Executing command: npm ci 2023-11-15T17:20:41.608Z [WARNING]: npm 2023-11-15T17:20:41.609Z [WARNING]: WARN ERESOLVE overriding peer dependency 2023-11-15T17:20:41.609Z [WARNING]: npm 2023-11-15T17:20:41.610Z [WARNING]: WARN While resolving: react-server-dom-webpack@0.0.0-experimental-c8b778b7f-20220825 npm WARN Found: react@18.2.0 npm 2023-11-15T17:20:41.610Z [WARNING]: WARN node_modules/react npm WARN 2023-11-15T17:20:41.610Z [WARNING]: react@"^18.2.0" from the root project npm WARN 12 more (@contentful/rich-text-react-renderer, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"0.0.0-experimental-c8b778b7f-20220825" from react-server-dom-webpack@0.0.0-experimental-c8b778b7f-20220825 2023-11-15T17:20:41.610Z [WARNING]: npm WARN node_modules/react-server-dom-webpack npm WARN react-server-dom-webpack@"0.0.0-experimental-c8b778b7f-20220825" from gatsby@5.12.9 npm WARN node_modules/gatsby npm WARN 2023-11-15T17:20:41.610Z [WARNING]: npm WARN Conflicting peer dependency: react@0.0.0-experimental-c8b778b7f-20220825 npm WARN node_modules/react npm WARN peer react@"0.0.0-experimental-c8b778b7f-20220825" from react-server-dom-webpack@0.0.0-experimental-c8b778b7f-20220825 npm WARN node_modules/react-server-dom-webpack npm WARN react-server-dom-webpack@"0.0.0-experimental-c8b778b7f-20220825" from gatsby@5.12.9 npm WARN node_modules/gatsby 2023-11-15T17:20:57.972Z [WARNING]: npm 2023-11-15T17:20:57.975Z [WARNING]: WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. 2023-11-15T17:21:11.566Z [WARNING]: npm 2023-11-15T17:21:11.569Z [WARNING]: WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained 2023-11-15T17:21:11.578Z [WARNING]: npm 2023-11-15T17:21:11.578Z [WARNING]: WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained 2023-11-15T17:21:11.895Z [WARNING]: npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained 2023-11-15T17:21:11.949Z [WARNING]: npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained 2023-11-15T17:21:12.991Z [WARNING]: npm WARN deprecated 2023-11-15T17:21:12.992Z [WARNING]: @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. 2023-11-15T17:21:12.994Z [WARNING]: npm 2023-11-15T17:21:12.995Z [WARNING]: 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. 2023-11-15T17:21:13.019Z [WARNING]: 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. 2023-11-15T17:21:13.042Z [WARNING]: 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. 2023-11-15T17:21:13.073Z [WARNING]: npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. 2023-11-15T17:21:13.489Z [WARNING]: npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411) 2023-11-15T17:21:59.674Z [INFO]: added 1414 packages, and audited 1415 packages in 1m 2023-11-15T17:21:59.676Z [INFO]: 253 packages are looking for funding runnpm fund
for details 2023-11-15T17:21:59.899Z [INFO]: 15 moderate severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Runnpm audit
for details. 2023-11-15T17:21:59.943Z [INFO]: # Completed phase: preBuildStarting phase: build
2023-11-15T17:22:00.213Z [INFO]: > gatsby-starter-hello-world@0.1.0 build