-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi. I just started using this plugin and my Netlifty deploys fail because of the conflicting peer dependency @sanity/ui v. 0.36.17
7:52:53 PM: npm ERR! Found: @sanity/[email protected]
7:52:53 PM: npm ERR! node_modules/@sanity/ui
7:52:53 PM: npm ERR! @sanity/ui@"^0.37.2" from @sanity/[email protected]
7:52:53 PM: npm ERR! node_modules/@sanity/base
7:52:53 PM: npm ERR! @sanity/base@"^2.27.2" from the root project
7:52:53 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
7:52:53 PM: npm ERR! peer @sanity/base@"^2.0.0" from @sanity/[email protected]
7:52:53 PM: npm ERR! node_modules/@sanity/dashboard
7:52:53 PM: npm ERR! @sanity/dashboard@"^2.29.2" from the root project
7:52:53 PM: npm ERR! 6 more (@sanity/default-layout, @sanity/desk-tool, ...)
7:52:53 PM: npm ERR! @sanity/ui@"^0.37.2" from @sanity/[email protected]
7:52:53 PM: npm ERR! node_modules/@sanity/dashboard
7:52:53 PM: npm ERR! @sanity/dashboard@"^2.29.2" from the root project
7:52:53 PM: npm ERR! 6 more (@sanity/default-layout, @sanity/default-login, ...)
7:52:53 PM: npm ERR!
7:52:53 PM: npm ERR! Could not resolve dependency:
7:52:53 PM: npm ERR! sanity-plugin-dashboard-widget-netlify@"^1.2.1" from the root project
7:52:53 PM: npm ERR!
7:52:53 PM: npm ERR! Conflicting peer dependency: @sanity/[email protected]
7:52:53 PM: npm ERR! node_modules/@sanity/ui
7:52:53 PM: npm ERR! peer @sanity/ui@"^0.36.12" from [email protected]
7:52:53 PM: npm ERR! node_modules/sanity-plugin-dashboard-widget-netlify
7:52:53 PM: npm ERR! sanity-plugin-dashboard-widget-netlify@"^1.2.1" from the root project
7:52:53 PM: npm ERR!
7:52:53 PM: npm ERR! Fix the upstream dependency conflict, or retry
7:52:53 PM: npm ERR! this command with --force, or --legacy-peer-deps
7:52:53 PM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
7:52:53 PM: npm ERR!
7:52:53 PM: npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report.
7:52:53 PM: npm ERR! A complete log of this run can be found in:
7:52:53 PM: npm ERR! /opt/buildhome/.npm/_logs/2022-04-03T18_52_50_009Z-debug-0.log
7:52:53 PM: Error during NPM install
7:52:53 PM: Build was terminated: Build script returned non-zero exit code: 1
7:52:53 PM: Failing build: Failed to build site
7:52:53 PM: Finished processing build request in 9.193144098s
I've been forced to use the --legacy-peer-deps
install option to make the site build on my local environment but I don't know of a way to influence the npm install
operation on Netlify.
ringods, rob-feat, RamZallan, afrenker, singleportrait and 2 more
Metadata
Metadata
Assignees
Labels
No labels