Skip to content

Conversation

kenyiu
Copy link

@kenyiu kenyiu commented Aug 7, 2025

Why?

The following error message popped when running bun run build.

$ tsc && chmod 755 dist/index.js
error TS2688: Cannot find type definition file for 'babel__generator'.
  The file is in the program because:
    Entry point for implicit type library 'babel__generator'


Found 1 error.

What this PR does?

add the dev dependencies for running build successfully.

@kenyiu kenyiu changed the title fix(deps): add @types/babel__generator to dependencies fix(deps-devs): add @types/babel__generator to dependencies Aug 7, 2025
@kenyiu kenyiu changed the title fix(deps-devs): add @types/babel__generator to dependencies fix(deps-dev): add @types/babel__generator to dependencies Aug 7, 2025
@enesgules
Copy link
Collaborator

I couldn't reproduce it, could you share some information about your coding environment like the OS

@kenyiu
Copy link
Author

kenyiu commented Aug 14, 2025

@enesgules
node version: v23.11.1
bun version: 1.2.19
mac environment

@enesgules
Copy link
Collaborator

I still couldn't reproduce with bun v1.2.0 and node v23.11.0

could you try with these please

rm -rf node_modules
bun pm cache rm
bun install --frozen-lockfile

@kenyiu
Copy link
Author

kenyiu commented Aug 17, 2025

@enesgules not working still. i even tried using bun v1.2.0 with node v23.11.0, still can reproduce the same error.

@enesgules
Copy link
Collaborator

super interesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants