Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

cheapsteak/repro-vercel-cli-build-dts-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run npm i then npm repro to reproduce vercel build error

Error! An unexpected error occurred in build: TypeError: Unable to require `.d.ts` file.
This is usually the result of a faulty configuration or import. Make sure there is a `.js`, `.json` or another executable extension and loader (attached before `ts-node`) available alongside `test.d.ts`.
    at getOutputTypeCheck (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:104574:27)
    at compile (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:104649:109)
    at compileTypeScript (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:104059:31)
    at Job.readFile (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:104085:30)
    at Job.emitDependency (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:61748:39)
    at /Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:61762:21
    at async Promise.all (index 0)
    at Job.emitDependency (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:61757:9)
    at async Promise.all (index 0)
    at Object.nodeFileTrace (/Users/chang/projects/repros/vercel-build-dts-error/node_modules/@vercel/node/dist/index.js:61499:5)
    ```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published