gatsby-starter-prismic icon indicating copy to clipboard operation
gatsby-starter-prismic copied to clipboard

Dependency in Gatsby-Starter-Prismic

Open ajhendelmarshmallo opened this issue 3 years ago • 0 comments

I got an error when I executed npm run build in Netlify. I believe there is a dependency with cypress that is problematic. I also got an error when I tried npm run build --force

12:48:56 PM: Installing NPM modules using NPM version 8.1.2 12:49:01 PM: npm ERR! code ERESOLVE 12:49:01 PM: npm ERR! ERESOLVE unable to resolve dependency tree 12:49:01 PM: npm ERR! 12:49:01 PM: npm ERR! While resolving: [email protected] 12:49:01 PM: npm ERR! Found: [email protected] 12:49:01 PM: npm ERR! node_modules/cypress 12:49:01 PM: npm ERR! dev cypress@"^4.5.0" from the root project 12:49:01 PM: npm ERR! 12:49:01 PM: npm ERR! Could not resolve dependency: 12:49:01 PM: npm ERR! peer cypress@"^3.1.0" from [email protected] 12:49:01 PM: npm ERR! node_modules/gatsby-cypress 12:49:01 PM: npm ERR! dev gatsby-cypress@"^0.2.24" from the root project 12:49:01 PM: npm ERR! 12:49:01 PM: npm ERR! Fix the upstream dependency conflict, or retry 12:49:01 PM: npm ERR! this command with --force, or --legacy-peer-deps 12:49:01 PM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution. 12:49:01 PM: npm ERR! 12:49:01 PM: npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report. 12:49:01 PM: npm ERR! A complete log of this run can be found in: 12:49:01 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-12-30T20_49_01_464Z-debug.log

ajhendelmarshmallo avatar Dec 30 '21 20:12 ajhendelmarshmallo