Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Duplicate identifier error occurred while running demo.ts #247

Open
Open
Duplicate identifier error occurred while running demo.ts#247

Description

PS D:\vscode_project\puppet-xp> npm run start:ripe:demo

wechaty-puppet-xp@1.13.12 start:ripe:demo
npm run build:agent && cross-env WECHATY_LOG=info NODE_OPTIONS="--no-warnings --loader=ts-node/esm" node examples/demo.ts

wechaty-puppet-xp@1.13.12 build:agent
tsc src/init-agent-script.ts --outFile src/init-agent-script.js

node_modules/@types/frida-gum/index.d.ts:2370:15 - error TS2300: Duplicate identifier 'Worker'.

2370 declare class Worker {
~~~~~~

node_modules/typescript/lib/lib.dom.d.ts:16989:11
16989 interface Worker extends EventTarget, AbstractWorker {
~~~~~~
'Worker' was also declared here.
node_modules/typescript/lib/lib.dom.d.ts:17003:13
17003 declare var Worker: {
~~~~~~
and here.

node_modules/@types/frida-gum/index.d.ts:2759:15 - error TS2300: Duplicate identifier 'File'.

2759 declare class File {
~~~~

node_modules/typescript/lib/lib.dom.d.ts:5334:11
5334 interface File extends Blob {
~~~~
'File' was also declared here.
node_modules/typescript/lib/lib.dom.d.ts:5340:13
5340 declare var File: {
~~~~
and here.

node_modules/typescript/lib/lib.dom.d.ts:5334:11 - error TS2300: Duplicate identifier 'File'.

5334 interface File extends Blob {
~~~~

node_modules/@types/frida-gum/index.d.ts:2759:15
2759 declare class File {
~~~~
'File' was also declared here.

node_modules/typescript/lib/lib.dom.d.ts:5340:13 - error TS2300: Duplicate identifier 'File'.

5340 declare var File: {
~~~~

node_modules/@types/frida-gum/index.d.ts:2759:15
2759 declare class File {
~~~~
'File' was also declared here.

node_modules/typescript/lib/lib.dom.d.ts:16989:11 - error TS2300: Duplicate identifier 'Worker'.

16989 interface Worker extends EventTarget, AbstractWorker {
~~~~~~

node_modules/@types/frida-gum/index.d.ts:2370:15
2370 declare class Worker {
~~~~~~
'Worker' was also declared here.

node_modules/typescript/lib/lib.dom.d.ts:17003:13 - error TS2300: Duplicate identifier 'Worker'.

17003 declare var Worker: {
~~~~~~

node_modules/@types/frida-gum/index.d.ts:2370:15
2370 declare class Worker {
~~~~~~
'Worker' was also declared here.

Found 6 errors in 2 files.

Errors Files
2 node_modules/@types/frida-gum/index.d.ts:2370
4 node_modules/typescript/lib/lib.dom.d.ts:5334

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions