callstack / repack

A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.
https://re-pack.dev
MIT License
1.43k stars 103 forks source link

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 #658

Closed HongQuang231 closed 2 weeks ago

HongQuang231 commented 2 months ago

Ask your Question

✖ [11:43:07.277Z][DevServer] Failed to symbolicate { reqId: 'req-c', error: 'File src_navigation_Request_tsx.chunk.bundle for ios not found in compilation assets' } ✖ [11:43:07.278Z][DevServer] Internal Server Error { reqId: 'req-c', req: { method: 'POST', url: '/symbolicate', hostname: 'localhost:8081', remoteAddress: '::1', remotePort: 53063 }, res: { statusCode: 500 }, err: { type: 'InternalServerError', message: 'Internal Server Error', stack: 'InternalServerError: Internal Server Error\n' + ' at Object.internalServerError (/Users/hongquang/Documents/fis/super-app-project/hostApp/node_modules/@fastify/sensible/lib/httpErrors.js:137:19)\n' + ' at _Reply.internalServerError (/Users/hongquang/Documents/fis/super-app-project/hostApp/node_modules/@fastify/sensible/index.js:50:42)\n' + ' at Object. (file:///Users/hongquang/Documents/fis/super-app-project/hostApp/node_modules/@callstack/repack-dev-server/dist/plugins/symbolicate/sybmolicatePlugin.js:36:13)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)', explicitInternalServerError: true, status: 500, statusCode: 500, expose: false } }

can you help me, I try direct to mini app and it throw error

my .mjs file

`import {createRequire} from 'node:module'; import path from 'node:path'; import TerserPlugin from 'terser-webpack-plugin'; import * as Repack from '@callstack/repack';

const dirname = Repack.getDirname(import.meta.url); const {resolve} = createRequire(import.meta.url);

const STANDALONE = Boolean(process.env.STANDALONE); // const STANDALONE = true;

/**

/**

github-actions[bot] commented 1 month ago

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.

jbroma commented 1 month ago

@HongQuang231, have you tried running the mini app in standalone mode and seeing whether the carousel works there?

jbroma commented 2 weeks ago

Closing since no followup from the author and it's virtually impossible to fix without reproduction - if it's still a problem in the future, please create a new issue using new template and make sure to provide a minimal reproduction repository