Skip to content

Conversation

@AndrewHUNGNguyen
Copy link

@AndrewHUNGNguyen AndrewHUNGNguyen commented Mar 12, 2025

Updated package.json to avoid npm errors like the below issue since react-day-picker v8.10.1 is compatible with date-fns v2.28.0 -> v^3.0.0. date-fns v.4.1.0 is not compatible with react-day-picker@8.10.1. Locally, using react-day-picker@8.10.1 doesn't work locally when I do npm i or npm i qrcode, but compiles on netlify

The commit here at 9404d25 works locally when I run the npm commands to install required packages, but fails on netlify.

image

@netlify
Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for quickkurl ready!

Name Link
🔨 Latest commit 7ed11e9
🔍 Latest deploy log https://app.netlify.com/sites/quickkurl/deploys/67d202e5f41ab50008c44fc8
😎 Deploy Preview https://deploy-preview-6--quickkurl.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@extinctsion
Copy link
Owner

I see this PR contains updating the existing library in our project. This looks good to me. Btw are you working on qr code or struck somewhere. Do we need to discuss anything?

@AndrewHUNGNguyen
Copy link
Author

I see this PR contains updating the existing library in our project. This looks good to me. Btw are you working on qr code or struck somewhere. Do we need to discuss anything?

If you mean updating existing libraries in the project as in updating react-day-picker from version 8.X.X to 9.X.X, upgrading the react-day-picker seems to cause netlify to have issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants