rottenroyR
Denoβ€’15mo agoβ€’
1 reply
rottenroy

Error occurs when using React third-party component library

I want to use react-phone-number-input component in my project, but it gives error when I incorporate the component in my code. Picture 1 is the error it gives in browser and picture 2 is the error it gives in terminal. I wonder if anyone knows what's going on here or knows how to properly include third-party component library in the project?

I created a small project to reproduce the error I got just for referrence: https://github.com/MingdaMa/fresh-react-third-party-library
Screenshot_2024-10-28_at_11.49.41_AM.png
Screenshot_2024-10-28_at_2.21.07_PM.png
GitHub
Contribute to MingdaMa/fresh-react-third-party-library development by creating an account on GitHub.
GitHub - MingdaMa/fresh-react-third-party-library
Was this page helpful?