Skip to content

[EXPO] Node.js Server Fails to Start in Production Environment but Works in Development #91

Open
@desmond58

Description

@desmond58

I am encountering an issue where the Node.js server fails to start in the production environment, while it works perfectly in the development environment. Below are the details:

Observations:
The server starts and functions as expected during development.
When "nodejs.start('main.js');" is triggered, logcat will log "Running "main" with {"rootTag":31}"
Image

In production, the server does not start, and no clear error messages are logged. Logcat does not log "Running "main" with {"rootTag":31}" as well

Spec:
React Native + Expo 50
Node.js + Socket.io

Project Directory:
Image

I would appreciate any guidance or suggestions to resolve this issue. If additional information or logs are needed, please let me know.

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