react-sparklines icon indicating copy to clipboard operation
react-sparklines copied to clipboard

1.7.0 release raises error

Open ZakSingh opened this issue 8 years ago • 8 comments

As of today's release, the module fails to import in a React Redux Webpack setup using this boilerplate from the "Modern React with Redux" tutorial on Udemy. It results in: Uncaught TypeError: Super expression must either be null or a function, not undefined

This is my first time using React, Redux, and your module, so I have no idea what I'm talking about in terms of troubleshooting. I just reverted the package to 1.6.0 and it fixed the issue.

ZakSingh avatar Jul 27 '17 20:07 ZakSingh

Hi @ZakSingh , I'm having the same issue, can you tell me please how to revert the version of the package? I just modify my package.json to that version and re installed everything again but doesn't works thank you

ricardovalquin avatar Jul 28 '17 21:07 ricardovalquin

@ricardovalquin Hola Ricardo, puedes hacerlo con los siguientes comandos desde tu consola:

npm r react-sparklines npm i --save [email protected]

Cambia 1.6.0 por la versión que deseas instalar. Si el problema persiste utiliza la versión 1.4.0. Saludos!

soymanuvalle avatar Jul 29 '17 02:07 soymanuvalle

I will look into it and release a fix.

borisyankov avatar Jul 29 '17 22:07 borisyankov

As of August 2017, the author of this library accidentally deployed a broken build, specifically version 1.7.0. As such, we want to avoid that build. So when we install the react-sparklines package, run this command

npm i --save [email protected]

This will install version 1.6.0, which doesn't have the broken code.

abdennour avatar Aug 14 '17 21:08 abdennour

@abdennour Nah I will run yarn add [email protected] :wink:

IamManchanda avatar Nov 10 '17 12:11 IamManchanda

Has the development of react-sparklines come to a halt? Since nobody seems to care about fixing the latest release that is broken.

nbkhope avatar Feb 07 '18 19:02 nbkhope

This issues is resolved after releasing of React v16.3.2 . React sparklines 1.7.0 worked for me . So, issue should be closed

AbhinJ avatar May 22 '18 13:05 AbhinJ

still same issue for 1.7.0 as for today had to downgrade

shachopin avatar Aug 10 '19 22:08 shachopin