npm install --force not working

I have a react application that needs to run this install command npm install --force. However, cloudflare pages runs npm clean-install command even when my build command is currently this: npm install --legacy-peer-deps && npm run build
2 Replies
Chaika
Chaika8mo ago
If you want to take over the dependency install, you can set SKIP_DEPENDENCY_INSTALL to any value, ex: SKIP_DEPENDENCY_INSTALL = 1 and then do npm install --force in your build command (or whatever you want) side note: #pages-help
Rushil
RushilOP8mo ago
Thank you, this issue got resolved
Want results from more Discord servers?
Add your server