Comments (3)
Hey @jigaradesara01
the issue is with how styled-components
is resolved by webpack.
You can fix this by adding an alias for styled-components.
- Go to your
webpack.config.mjs
- Inside
resolve
please add the following resolution so it looks like this:
// webpack.config.mjs
//...
resolve: {
// ...
alias: {
// ...
'styled-components': path.join(dirname, 'node_modules/styled-components/native/dist/styled-components.native.cjs.js')
}
}
If you are using .cjs
version of webpack.config
just switch dirname
to __dirname
.
from repack.
This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.
from repack.
This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.
from repack.
Related Issues (20)
- aws-appsync issue HOT 6
- How to locate cause of Error: ENOENT: no such file or directory HOT 5
- build bundle mini app HOT 2
- Error: Can't resolve 'react-native/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance HOT 2
- File src_navigation_Request_tsx.chunk.bundle for ios not found in compilation assets and i try to add react-native-reanimated-carousel lib to project HOT 2
- i try to add react-native-reanimated-carousel lib to project HOT 2
- Stuck while loading bundles on second app launch with cache flag enabled HOT 11
- `sourceURL` in raw React Native stack frames is inconsitent HOT 1
- Property '__webpack_share_scopes__' doesn't exist HOT 5
- Task :app:createBundleReleaseJsAndAssets_SentryUpload_*************************** FAILED HOT 3
- RangeError: Maximum call stack size exceeded HOT 1
- Missing libhermes.so causes crashes in Release Build HOT 9
- getting scriptmanager's resolved url: `noop://scriptId.chunk.bundle` for dev:false bundle HOT 1
- `dev:false` bundle throws error with react-navigation HOT 10
- PROBLEMS WITH NAVIGATION IN MICROFRONT FEDERATION HOT 4
- File not found in compilation assets causes memory leak HOT 2
- handle a module's redux state from another module HOT 1
- App compilation is complete but app is crashing on launch HOT 16
- Webpack env not able to change production mode after migrate v4 HOT 1
- Module parse failed: Unexpected token (1:7) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repack.