-
Notifications
You must be signed in to change notification settings - Fork 958
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
Webpack config issue after manual install of 4.3.1 #763
Comments
You don’t need linking but you do need a package |
I just tried this. It produces the same compilation error. I have updated the test repo. |
Note: the error is not present with an install of 4.2.0. |
@AndyHubert do you mean this one?
|
@AndyHubert I can back to this later, but I believe proper webpack config should resolve this |
Yes - that is the error I am receiving. |
I receive exactly the same error using 4.3.1 |
I've tried copying the
Installing v4.2 works okay, which is interesting. I'm working on a new, ejected expo project and this version is working as expected... which is kind of unexpected, though. |
I've got this working in a bare expo project with this configuration. Consider using it as a temporary solution. I can back to this issue later, maybe in the next patch release. |
You might wanna add env mode, otherwise you might encounter build errors.. module.exports = async function (env, argv) { |
FYI: version "react-native-ui-kitten": "4.2.0", |
BTW same issue with
|
@gianpaj configuring webpack in the way I described above will fix this, but this is a temporary solution.
It's not changed, but deprecated and will be no longer maintained after v5 |
Got this fixed in 4.3.2 🎉 |
Awesome! 💪 thanks a lot. I've tested and the icons and components work great on expo web 💃 |
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
After a fresh install of
expo
and then a manual install of UI Kitten, a webpack-related compilation error is the result when run on web.Expected behavior:
That a manual install on top of a fresh
expo
install would run without issue.Steps to reproduce:
Clone this repo: https://github.com/educational-resources-and-services/react-native-ui-kitten-test-4.3.1
Related code:
The exact commands I ran to produce the above repo:
Then I copied the code here for App.js. Then:
Other information:
I did not install react-native-svg since I am using
expo
and therefore cannot do linking.OS, device, package version
The text was updated successfully, but these errors were encountered: