Skip to content

Vanilla JS - failed to resolve @threlte/core #15

Description

@jmschrack

I tried adding three-inspect to an existing project I have that is written using vanilla js in Vite and ThreeJS
Unfortunately, I run into this error when I try to run dev.

[ERROR] Failed to resolve entry for package "@threlte/core". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "@threlte/core" package [plugin vite:dep-pre-bundle]

node_modules/three-inspect/dist/internal/context.js:1:32:
1 │ import { currentWritable } from '@threlte/core';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions