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

./node_modules/@turf/difference/index.mjs Can't import the named export 'diff' from non EcmaScript module (only default export is available) #335

Closed
chen1218chen opened this issue Feb 17, 2020 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@chen1218chen
Copy link

./node_modules/@turf/difference/index.mjs
Can't import the named export 'diff' from non EcmaScript module (only default export is available)
after npm install, project always report this error,why?

@DeveloperAlly
Copy link

DeveloperAlly commented Feb 17, 2020

Duplicate of #333
To workaround:
npm uninstall @turf/difference
npm install @turf/difference@6.0.1

@georgios-uber
Copy link
Contributor

Thanks @AlisonWonderlandApps for the workaround.

@georgios-uber georgios-uber added the duplicate This issue or pull request already exists label Mar 10, 2020
@Akiyamka
Copy link
Collaborator

What about fix that?

@chen1218chen
Copy link
Author

thanks

Duplicate of #333
To workaround:
npm uninstall @turf/difference
npm install @turf/difference@6.0.1

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants