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

Can't import the named export X from non EcmaScript module #63

Closed
farshid1 opened this issue Nov 23, 2022 · 2 comments
Closed

Can't import the named export X from non EcmaScript module #63

farshid1 opened this issue Nov 23, 2022 · 2 comments
Labels
question Further information is requested

Comments

@farshid1
Copy link

I'm having trouble building my application which is on top of nx. I keep getting the Can't import the named export X from non EcmaScript module error. This is due to this library building to mjs files. Are there any resolutions/suggestions for this issue? thanks

@damingerdai damingerdai added the question Further information is requested label Nov 23, 2022
@damingerdai
Copy link
Collaborator

cloud you share code with github or other?

@farshid1
Copy link
Author

@damingerdai Thanks for the quick response! It's hard to share code as this is a large project but I simply followed the installation instructions and imported NgxPendoModule and NgxPendoService from the library. I think I have a pretty good idea what the issue is which is related to my build system. I basically need to configure the build system to allow mjs exports. This for example is a webpack solution.

I was just wondering if you have some ideas right off the bat.

@yociduo yociduo closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants