Locally I am able to install packages, build and run using pnpm.
When deploying to render I am getting errors like this one:
npm ERR! code ERESOLVE
Aug 26 08:07:55 PMnpm ERR! ERESOLVE unable to resolve dependency tree
Aug 26 08:07:55 PMnpm ERR!
Aug 26 08:07:55 PMnpm ERR! While resolving: frontend@0.1.0
Aug 26 08:07:55 PMnpm ERR! Found: react@18.3.1
Aug 26 08:07:55 PMnpm ERR! node_modules/react
Aug 26 08:07:55 PMnpm ERR! react@"^18.2.0" from the root project
Aug 26 08:07:55 PMnpm ERR!
Aug 26 08:07:55 PMnpm ERR! Could not resolve dependency:
Aug 26 08:07:55 PMnpm ERR! peer react@"^16.8.0 || ^17.0.0" from react-toast-notifications@2.5.1
Aug 26 08:07:55 PMnpm ERR! node_modules/react-toast-notifications
Aug 26 08:07:55 PMnpm ERR! react-toast-notifications@"^2.4.0" from the root project
Aug 26 08:07:55 PMnpm ERR!
Aug 26 08:07:55 PMnpm ERR! Fix the upstream dependency conflict, or retry
Aug 26 08:07:55 PMnpm ERR! this command with --force or --legacy-peer-deps
Aug 26 08:07:55 PMnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Aug 26 08:07:55 PMnpm ERR!
Aug 26 08:07:55 PMnpm ERR!
Aug 26 08:07:55 PMnpm ERR! For a full report see:
Aug 26 08:07:55 PMnpm ERR! /opt/render/.cache/_logs/2024-08-27T00_07_50_923Z-eresolve-report.txt
Aug 26 08:07:55 PM
Aug 26 08:07:55 PM
from what I can tell, an npm audit is running prior to my build command. Is there anyway to bypass this npm audit so that my build command can run and dependencies can be installed via pnpm?