Skip to content

Error while Build: Rollup Error: Entry module "src/index.ts" cannot be external. #1

@panbhatt

Description

@panbhatt

I am running on node 24.x and while creating a build I got the following error. is this something that is related to my setup.
I just run "pnpm build".

Error: Entry module "src/index.ts" cannot be external.

Also would it be helpful if we add a executable file here in the bin directory that gets populated via a file in src directory, so that one can execute the current function or any of the functions that is exported via command line.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions