Skip to content

Project Fails to build without npm:@types/babel__core #3605

@lishaduck

Description

@lishaduck

Unless I install npm:@types/babel__core manually, type checking the default starter app (with lockfile nuked & all that) errors with:

error: Failed resolving types. [ERR_TYPES_NOT_FOUND] Could not find types for 'file:///Users/dukese01/Developer/webmaster-25-26/node_modules/.deno/@babel+core@7.28.5/node_modules/@babel/core/index.js' imported from 'https://jsr.io/@fresh/plugin-vite/1.0.7/src/plugins/deno.ts'
    at https://jsr.io/@fresh/plugin-vite/1.0.7/src/plugins/deno.ts:10:24

It seems like probably a JSR bug? Might need to added to "types": [] too...


Also, could we pretty please get an esbuild bump? It pulls in two versions when I nuke the lockfile, and b/c Deno doesn't have dedupe functionality, I've got to resort to manually editing the lockfile, which sucks.


Associated Deno issue: denoland/deno#31352

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions