Skip to content

Question: Duplicate identifier on update to 0.6.2 #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joshwiens opened this issue Mar 19, 2016 · 3 comments
Closed

Question: Duplicate identifier on update to 0.6.2 #80

joshwiens opened this issue Mar 19, 2016 · 3 comments

Comments

@joshwiens
Copy link

When updating from 0.5.5 to 0.6.2 npm install throws a bunch of ...

typings/main/ambient/async/index.d.ts (27,5): Duplicate identifier 'started'. (2300) typings/main/ambient/async/index.d.ts (30,5): Duplicate identifier 'concurrency'. (2300) typings/main/ambient/async/index.d.ts (35,5): Duplicate identifier 'saturated'. (2300)

Mind you this is a very truncated list. I haven't looked into why it's happening yet, at this point i'm curious if someone has seen it happen.

  • Fresh checkout of the angular2-seed
  • Update ts-node to 0.6.2 from 0.5.5
  • npm install

Typescript v1.8.7
Typings v0.7.9

@blakeembrey
Copy link
Member

You might need to provide links to reproduce the issue. I'm going to guess you actually have duplicate identifiers.

@joshwiens
Copy link
Author

@blakeembrey - It was the same general issues as microsoft/TypeScript#6475

In the end, I just has to tool around with the tsconfig "exclude" : until I got the semantics right.

From
"exclude": [ "node_modules", "typings/browser.d.ts", "typings/browser/**" ],

To
"exclude": [ "node_modules", "typings/browser.d.ts", "typings/browser" ],

Kind of an odd issue but hey, whatever works. Thanks for the quick response :)

@blakeembrey
Copy link
Member

Ah, yes. The tsconfig.json exclude shouldn't be globs. Glad you sorted it out 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants