Closed amir-beheshty closed 6 years ago
I did the following per readme instructions: npm install libphonenumber-js --save
npm install libphonenumber-js --save
In JS file: import { parseNumber } from 'libphonenumber-js';
import { parseNumber } from 'libphonenumber-js'
However I get the following error when I invoke parseNumber:
parseNumber
(0 , _libphonenumberJs.parseNumber) is not a function
The source code on Github does not match the source code I obtain after executing npm install ....
npm install ...
That's strange. Because parseNumber is exported. You can make up a minimal sample project illustrating and issue, post it to github and post here the link with reproduction instructions.
I did the following per readme instructions:
npm install libphonenumber-js --save
In JS file:
import { parseNumber } from 'libphonenumber-js'
;However I get the following error when I invoke
parseNumber
:The source code on Github does not match the source code I obtain after executing
npm install ...
.