Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Compile error: Module 'vscode-jsonrpc' has already exported a member named x #10

Open
felixfbecker opened this issue Nov 6, 2018 · 0 comments

Comments

@felixfbecker
Copy link

I get this error when building vscode-ws-jsonrpc:

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'ErrorCodes'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'Message'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'MessageType'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationMessage'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType0'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType1'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType2'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType3'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType4'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType5'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType6'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType7'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType8'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'NotificationType9'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestMessage'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType0'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType1'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType2'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType3'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType4'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType5'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType6'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType7'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType8'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'RequestType9'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:2:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'ResponseError'. Consider explicitly re-exporting to resolve the ambiguity.

2 export * from 'vscode-jsonrpc/lib/messages';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../felixfbecker/TypeFox/vscode-ws-jsonrpc/lib/index.d.ts:3:1 - error TS2308: Module 'vscode-jsonrpc' has already exported a member named 'Disposable'. Consider explicitly re-exporting to resolve the ambiguity.

3 export * from './disposable';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant