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

Build failed: TypeError: (0 , n.merge) is not a function at Object.<anonymous> (chartjs-plugin-datalabels.esm.js:579:1) #385

Open
huqedato opened this issue Jun 13, 2023 · 3 comments

Comments

@huqedato
Copy link

When I build it with Parcel the entire build fails: TypeError: (0 , n.merge) is not a function
at Object. (chartjs-plugin-datalabels.esm.js:579:1)

Package versions:
chartjs-plugin-datalabels@2.2.0
chart.js@4.3.0
parcel@2.8.2

@xdarov
Copy link

xdarov commented Jul 7, 2023

parcel build --no-scope-hoist
it worked for me

@simonbrunel
Copy link
Member

@huqedato did you try the solution suggested by @xdarov? If it's not working, please provide a repository that reproduces your issue.

@kokarn
Copy link

kokarn commented Aug 16, 2023

I can confirm --no-scope-hoist fixed a similar issue for me. Any idea why this would be needed?

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

No branches or pull requests

4 participants