corejs and jasmine conflict
See original GitHub issueI’m using angular2 version 2.0.0 with angular2-highcharts 0.3.2
I’m getting these error on npm start:
node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts(3,14): error TS2300: Duplicate identifier 'PropertyKey'. typings/globals/core-js/index.d.ts(3,14): error TS2300: Duplicate identifier 'PropertyKey'. typings/globals/jasmine/index.d.ts(74,9): error TS2375: Duplicate number index signature. typings/globals/jasmine/index.d.ts(128,9): error TS2374: Duplicate string index signature.
Regards ,
Ali
Issue Analytics
- State:
- Created 7 years ago
- Comments:30 (4 by maintainers)
Top Results From Across the Web
Angular-CLI with Jasmine unit tests, Chai types conflict #7552
Current behavior: Using Cypress with Typescript in Angular application causes type conflict between Mocha/Chai and Jasmine.
Read more >Jasmine errors after upgrading to Angular 8 - Stack Overflow
ERROR in node_modules/@types/jasmine/index.d.ts:20:1 - error TS6200: Definitions of the following identifiers conflict with those in another ...
Read more >Diff - 085b489add939e1dcdd2b7e048a6c40671e982cc^!
json` with the new version and `grunt build:copyVersionToGem` to update the gem version number. - -This version is used by both `jasmine.js` and ......
Read more >npm ng suddenly not working, conflict pluginconfig
I'm having this issue when compiling in DevOps. It works on my computer. I actually copied over an old package.json and package-lock.json from...
Read more >Upgrading_to_jasmine_4.0 - Jasmine Documentation
Following the steps in this guide will give you the greatest chance of a smooth upgrade experience. Breaking changes in Jasmine 4.0 include...
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 Free
Top 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
Well… not ‘fixed’, just changed. 😄
I updated to grab the commit you just added, but now I get this:
/app/node_modules/angular2-highcharts/dist/Highcharts.d.ts: Error:(1, 1) TS6053: File ‘/app/node_modules/angular2-highcharts/typings/index.d.ts’ not found.
I’m going to fork the repo and poke around a bit, but (as I said) I’m no npm/package.json guru so I’m not exactly sure what to do.
@mikesnare thanks for the info, i think i know what the problem is. Will open a PR these days.