Skip to content

Error when migrated to v5.0.5 with webpack setup #145

@liouskoothamattathilbaby

Description

Environment

Repack v5.0.5
webpack: 5.98.0
React Native: 0.74.6
Platform: IOS

Description

When migrated to Repack v5.0.5 using the migration guidelines and webpack setup , getting the following error:

[ScriptManager] Failed to load script: [ScriptDownloadFailure] {"cache": true, "caller": undefined, "locator": {"absolute": false, "body": undefined, "fetch": true, "headers": undefined, "method": "GET", "query": "platform=ios", "retry": undefined, "retryDelay": undefined, "timeout": 500000, "uniqueId": "mfe1", "url": "http://localhost:9005/mfe1.container.bundle", "verifyScriptSignature": "off"}, "scriptId": "mfe1"} {"originalError": [Error: Request should have returned with 200 HTTP status, but instead it received 404]}

Reproducible Demo

please try from any of the older branches where script manager implementation is done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions