react-photo-sphere-viewer icon indicating copy to clipboard operation
react-photo-sphere-viewer copied to clipboard

[Bug]: Error: Failed to resolve entry for package "react-photo-sphere-viewer". The package may have incorrect main/module/exports specified in its package.json.

Open khanharis87 opened this issue 7 months ago • 4 comments

What happened?

After updating to 6.2.3 we are getting error while running our integration test: Error: Failed to resolve entry for package "react-photo-sphere-viewer". The package may have incorrect main/module/exports specified in its package.json.

What should have happened?

Should resolve when imported

Code

No response

Sandbox Link

No response

Library Version

6.2.3

What operating system are you using?

Windows

What browser are you using?

None

Logs

Error: Failed to resolve entry for package "react-photo-sphere-viewer". The package may have incorrect main/module/exports specified in its package.json.

Interest to fix the bug

  • [ ] I would like to fix this bug!

khanharis87 avatar Apr 24 '25 12:04 khanharis87

hi! can you provide me more information about your case? what framework are you using (vite, next, react-scripts, etc...) In my tests all was working well

Elius94 avatar Apr 24 '25 12:04 Elius94

https://codesandbox.io/p/devbox/k6j6mk also in this devbox I use the latest version and Next. it's working fine!

Elius94 avatar Apr 24 '25 12:04 Elius94

I am working on remix with vite

khanharis87 avatar Apr 28 '25 08:04 khanharis87

let me know :)

Elius94 avatar Apr 28 '25 08:04 Elius94