question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't module import

See original GitHub issue

Hi, it isn’t possible to import only one desired functionality.

Would be nice to import just one function like this: import parsePhoneNumber from 'libphonenumber-js/es6/parsePhoneNumber'

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

11reactions
catamphetaminecommented, Nov 20, 2019

Blurred beause I don’t think I can publicly show details of our project.

As if anyone cares about your project.

1reaction
hukuscommented, Nov 20, 2019

Blurred beause I don’t think I can publicly show details of our project. As for webpack, we don’t use it, we rely on Nextjs tree shaking. I will go check if nextjs has the extract commons feature or something, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't import my own modules in Python - Stack Overflow
I'm having a hard time understanding how module importing works in Python (I've never done it in any other language before either).
Read more >
ModuleNotFoundError: no module named Python Error [Fixed]
When you try to import a module in a Python file, Python tries to resolve this module in several ways. · As the...
Read more >
I can't import a module (a .py file) in my Python shell ... - Quora
If you are unable to import a module (a .py file) in your Python shell, it may be because the module is not...
Read more >
How to Fix ModuleNotFoundError and ImportError
How to fix ModuleNotFoundError and ImportError? · first make sure you are using absolute imports · export the project's root directory to ...
Read more >
Resolve "Unable to import module" errors from Python ... - AWS
I receive an "Unable to import module" error when I try to run my AWS Lambda code in Python. How do I resolve...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found