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

[Bug]: Argument of type 'RequestInfo' is not assignable to parameter of type 'string'. #6623

Open
domiiinik opened this issue Apr 7, 2024 · 2 comments
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage

Comments

@domiiinik
Copy link

Impacted Library name

No response

Impacted Library version

No response

Describe the bug

trying to build the app as in readme via pnpm build:lld gives an error:

@ledgerhq/live-common:build: $ pnpm tsc --project src/tsconfig.json
@ledgerhq/live-common:build: src/families/solana/api/chain/index.ts:87:18 - error TS2345: Argument of type 'RequestInfo' is not assignable to parameter of type 'string'.
@ledgerhq/live-common:build: Type 'URLLike' is not assignable to type 'string'.
@ledgerhq/live-common:build:
@ledgerhq/live-common:build: 87 logger(url, options);
@ledgerhq/live-common:build: ~~~
@ledgerhq/live-common:build:
@ledgerhq/live-common:build:
@ledgerhq/live-common:build: Found 1 error in src/families/solana/api/chain/index.ts:87
@ledgerhq/live-common:build:
@ledgerhq/live-common:build: Error:
@ledgerhq/live-common:build: at file:///home/dominik/Downloads/ledger-live/libs/ledger-live-common/scripts/build-ts.mjs:18:10
@ledgerhq/live-common:build: exit code: 2 (Misuse of shell builtins)
@ledgerhq/live-common:build:  ELIFECYCLE  Command failed with exit code 1.
@ledgerhq/live-common:build: ERROR: command finished with error: command (/home/dominik/Downloads/ledger-live/libs/ledger-live-common) pnpm run build exited (1)
command (/home/dominik/Downloads/ledger-live/libs/ledger-live-common) pnpm run build exited (1)

Expected behavior

no error during the build

Additional context

No response

@domiiinik domiiinik added bug Something isn't working libraries Impacts the Libraries triage In need of triage labels Apr 7, 2024
Copy link

github-actions bot commented May 8, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label, comment, or consider closing it.

@github-actions github-actions bot added the Stale label May 8, 2024
@Vin757
Copy link

Vin757 commented May 8, 2024

30day no activity? Well not built for dummies

@github-actions github-actions bot removed the Stale label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage
Projects
None yet
Development

No branches or pull requests

2 participants