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.

Getting a new error on working code: Module "./connection.ts" has already exported a member named 'RedisConnectOptions'.

See original GitHub issue

Hi:

When I run my tests a completely refresh my Deno cache in order to make sure I get all the latest libraries.

Today code that ran fine a week ago is erroring as follows

TS2308 [ERROR]: Module "./connection.ts" has already exported a member named 'RedisConnectOptions'. Consider explicitly re-exporting to resolve the ambiguity.
export * from "./redis.ts";
~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://raw.githubusercontent.com/keroxp/deno-redis/master/mod.ts:8:1

Tell me please, has something changed on your end, or is this my doing?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Terkwoodcommented, Jun 29, 2020

Thanks @uki00a! 🏁

0reactions
reselbobcommented, Jul 11, 2020

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues
node_modules/@storybook/client-api/dist/ts3.9/index.d.ts:4:1 Module './types' has already exported a member named 'RenderContext'.
Read more >
How to do re-export with overrides?
I found this to work quite nicely: import * as packageA from "packageA"; import * as packageB from "packageB"; export default { ....
Read more >
Module has no exported member error in TypeScript
To solve the error, make sure the module exports the specific member and you haven't mistyped the name or mistaken named for default...
Read more >
Common Errors with Exporting and Importing Translation ...
This error message only applies to data translation files. Data translation isn't enabled or was disabled after the data translation file was exported....
Read more >
TypeScript errors and how to fix them
error TS2305: Module ' ./sum ' has no exported member ' multiply '. Broken Code ❌. sum.ts. 1 2 3
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