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

non-existent module path in package.json #6292

Closed
gVguy opened this issue Apr 26, 2024 · 1 comment · Fixed by #6310
Closed

non-existent module path in package.json #6292

gVguy opened this issue Apr 26, 2024 · 1 comment · Fixed by #6310
Assignees

Comments

@gVguy
Copy link

gVguy commented Apr 26, 2024

Description

In package.json after installing the package, "module" & "exports.imports" fields lead to a non-existent path.
Which causes the error when bundling.

"build/playcanvas/src/index.js",

should probably be instead

"build/playcanvas.mjs",
Screenshot 2024-04-26 at 13 51 22

Steps to Reproduce

  1. npm i playcanvas@latest
  2. see node_modules/playcanvas/package.json
@kpal81xd
Copy link
Contributor

That should include the unbundled versions not the bundled so they need to be added to the published build

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

Successfully merging a pull request may close this issue.

2 participants