Comments (11)
@RafikiTiki any chance you can have a look?
from repack.
When running with metro, the bundle seems to do exists in this location. This is the path I see on Metro: "http://localhost:8081/artifacts/index.bundle//&platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.hibob.hibob:470495:36"
from repack.
@jbroma any chance you can help with this one as well?
from repack.
@oferRounds I'll try to look when I have some time available. Please create a reproduction repository so I can assess this as quickly as possible, thanks!
from repack.
ahmm, I can try but not sure it will get reproduced. This is the full error bellow – any idea comes to mind?
File artifacts/index.bundle for ios not found in compilation assets {
reqId: 'req-6',
stack: 'Error: File artifacts/index.bundle for ios not found in compilation assets\n' +
' at /Users/ofer.morag/Documents/Projects/node_modules/@callstack/repack/dist/webpack/Compiler.js:174:20\n' +
' at /Users/ofer.morag/Documents/Projects/node_modules/@callstack/repack/dist/webpack/Compiler.js:83:52\n' +
' at Array.forEach (<anonymous>)\n' +
' at callPendingResolvers (/Users/ofer.morag/Documents/Projects/node_modules/@callstack/repack/dist/webpack/Compiler.js:83:32)\n' +
' at Worker.<anonymous> (/Users/ofer.morag/Documents/Projects/node_modules/@callstack/repack/dist/webpack/Compiler.js:104:9)\n' +
' at Worker.emit (node:events:513:28)\n' +
' at MessagePort.<anonymous> (node:internal/worker:233:53)\n' +
' at [nodejs.internal.kHybridDispatch] (node:internal/event_target:731:20)\n' +
' at exports.emitMessage (node:internal/per_context/messageport:23:28)',
type: 'Error'
}
⚠ [16:33:01.194Z][DevServer] Reply already sent {
reqId: 'req-6',
err: {
type: 'FastifyError',
message: 'Reply was already sent.',
stack: 'FastifyError: Reply was already sent.\n' +
' at Reply.send (/Users/ofer.morag/Documents/Projects/node_modules/@callstack/repack-dev-server/node_modules/fastify/lib/reply.js:128:26)\n' +
' at _Reply.notFound (/Users/ofer.morag/Documents/Projects/node_modules/@fastify/sensible/index.js:47:16)\n' +
' at Object.handler (file:///Users/ofer.morag/Documents/Projects/node_modules/@callstack/repack-dev-server/dist/plugins/compiler/compilerPlugin.js:75:22)',
name: 'FastifyError',
code: 'FST_ERR_REP_ALREADY_SENT',
statusCode: 500
}
}
from repack.
Hey @oferRounds, the minimal reproduction repository would be of great help here.
What do you mean by, and how have you configured that:
The JS code is transpiled to a folder named "./artifacts".
In the pasted webpack config file, you're only specifying the entry point to be artifacts/index.js
, is that correct?
from repack.
Hey @RafikiTiki
yes, exactly – only specifying the entry point to be artifacts/index.js
from repack.
Is it possible I‘m missing something else?
from repack.
@RafikiTiki is my answer to your question above helps some how?
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.
@oferRounds How is the code transpiled to artifacts/index.bundle
? In the attached webpack config you're pointing webpack to this file as the entry, not the output.
What are you using before running webpack (and what's the reason) to transpile the code and put it in the artifacts/index.bundle
?
from repack.
Related Issues (20)
- Run android with error ERR_UNHANDLED_ERROR HOT 2
- Do containers that are not deployed independently need to set eager to true for react and react-native dependencies? HOT 4
- Question: do I need to add "ChunksToHermesBytecodePlugin" plugin? HOT 7
- Getting error "ReferenceError: Property 'CssSyntaxError' doesn't exist" while using styled-component. HOT 3
- [email protected] @callstack/repack/commands error HOT 3
- Can someone give me idea or tutorial how can i deploy my webpack bundle to local servers HOT 1
- Android Error when navigate Between MFEs HOT 9
- cannot load mini app(Module Federation) when verifyScriptSignature = 'strict' HOT 8
- Can't find variable: __wepack_require__ in ScriptManager.js HOT 10
- Unable to load script. Make sure you're either running Metro HOT 3
- Facing issue while implementing Offline Bundling. HOT 8
- Error in bundling micro apps with react-native-svg packages HOT 3
- [RFC] Override `start` command in `react-native.config.js` HOT 8
- Unhandled error in Webpack Compiler when doing `rpm run ios` HOT 2
- Cannot Resole React Hook Form correctly HOT 7
- repack monorepo deployment help
- Android is crashing when "onMessage" props is accessed in "react-native-webview" library HOT 1
- [RFC] sync API HOT 10
- Improve types for `prefetchScript` and `loadScript` HOT 6
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.