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

[react-native-web] Cannot assign to read only property #204

Closed
sabaturgay opened this issue Jun 24, 2019 · 2 comments
Closed

[react-native-web] Cannot assign to read only property #204

sabaturgay opened this issue Jun 24, 2019 · 2 comments

Comments

@sabaturgay
Copy link

sabaturgay commented Jun 24, 2019

Short Description

Hi,
When I used the component with react-native-web. There is an error like ' Cannot assign to read only property 'exports' of object '#'. Then I just changed your export type like module.exports to export const in constant.js file. I tried it worked. If you can change this in the repo , it will be nice.
Thank you for your time.

Additional Information

@testshallpass testshallpass changed the title React-native-web support [react-native-web] Cannot assign to read only property Jun 28, 2019
@testshallpass testshallpass added bug and removed task labels Jun 28, 2019
@testshallpass
Copy link
Owner

Okay I will adopt export as defined: https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/export similar to what you said.

@sabaturgay
Copy link
Author

Okay I will adopt export as defined: https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/export similar to what you said.

Thank you. I will try it as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants