vercel/ncc

Typescript 7 support

Open

#1,336 opened on 2026年7月10日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (273 forks)batch import
help wanted

Repository metrics

Stars
 (8,841 stars)
PR merge metrics
 (平均マージ 31d 15h) (30d で 7 merged PRs)

説明

https://github.com/Cyberbeni/install-swift-tool

After running yarn upgrade --latest and npm run build (which runs ncc build --minify --out dist src/main.ts) I get the following error:

ncc: Version 0.44.1
ncc: Compiling file index.js into ESM
ncc: Using typescript@7.0.2 (local user-provided)
Error: Module build failed (from ./node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js):
TypeError: Cannot read properties of undefined (reading 'fileExists')
    at findConfigFile (/workspace/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js:38:11157)
    at getConfigFile (/workspace/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js:38:10396)
    at successfulTypeScriptInstance (/workspace/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js:38:24589)
    at getTypeScriptInstance (/workspace/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js:38:23999)
    at Object.loader (/workspace/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js:38:13233)
    at /workspace/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:29:2008020
    at /workspace/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:29:393133
    at _done (eval at create (/workspace/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:27:140521), <anonymous>:9:1)
    at eval (eval at create (/workspace/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:27:140521), <anonymous>:34:22)

コントリビューターガイド