-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
error TS5033: Could not write file '/zshy/D:/zshy/dist/index.d.ts': EINVAL: invalid argument, mkdir 'D:\zshy\D:'.
error TS5033: Could not write file '/zshy/D:/zshy/dist/index.js': EINVAL: invalid argument, mkdir 'D:\zshy\D:'.
PS D:\zshy> pnpm zshy
╔═══════════════════════════════════════════════╗
║ zshy » the bundler-free TypeScript build tool ║
╚═══════════════════════════════════════════════╝
» Starting build...
» Detected project root: D:\zshy
» Reading package.json from ./package.json
» Reading tsconfig from ./tsconfig.json
» The "files" key is missing in package.json. Setting to "dist".
» Determining entrypoints...
╔═════════════╤════════════════╗
║ Subpath │ Entrypoint ║
╟─────────────┼────────────────╢
║ "undefined" │ ./src/index.ts ║
╚═════════════╧════════════════╝
» Resolved build paths:
╔══════════╤═══════════════╗
║ Location │ Resolved path ║
╟──────────┼───────────────╢
║ rootDir │ ./../src ║
║ outDir │ ./dist ║
╚══════════╧═══════════════╝
» Package is a CommonJS module (package.json#/type not set to "module")
» Cleaning up outDir...
» Cleaning up declarationDir...
» Building CJS...
» Found 2 error(s) and 0 warning(s) during emit:
error TS5033: Could not write file '/zshy/D:/zshy/dist/index.d.ts': EINVAL: invalid argument, mkdir 'D:\zshy\D:'.
error TS5033: Could not write file '/zshy/D:/zshy/dist/index.js': EINVAL: invalid argument, mkdir 'D:\zshy\D:'.
» Building ESM... (rewriting .ts -> .mjs/.d.mts)
» Found 2 error(s) and 0 warning(s) during emit:
error TS5033: Could not write file '/zshy/D:/zshy/dist/index.d.ts': EINVAL: invalid argument, mkdir 'D:\zshy\D:'.
error TS5033: Could not write file '/zshy/D:/zshy/dist/index.js': EINVAL: invalid argument, mkdir 'D:\zshy\D:'.
» Updating package.json#/exports...
» Compilation finished with 4 error(s) and 0 warning(s)
» Build completed with errors
Metadata
Metadata
Assignees
Labels
No labels