You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced this but found a solution in the project Discord. Here's the fix that worked for me:
I fixed "No input files" error by updating the build script in package.json to explicitly specify the entry point: "build": "tsup src/index.ts --format esm --dts"
The error occurred because tsup couldn't locate the TypeScript files to compile. Adding the explicit path to src/index.ts resolved this issue.
I faced this but found a solution in the project Discord. Here's the fix that worked for me:
I fixed "No input files" error by updating the build script in package.json to explicitly specify the entry point: "build": "tsup src/index.ts --format esm --dts"
The error occurred because tsup couldn't locate the TypeScript files to compile. Adding the explicit path to src/index.ts resolved this issue.
pnpm i && pnpm build && pnpm start
fails on build command with output:
How to fix this?
The text was updated successfully, but these errors were encountered: