question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GluegunParameters Import Conflicts with Local Definition

See original GitHub issue

Details

  • Version: 4.0.1
  • Typescript

Issue

CLI Builds fail with the following typescript error:

node_modules/gluegun/build/types/domain/toolbox.d.ts:5:164 - error TS2440: Import declaration conflicts with local declaration of 'GluegunParameters'.

On inspection it looks like there was an intent to move the declaration of ‘GluegunParameters’ into another file and then import the definitions from ‘toolbox’ this seems to be the case with other definitions. It looks like that move didn’t happen though and the toolbox is importing ‘GluegunParameters’ from itself?

MIght be able to fix this and submit a PR but not sure if I’ll have a minute or if maybe theres some other issue here.

Thanks for the great project though. It has been very useful.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cmburcuscommented, Nov 21, 2019

@jamonholmgren thank you very much!!! 😃

0reactions
jamonholmgrencommented, Nov 18, 2019

🎉 This issue is fixed in version 4.1.1 🎉

The release is available on:

Read more comments on GitHub >

github_iconTop Results From Across the Web

TS2440: Import declaration conflicts with local ... - GitHub
Hi Sir! Bug report I am getting following below error : ERROR in [at-loader] ./node_modules/protractor/built/index.d.ts:5:10 TS2440: Import ...
Read more >
Error TS2440 (TS) Import declaration conflicts with local ...
Seems the issue was with VSCode's auto-import of EventEmitter from Protractor ... should be import { EventEmitter } from '@angular/core';.
Read more >
Import declaration conflicts with local declaration of ...
ts:5:24 - error TS2440: Import declaration conflicts with local declaration of 'ProtractorPlugin'. Azure DevOpsAzure DevOps. SK.
Read more >
Tsc error 2440 when using three 108 (UV Generator and ...
TS2440 : Import declaration conflicts with local declaration. This error means stuff like this is not allowed: import { MyClass } from '....
Read more >
angular/protractor - Gitter
... error TS2440: Import declaration conflicts with local declaration of 'ProtractorPlugin'. 5 import { PluginConfig, ProtractorPlugin } from '.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found