Closed capcar closed 8 years ago
Didn't get where you are receiving this issue:
Mine is working
Now, it is ok but I have:
\dm-dsh\node_modules\@types\highcharts\index.d.ts:6476:4 Duplicate identifier 'export='. \dm-dsh\typings\globals\highcharts\index.d.ts:6080:12 Subsequent variable declarations must have the same type. Variable 'Highcharts' must be of type 'Static', but here has type 'HighchartsStatic'.
ERROR in \dm-dsh\typings\globals\highcharts\index.d.ts:6313:12 Subsequent variable declarations must have the same type. Variable 'Highcharts' must be of type 'Static', but here has type 'HighchartsStatic'.
ERROR in \dm-dsh\typings\globals\highcharts\index.d.ts:6319:4 Duplicate identifier 'export='.
Since version 0.5.x ng2-highcharts adds the recommended dependency from @types/highcharts. So, now you need to remove the typings instalation from your project (sorry, the docs here need a huge update).
module.js:457 throw err; ^
Error: Cannot find module 'typescript' at Function.Module._resolveFilename (module.js:455:15) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19)