Skip to content

Can't start the server because of "dist/index.js" lose #3

@yikebocai

Description

@yikebocai

bryanzh@Bryanzhs-MacBook-Air ai-assistant-nodejs % npm start

@stream-io/[email protected] start
node dist/index.js

node:internal/modules/cjs/loader:1413
throw err;
^

Error: Cannot find module '/Users/bryanzh/Workspace/ai-assistant-nodejs/dist/index.js'
at Function._resolveFilename (node:internal/modules/cjs/loader:1410:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Function._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5)
at node:internal/main/run_main_module:33:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

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