Pre loader

Already included file name SciChartSurface.d.ts

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Some users have reported an error when importing SciChart.js into a TypeScript or JavaScript application:

TS1261: Already included file name ‘C:...\SciChartSurface.d.ts’ differs from file name ‘C:/…/node_modules/scichart/charting/
Visuals/Axis/SciChartSurface.d.ts’ only in casing.

Solution below…

Version
1.0.1248
  • You must to post comments
0
0

The reason for this is the imports are case sensitive, and there may be a mix in casing in your imports.

Ensure all imports for SciChart.js are have capital ‘C’ for ‘Charting’, e.g.

import { SciChartSurface } from "scichart/Charting/Visuals/SciChartSurface";

not this

import { SciChartSurface } from "scichart/charting/Visuals/SciChartSurface";

This will resolve the error!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies