Comments (4)
I checked the bundle file inside my app's file sandbox. Turns out if the bundle was not correctly fetched, the error message will be write into the bundle file.
from repack.
hi @ra1nj,
have you checked what gets downloaded? This sort of error can happen when the resource isn't available - we don't check if the file looks like proper bundle before evaluating it (although we could do that to differentiate this case better 🤔).
Try manually downloading the bundle using the config from your logs to verify the correct file gets downloaded
from repack.
hi @ra1nj,
have you checked what gets downloaded? This sort of error can happen when the resource isn't available - we don't check if the file looks like proper bundle before evaluating it (although we could do that to differentiate this case better 🤔).
Try manually downloading the bundle using the config from your logs to verify the correct file gets downloaded
hi @jbroma , thank you for your answer , it seems like it's the network problem, i changed to serve my bundle with a local express server, and it works like a charm 🥳.
from repack.
@ra1nj feel free to make a PR that could make this error to easier to debug for others. I'm currently busy with other work and don't have capacity for that
from repack.
Related Issues (20)
- App Launch Failure After Upgrading to React Native 0.72.15 HOT 4
- apk release with warning Disconnected from the dev Server HOT 1
- Repack not working with latest react native version 0.75.2 HOT 1
- error: unknown option '--reset-cache' HOT 4
- White Screen when loading the application's initial stack from a remote bundle HOT 3
- Tried to register two views with the same name RCTText HOT 1
- how to handle unavailability of micro App in the host application HOT 4
- Error [ERR_UNSUPPORTED_ESM_URL_SCHEME] HOT 1
- How to access host app's variable/functions within a miniapp ? HOT 2
- Catalogue server being called repeatedly for each micro app- in remote bundled builds. HOT 4
- Flatlist TypeError: Cannot read property 'getItem' of undefined HOT 1
- The query inside ScriptLocator has been encoded twice HOT 4
- Is there a debugging method?
- Unable to load mini app with Redux store into Host app HOT 1
- ReferenceError: Property '__webpack_require__' doesn't exist, js engine: hermes HOT 2
- Re.pack Rspack (5.0.0-alpha.0) - Panic occurred at runtime. Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks. HOT 1
- Error: Script file does not exist, but the file exists. HOT 3
- Issue: Cannot find module '@callstack/repack/commands/rspack' HOT 4
- Encountered errors with react-native-fs, react-native-vector-icons, and realm after migrating from webpack to rspack. HOT 4
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.