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

Comments

@chen1218chen
Copy link

chen1218chen commented Feb 17, 2020

./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

georgios-uber commented Mar 10, 2020

Thanks @AlisonWonderlandApps for the workaround.

@georgios-uber georgios-uber added the duplicate label Mar 10, 2020
@Akiyamka
Copy link
Collaborator

Akiyamka commented Jun 11, 2020

What about fix that?

@chen1218chen
Copy link
Author

chen1218chen commented Jul 13, 2020

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
Projects
None yet
Development

No branches or pull requests

5 participants