SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

1
0

Hi there,

I have downloaded the examples from SciChart GitHub and I found error where most of the demos cannot be compiled. I run the following command which are “npm install” and “npm start”, at the end it says failed to compile. I have included one of the demos screenshot on what it shows. May I know why and how to resolve this issue ?

Thank you đŸ™‚

Version
2.2.2407
Images
  • You must to post comments
0
0

Hi Samini

This sample seems to be missing typescript and has one out-of-date dependency. Try this

Make sure your project.json has the following devDependencies

  "devDependencies": {
     "copy-webpack-plugin": "^6.0.3",
     "prettier": "^2.3.2",
     "typescript": "^4.7.4",
     "ts-loader": "^8.0.1",
     "webpack": "^4.46.0",
     "webpack-cli": "^3.3.12",
     "webpack-dev-server": "^3.11.0"
  }

now

npm start

This works on my side when I do this

Best regards
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.