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
Chaika7mo 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
RushilOP7mo ago
Thank you, this issue got resolved
Want results from more Discord servers?
Add your server