Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Webpack) export 'isPossiblePhoneNumber' was not found in 'react-phone-number-input' #310

Open
alexsegura opened this issue Jan 7, 2020 · 4 comments

Comments

@alexsegura
Copy link

Hi,

It happens in 2.5.x & 3.x. I'm using Webpack. You can see the source code here

I tried using like this:

import { isPossiblePhoneNumber } from 'react-phone-number-input'

Capture d’écran 2020-01-07 à 12 53 23

@catamphetamine
Copy link
Owner

Strange warning.
My tests show that isPossiblePhoneNumber is exported.

@DinAlla
Copy link

DinAlla commented Jan 14, 2020

Try to reinstall lib.

@catamphetamine catamphetamine changed the title export "isPossiblePhoneNumber" was not found (Webpack) export 'isPossiblePhoneNumber' was not found in 'react-phone-number-input' Feb 5, 2020
@cgimenes
Copy link

cgimenes commented May 12, 2023

Try changing it to import { isPossiblePhoneNumber } from 'react-phone-number-input/input'

@catamphetamine
Copy link
Owner

catamphetamine commented May 12, 2023 via email

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

No branches or pull requests

4 participants