Skip to content
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

chore(build): error TS2300: Duplicate identifier 'XXXXX' #150

Closed
manekinekko opened this issue Dec 8, 2015 · 7 comments
Closed

chore(build): error TS2300: Duplicate identifier 'XXXXX' #150

manekinekko opened this issue Dec 8, 2015 · 7 comments
Assignees

Comments

@manekinekko
Copy link
Member

@manekinekko manekinekko commented Dec 8, 2015

tsc is throwing so much TS2300 errors when running the build command (build.typescript.all).

here is a sample :

universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3160,11): error TS2300: Duplicate identifier 'EventEmitter'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3284,9): error TS2300: Duplicate identifier 'name'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3285,9): error TS2300: Duplicate identifier 'value'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3286,9): error TS2300: Duplicate identifier 'path'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3287,9): error TS2300: Duplicate identifier 'domain'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3288,9): error TS2300: Duplicate identifier 'secure'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3289,9): error TS2300: Duplicate identifier 'expiry'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(3648,11): error TS2300: Duplicate identifier 'WebDriver'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4083,9): error TS2300: Duplicate identifier 'ELEMENT'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4372,11): error TS2300: Duplicate identifier 'WebElement'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4699,11): error TS2300: Duplicate identifier 'WebElementPromise'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4836,9): error TS2300: Duplicate identifier 'using'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4842,9): error TS2300: Duplicate identifier 'value'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4857,11): error TS2300: Duplicate identifier 'Session'.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4965,5): error TS2300: Duplicate identifier 'export='.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4969,5): error TS2300: Duplicate identifier 'export='.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4973,5): error TS2300: Duplicate identifier 'export='.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4977,5): error TS2300: Duplicate identifier 'export='.
universal/tsd_typings/selenium-webdriver/selenium-webdriver.d.ts(4981,5): error TS2300: Duplicate identifier 'export='.

After some investigation, it seems it has something to do with this issue from typescript microsoft/TypeScript#1039. I am trying to find a fix.

@manekinekko manekinekko changed the title chroe(build): error TS2300: Duplicate identifier 'XXXXX' chore(build): error TS2300: Duplicate identifier 'XXXXX' Dec 8, 2015
@wesleycho
Copy link
Contributor

@wesleycho wesleycho commented Dec 20, 2015

@PatrickJS
Copy link
Member

@PatrickJS PatrickJS commented Dec 22, 2015

@PatrickJS
Copy link
Member

@PatrickJS PatrickJS commented Jan 4, 2016

this will be fixed with webpack and ts-loader

@manekinekko
Copy link
Member Author

@manekinekko manekinekko commented Jan 9, 2016

any news about this issue? Do you need help?

@PatrickJS
Copy link
Member

@PatrickJS PatrickJS commented Jan 10, 2016

when we switch to webpack we can ignore the warnings until the angular repo fixes it's typings

@PatrickJS
Copy link
Member

@PatrickJS PatrickJS commented Jan 29, 2016

fixed with refactored build system. I'm also deleting the angular2 typings during install. We will also switch to typings to ensure the warnings we see are correct ones

@PatrickJS PatrickJS closed this Jan 29, 2016
@angular-automatic-lock-bot
Copy link

@angular-automatic-lock-bot angular-automatic-lock-bot bot commented Sep 4, 2019

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.