Skip to content

Bug: ERR_MODULE_NOT_FOUND when build and start nodejs server in production #58

@yuit

Description

@yuit

Encounter ERR_MODULE_NOT_FOUND when build and run NodeJS server sample for production using

npm run build
npm start

Root Causes
Using ES module requires full files extensions NodeJS Documentation

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