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

Error on fresh installation #1485

Closed
jairusd opened this issue Jul 19, 2019 · 9 comments
Closed

Error on fresh installation #1485

jairusd opened this issue Jul 19, 2019 · 9 comments
Labels

Comments

@jairusd
Copy link

jairusd commented Jul 19, 2019

Describe the bug
after clean installation, i'm getting error with export default from inside the package

Expected behavior
should run without problem

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: windows 10
  • Browser chrome
  • Version 75.0.3770.142 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.

@coodysk8er
Copy link

coodysk8er commented Jul 20, 2019

the same here. even with webpack 'js' babel loader including /node_modules/

@rajbits
Copy link

rajbits commented Jul 20, 2019

Facing the same issue here.. Tried couple of earlier versions too, seeing the same behavior.
Using create-react-app with hooks.

Upgrade to the latest node and create react app 2 and the error is gone.
@jairusd - what's your node environment?

@jairusd
Copy link
Author

jairusd commented Jul 23, 2019

Facing the same issue here.. Tried couple of earlier versions too, seeing the same behavior.
Using create-react-app with hooks.

Upgrade to the latest node and create react app 2 and the error is gone.
@jairusd - what's your node environment?

I just upgraded to 12.6.0 and refreshed my deps to test it out, unfortunately, I'm still getting the same error.. Also tried LTS... I'm on a custom webpack configuration ssr environment. :(

@Topppy
Copy link

Topppy commented Jul 23, 2019

same problem +1. and when I try to use react-dnd-cjs, got another problem.

  • os: mac
  • electron 4.1.3
  • electron-react-boilerplate

@Skylsmoi
Copy link

I'm having the same issue.
I just upgraded Babel to 7.4+ with the switch from @babel/polyfill to core-js so I'm yet not entirely sure where my error comes from.
I'll look closely at this thread though.

@jairusd
Copy link
Author

jairusd commented Jul 29, 2019

I'm having the same issue.
I just upgraded Babel to 7.4+ with the switch from @babel/polyfill to core-js so I'm yet not entirely sure where my error comes from.
I'll look closely at this thread though.

same man.. i'm on core-js 3

@rajbits
Copy link

rajbits commented Jul 29, 2019

fwiw, with due respect to react-dnd, it did not work well with react-virtualized (which is a must have for me). I moved on to use react-sortable-hoc and the combo works best for me.

@tom-james-watson
Copy link

I had the same problem - they're directly exporting ES6 on react-dnd. Instead, just use the drop-in-replacement react-dnd-cjs and it should work fine.

@stale
Copy link

stale bot commented Nov 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 10, 2019
@stale stale bot closed this as completed Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants