-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to resolve thirdparty/moules added from local repository #1354
Comments
It seems the problem was with the web pack babel configration regular expression.
|
Closing as this is a bundler configuration problem and not a code issue. The stack trace is usually helpful, as is TBD stack overflow website for help |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to intigrate react-native-web with an existing react-native app, I have followed https://github.com/necolas/react-native-web/blob/master/docs/guides/multi-platform-apps.md instructions,
Problem : Unable to resolve thirdparty/moules added from local repository
Description : I have a library which provides me the high level components to my react-native app module. Below is the dependency tree and package.json
react-native-sdk -> index.js
react-native-sample -> Loadmore.js
react-native-sample -> package.json:
web/webpack.config.js
babel.config.js
metro.config.js
After integrating webpack and react-native-web to react-native-sample doesn't resolve the any component from its dependencies react-native-sdk or any other local repo.
Expected Behavior:
Should be able to run without error when i use any component from react-native-sdk.
Actual Behavior:
I am able to run without error when i won't use react-native-sdk.
Note: Without any native module dependencies
ERROR at build
Environment:
Windows 10,
Device: browser
Browser: chrome
webpack : "^4.29.0",
webpack-cli : "^3.2.1",
webpack-dev-server : "^3.1.14"
react-native-web : "^0.10.0-alpha.3",
react : "^16.7.0",
react-dom : "^16.7.0",
react-native : "0.58.0",
Any resolution would be most helpful.
Thank you.
The text was updated successfully, but these errors were encountered: