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

Unable to build project on development due to primitives import error #1786

Closed
celikn opened this issue Apr 15, 2022 · 1 comment · Fixed by #1891
Closed

Unable to build project on development due to primitives import error #1786

celikn opened this issue Apr 15, 2022 · 1 comment · Fixed by #1891

Comments

@celikn
Copy link

celikn commented Apr 15, 2022

When we run the project in the local environment, we are not getting any errors. However, when we try to build the project on the development server, we are getting the error below;

index.js:56 Uncaught ReferenceError: $8f55928bf6443dcf$import$d53e6be1e6f9a8f3 is not defined at index.js:56:6

image

To note that, we are using Parcel V2 to build the project.

Could anyone give us any suggestions on how we could solve this problem?

Thank you in advance,

@diegomura
Copy link
Owner

This should be fixed in the latest version. Primitives are now shipped as a CJS module and ESM

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