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

Duplicate identifier error occurred while running demo.ts #247

Open
2352312138 opened this issue Feb 19, 2025 · 0 comments
Open

Duplicate identifier error occurred while running demo.ts #247

2352312138 opened this issue Feb 19, 2025 · 0 comments

Comments

@2352312138
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant