这是indexloc提供的服务,不要输入任何密码
Skip to content

Resolve is needed for run-time #11

@OmgImAlexis

Description

@OmgImAlexis

Trying to use this without resolve installed throws this.

(node:12916) UnhandledPromiseRejectionWarning: Error: Cannot find module 'resolve'
Require stack:
- /Users/xo/code/scratchdb/database/node_modules/tsup/dist/index.js
- /Users/xo/code/scratchdb/database/node_modules/tsup/dist/cli.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at getRollupConfig (/Users/xo/code/scratchdb/database/node_modules/tsup/dist/index.js:12406:34)
    at createRollupConfigs (/Users/xo/code/scratchdb/database/node_modules/tsup/dist/index.js:12424:26)
    at CAC.<anonymous> (/Users/xo/code/scratchdb/database/node_modules/tsup/dist/cli.js:710:32)
(node:12916) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:12916) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions