Skip to content

Missing a dependency tslib #361

Open
@Theosakamg

Description

@Theosakamg

At runtime on NodeJS project:

~/.nvm/versions/node/v23.3.0/bin/node ./upsun-mcp/build/index.js
Uncaught Error Error: Cannot find module 'tslib'
Require stack:
- /.../node_modules/oauth2-popup-flow/index.js
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1239:15)
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1064:27)
    at traceSync (<node_internals>/diagnostics_channel:322:14)
    at wrapModuleLoad (<node_internals>/internal/modules/cjs/loader:218:24)
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1325:12)
    at require (<node_internals>/internal/modules/helpers:136:16)
    at <anonymous> (/.../node_modules/oauth2-popup-flow/index.js:7:19)
    at <anonymous> (/.../node_modules/oauth2-popup-flow/index.js:3:5)
    at <anonymous> (/.../node_modules/oauth2-popup-flow/index.js:4:2)
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1546:14)
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1698:10)
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1303:32)
    at <anonymous> (<node_internals>/internal/modules/cjs/loader:1117:12)
    at traceSync (<node_internals>/diagnostics_channel:322:14)
    at wrapModuleLoad (<node_internals>/internal/modules/cjs/loader:218:24)
    at cjsLoader (<node_internals>/internal/modules/esm/translators:267:5)
    at <anonymous> (<node_internals>/internal/modules/esm/translators:200:7)
    at run (<node_internals>/internal/modules/esm/module_job:271:25)
    --- await ---
    at runEntryPointWithESMLoader (<node_internals>/internal/modules/run_main:138:19)
    at executeUserEntryPoint (<node_internals>/internal/modules/run_main:175:5)
    at <anonymous> (<node_internals>/internal/main/run_main_module:36:49)
No debugger available, can not send 'variables'
Process exited with code 1

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