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 with global #317

Closed
AndreyKuleb opened this issue Sep 17, 2020 · 8 comments
Closed

Error with global #317

AndreyKuleb opened this issue Sep 17, 2020 · 8 comments

Comments

@AndreyKuleb
Copy link

AndreyKuleb commented Sep 17, 2020

Hi! When i use v6.4.0 or v6.5.0, i have an error in console
Screenshot 2020-09-17 at 14 00 24
Screenshot 2020-09-17 at 14 00 38

Look at react-paginate/dist/react-paginate.js, you have global variable there. Browser doesn't recognize global variable.
I think there is a problem with your webpack. .

@Aykelith
Copy link

Aykelith commented Oct 8, 2020

Same here with version 6.5.0

@jeferandom
Copy link

image

@jasonbiondo
Copy link

I have this error too. Can someone fix this? Does anyone know of the fix?

@timbakkum
Copy link

timbakkum commented Dec 1, 2020

this started occuring for us since updating to react 17.0.1 if its of any help.

edit: it seems like 6.3.2 works fine after all with react, react-dom and react-is @17.0.1. I must have bumped react-paginate by mistake.

@crutchcorn
Copy link

This seems like the same issue here: #332

@devpatelwebdeveloper
Copy link

Works fine in version 6.3.2 getting issue in ^7.1.3

@MonsieurV
Copy link
Collaborator

MonsieurV commented Oct 26, 2021

Hi!

The Webpack target was improperly set to node for building the dist.

Waiting for @AdeleD to release the version 7.1.4 to NPM!

@AdeleD
Copy link
Owner

AdeleD commented Oct 26, 2021

Waiting for @AdeleD to release the version 7.1.4 to NPM!

Done. Thank you for your work!

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

No branches or pull requests

9 participants