phone-number-extractor
phone-number-extractor copied to clipboard
NPM package not working
Using the module after installing it with npm install phone-number-extractor
results in the error:
Error: Cannot find module './lib/Extractor'
...
I see in the repository that index.js
points to the correct file, it's just the npm package that is broken. Could you release the latest code to npm as well?
+1
I forked the repo and did a
npm install https://github.com/komasoftware/phone-number-extractor.git
which works fine.
It's a matter of case
sensitivity. The file is actually extractor.js
must have been a mac user who authored this. it doesn't work on linux because files are case sensitive.