Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error TS2339: Property 'getType' does not exist on type 'typeof import("/***/@types/mime/index")' #3132

Open
acrois opened this issue Nov 29, 2024 · 0 comments · May be fixed by #3133
Open
Labels
bug Something isn't working

Comments

@acrois
Copy link

acrois commented Nov 29, 2024

Build from main failing after cloning for the first time:

.../rollup-plugin-bundle-manifest build$ tsc --build tsconfig.json
.../rollup-plugin-bundle-manifest build: src/index.ts(49,24): error TS2339: Property 'getType' does not exist on type 'typeof import("/***/@types/mime/index")'.
.../rollup-plugin-bundle-manifest build: Failed
/***/projects/***/atproto-test/packages/internal/rollup-plugin-bundle-manifest:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @atproto-labs/rollup-plugin-bundle-manifest@0.1.0 build: `tsc --build tsconfig.json`
Exit status 1

Note: I replaced some of my paths with ***s, they are not the issue.

To Reproduce

Steps to reproduce the behavior:

  1. git clone (main 3303ff1)
  2. pnpm install --frozen-lockfile
  3. pnpm build

Expected behavior

Should build without issues

Details

  • ubuntu 22.04.2
  • node 18.20.5
  • npm 10.8.2
  • pnpm 8.15.1

Additional context

PR with the fix incoming, since it's simple.

@acrois acrois added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant