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

NPM package not working #6

Open
mkraeva-astea opened this issue Sep 5, 2017 · 4 comments
Open

NPM package not working #6

mkraeva-astea opened this issue Sep 5, 2017 · 4 comments

Comments

@mkraeva-astea
Copy link

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?

@komasoftware
Copy link

+1

@komasoftware
Copy link

I forked the repo and did a

npm install https://github.com/komasoftware/phone-number-extractor.git

which works fine.

@shamoons
Copy link

It's a matter of case sensitivity. The file is actually extractor.js

@ralyodio
Copy link

must have been a mac user who authored this. it doesn't work on linux because files are case sensitive.

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