gregnb / gregnb/mui-datatables
Next deploy peer dependency error
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
2:36:46 AM: Build ready to start
2:36:47 AM: build-image version: d2c6dbeac570350a387d832f64bc980dc964ad65 (focal)
2:36:47 AM: build-image tag: v4.8.0
2:36:47 AM: buildbot version: 4aaa27647e859c2d38cfbb25901ceae1e7f3eeae
2:36:48 AM: Fetching cached dependencies
2:36:48 AM: Failed to fetch cache, continuing with build
2:36:48 AM: Starting to prepare the repo for build
2:36:48 AM: No cached dependencies found. Cloning fresh repo
2:36:50 AM: Preparing Git Reference refs/heads/main
2:36:51 AM: Parsing package.json dependencies
2:36:52 AM: Starting build script
2:36:52 AM: Installing dependencies
2:36:52 AM: Python version set to 2.7
2:36:52 AM: Downloading and installing node v16.15.1...
2:36:53 AM: Downloading https://nodejs.org/dist/v16.15.1/node-v16.15.1-linux-x64.tar.xz...
2:36:53 AM: Computing checksum with sha256sum
2:36:53 AM: Checksums matched!
2:36:56 AM: Now using node v16.15.1 (npm v8.11.0)
2:36:56 AM: Started restoring cached build plugins
2:36:56 AM: Finished restoring cached build plugins
2:36:56 AM: Attempting ruby version 2.7.2, read from environment
2:36:57 AM: Using ruby version 2.7.2
2:36:57 AM: Using PHP version 8.0
2:36:57 AM: No npm workspaces detected
2:36:57 AM: Started restoring cached node modules
2:36:57 AM: Finished restoring cached node modules
2:36:58 AM: Installing NPM modules using NPM version 8.11.0
2:36:58 AM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
2:36:58 AM: npm WARN config location in the cache, and they are managed by
2:36:58 AM: npm WARN config [`cacache`](http://npm.im/cacache).
2:36:58 AM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
2:36:58 AM: npm WARN config location in the cache, and they are managed by
2:36:58 AM: npm WARN config [`cacache`](http://npm.im/cacache).
2:36:59 AM: npm ERR! code ERESOLVE
2:36:59 AM: npm ERR! ERESOLVE could not resolve
2:36:59 AM: npm ERR!
2:36:59 AM: npm ERR! While resolving: react-codemirror2@7.2.1
2:36:59 AM: Creating deploy upload records
2:36:59 AM: npm ERR! Found: react@17.0.2
2:36:59 AM: npm ERR! node_modules/react
2:36:59 AM: npm ERR! react@"^17.0.2" from the root project
2:36:59 AM: npm ERR! peer react@">=16.8.0" from @emotion/react@11.7.1
2:36:59 AM: npm ERR! node_modules/@emotion/react
2:36:59 AM: npm ERR! @emotion/react@"^11.7.1" from the root project
2:36:59 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
2:36:59 AM: npm ERR! peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.6.0
2:36:59 AM: npm ERR! node_modules/@emotion/styled
2:36:59 AM: npm ERR! @emotion/styled@"^11.6.0" from the root project
2:36:59 AM: npm ERR! 3 more (@mui/material, @mui/styled-engine, @mui/system)
2:36:59 AM: npm ERR! 3 more (@mui/material, @mui/styled-engine, @mui/system)
2:36:59 AM: npm ERR! 28 more (@emotion/styled, @mui/base, @mui/icons-material, ...)
2:36:59 AM: npm ERR!
2:36:59 AM: npm ERR! Could not resolve dependency:
2:36:59 AM: npm ERR! peer react@">=15.5 <=16.x" from react-codemirror2@7.2.1
2:36:59 AM: npm ERR! node_modules/react-codemirror2
2:36:59 AM: npm ERR! react-codemirror2@"^7.2.1" from the root project
2:36:59 AM: npm ERR!
2:36:59 AM: npm ERR! Conflicting peer dependency: react@16.14.0
2:36:59 AM: npm ERR! node_modules/react
2:36:59 AM: npm ERR! peer react@">=15.5 <=16.x" from react-codemirror2@7.2.1
2:36:59 AM: npm ERR! node_modules/react-codemirror2
2:36:59 AM: npm ERR! react-codemirror2@"^7.2.1" from the root project
2:36:59 AM: npm ERR!
2:36:59 AM: npm ERR! Fix the upstream dependency conflict, or retry
2:36:59 AM: npm ERR! this command with --force, or --legacy-peer-deps
2:36:59 AM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
2:36:59 AM: npm ERR!
2:36:59 AM: npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report.
2:36:59 AM: npm ERR! A complete log of this run can be found in:
2:36:59 AM: npm ERR! /opt/buildhome/.npm/_logs/2022-06-05T01_36_58_886Z-debug-0.log
2:36:59 AM: Error during NPM install
2:36:59 AM: Build was terminated: Build script returned non-zero exit code: 1
2:36:59 AM: Failing build: Failed to build site
2:37:00 AM: Finished processing build request in 12.078180206s
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the dependencies in package.json and reproduce the npm install using the Node and npm versions shown in the deploy log. Investigate the conflict between react-codemirror2@7.2.1 and React 17, then verify that dependency installation and the Next deploy complete successfully without the ERESOLVE error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100