[React] Wrong version in package.json
See original GitHub issueAfter installing charts-react version 0.11.11 package.json constains wrong version 0.11.10. Content of package.json file:
{
"_from": "@carbon/charts-react@0.11.11",
"_id": "@carbon/charts-react@0.11.11",
"_inBundle": false,
"_integrity": "sha1-HpIU8FEN9iVLVJynsIh3GiI4AxE=",
"_location": "/@carbon/charts-react",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@carbon/charts-react@0.11.11",
"name": "@carbon/charts-react",
"escapedName": "@carbon%2fcharts-react",
"scope": "@carbon",
"rawSpec": "0.11.11",
"saveSpec": null,
"fetchSpec": "0.11.11"
},
"_requiredBy": [
"/"
],
"_resolved": "https://na.artifactory.swg-devops.com:443/artifactory/api/npm/igc-npm-virtual/@carbon/charts-react/-/charts-react-0.11.11.tgz",
"_shasum": "1e9214f0510df6254b549ca7b088771a22380311",
"_spec": "@carbon/charts-react@0.11.11",
"_where": "C:\\Users\\MarcinMotyka\\workspace\\gov-quality-ui",
"author": {
"name": "IBM"
},
"bugs": {
"url": "https://github.com/IBM/carbon-charts/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Eliad Moosavi",
"email": "iliadm@ca.ibm.com",
"url": "https://github.com/theiliad"
}
],
"dependencies": {
"@carbon/charts": "^0.11.10"
},
"deprecated": false,
"description": "Carbon charting components for React",
"devDependencies": {
"@storybook/addon-options": "5.0.5",
"@storybook/react": "5.0.5",
"@storybook/storybook-deployer": "2.8.1",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-loader": "7.1.2",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"base64-inline-loader": "1.1.0",
"css-loader": "0.28.7",
"img-loader": "2.0.0",
"node-sass": "4.10.0",
"react": "16.6.3",
"react-dom": "16.6.3",
"rollup": "0.67.3",
"rollup-plugin-babel": "3.0.4",
"rollup-plugin-commonjs": "9.2.0",
"sass-loader": "7.1.0",
"style-loader": "0.19.0",
"url-loader": "0.6.2"
},
"homepage": "https://github.com/IBM/carbon-charts#readme",
"license": "Apache-2.0",
"main": "index.js",
"maintainers": [
{
"name": "Eliad Moosavi",
"email": "iliadm@ca.ibm.com",
"url": "https://github.com/theiliad"
}
],
"name": "@carbon/charts-react",
"peerDependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/IBM/carbon-charts.git"
},
"scripts": {
"build": "bash build.sh",
"clean": "rm -rf dist demo/bundle",
"demo:build": "build-storybook -o demo/bundle/react",
"start": "npm run storybook",
"storybook": "start-storybook -p 9006 -c .storybook -s ./assets",
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "0.11.10"
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
React doesn't respect package.json version - Stack Overflow
You're using the wrong command. npm view react version shows you the latest version of React that is available to install.
Read more >Fix the version of all react-scripts dependencies #7709 - GitHub
3- go to package.json and change react-scripts version from 3.1.2 to 3.1.1 as it was ... 5- run npm start then you will...
Read more >package.json - npm Docs
json are the name and version fields as they will be required. The name and version together form an identifier that is assumed...
Read more >npm start error package json reactjs react native ... - YouTube
In this video we are discussing about an error which happened when we run the command npm start in side a folder.This npm...
Read more >Manage npm packages - Visual Studio (Windows)
Update npm Package(s) Updates the package to the latest version, according to the SemVer range specified in package.json. (Run npm update --save ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kalbert312 I see the issue. Will push a fix soon, thanks.
try
0.11.15
it should be resolved now 👍