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

npm install react-sparklines --save - issue #102

Open
ankitank1990 opened this issue Dec 1, 2017 · 5 comments
Open

npm install react-sparklines --save - issue #102

ankitank1990 opened this issue Dec 1, 2017 · 5 comments

Comments

@ankitank1990
Copy link

On installing npm install react-sparklines --save
I got error Super expression must either be null or a function, not undefined but when I installed npm install [email protected] --save
the issue got resolved.
Note: Other versions installed:
"react": "^0.14.3",
"react-dom": "^0.14.3",
"react-redux": "4.3.0",
"react-router": "^2.0.1",

@lokeshh
Copy link

lokeshh commented Dec 27, 2017

I get the same error on Console in Firefox after installing it and importing it.

@Schachte
Copy link

Schachte commented Jan 1, 2018

Same issue for me as well unless using 1.4.2.

My package.json.

"devDependencies": {
"babel-core": "^6.2.1",
"babel-loader": "^6.2.0",
"babel-preset-es2015": "^6.1.18",
"babel-preset-react": "^6.1.18",
"chai": "^3.5.0",
"chai-jquery": "^2.0.0",
"jquery": "^2.2.1",
"jsdom": "^8.1.0",
"mocha": "^2.4.5",
"react-addons-test-utils": "^0.14.7",
"webpack": "^1.12.9",
"webpack-dev-server": "^1.14.0"
},
"dependencies": {
"axios": "^0.17.1",
"babel-preset-stage-1": "^6.1.18",
"lodash": "^3.10.1",
"react": "^0.14.3",
"react-dom": "^0.14.3",
"react-redux": "4.3.0",
"react-router": "^2.0.1",
"react-sparklines": "^1.4.2",
"redux": "^3.0.4",
"redux-promise": "^0.5.3"
}

@huazhenrea
Copy link

same issue

@huyvohcmc
Copy link

Same issue

@matt4923
Copy link

matt4923 commented Sep 6, 2018

Followed #89 (comment)
and installed v 1.6.0-- this fixed me.

npm i --save [email protected]

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

6 participants