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

ModuleNotFound when other people view the sandbox. #1191

Closed
deecewan opened this issue Oct 16, 2018 · 3 comments
Closed

ModuleNotFound when other people view the sandbox. #1191

deecewan opened this issue Oct 16, 2018 · 3 comments

Comments

@deecewan
Copy link

🐛 bug report

Description of the problem

When looking at the sandbox from the edit view, everything works normally. If I go to the direct link it works, too.

However, if I open either the sandbox or the page in Incognito, or I send the sandbox link to someone else, I get a ModuleNotFoundError.

image

How has this issue affected you? What are you trying to accomplish?

Trying to show a demo of the way different locales work with pluralization in react-intl. I can't show anyone else the demo, because it only works on my machine.

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox ?
Browser Chrome
Operating System macOS Mojave
@deecewan
Copy link
Author

Hmm. So. Forking it maintains the problem. It seems to be fixed if I edit the line that is importing it.

If I remove the import { IntlProvider, FormattedMessage, addLocaleData } from "react-intl"; line, save, and re-add, it seems to work.

@amanmahajan7
Copy link

Running into the same

@CompuIves
Copy link
Member

Hey! I created a fix for this. This fix is quite intrusive so I'll need to do a bit more testing and deploy it when I have a bit more time.

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

3 participants