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.

Cannot import from react-activity-feed 1.0

See original GitHub issue

Getting the following error when compiling app in Docker, running locally in a dev environment is fine no issues.

Module '"react-activity-feed"' has no exported member 'useFeedContext'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mahboubiicommented, May 12, 2021

@ellioseven @yumoraby Thanks for reporting this issue, please bump to v1.0.1.

0reactions
elliosevencommented, May 12, 2021

I managed to solve the moment.js warnings by pinning the moment.js version in package.json:

"resolutions": {
  "moment": "^2.29.1"
}

However, I’m still seeing the context difference in src and dist. @yumoraby Perhaps other OS’s aren’t case sensitive, so users only Linux will see this when consuming anything in context?

@mahboubii I can see context was previously named Context in previous commits. Maybe the package needs to be rebuilt then pushed to npm?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What can I do about "ImportError: Cannot import name X" or ...
You have circular dependent imports. physics.py is imported from entity before class Ent ... You will get Import Error: ImportError: cannot import name...
Read more >
How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >
ImportError: cannot import name 'TabularPrediction ... - GitHub
but I could not import the TabularPrediction and got this error: ... backports.shutil-get-terminal-size==1.0.0 basemap==1.2.1
Read more >
Cannot import TabularPrediction from AutoGluon
ImportError: cannot import name 'TabularPrediction' from 'autogluon' (unknown location). This happens when AutoGluon is installed via a ...
Read more >
Import error for gen_rul_payload from searchtweets
I have installed searchtweets but it is showing error while importing ImportError: cannot import name 'gen_rule_payload' from 'searchtweets'
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