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

Module not found: Package path ./webgpu is not exported from package #553

Open
danielbakas opened this issue Dec 18, 2024 · 2 comments
Open

Comments

@danielbakas
Copy link

Describe the bug
The application fails to start due to a module not found error related to the three-render-objects package. The error indicates that the package path ./webgpu is not exported from the three package.

To Reproduce
Steps to reproduce the behavior:

  1. Install the dependencies using npm install.
  2. Start the development server using npm run dev.
  3. Observe the error in the terminal or browser console.

Expected behavior
The application should start without any module not found errors, and the three-render-objects package should work correctly.

Screenshots
Captura de pantalla 2024-12-18 a la(s) 4 59 08 p m

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Arc
  • Version: 1.73.0

Additional context
The issue seems to be related to the three package version and its exports field.

@vasturiano
Copy link
Owner

@danielbakas thanks for reaching out.

This seems to be an issue with your dependency tree, something needs updating. Your version of three-render-objects requires a version of three higher than 0.168:
https://github.com/vasturiano/three-render-objects/blob/74d8acbc5e663f1e9c666148552f85d65913cb47/package.json#L54

Yet, from your screenshot I can see that you're using three 0.166. That needs to be upgraded to at least 0.168. Once you do that, the issue should disappear.

@danielbakas
Copy link
Author

danielbakas commented Dec 20, 2024 via email

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

No branches or pull requests

2 participants