You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
———————————————————————————————————————————————————————————————————————————————————————————————————————————
✖ @hashgraph/json-rpc-relay:build
> @hashgraph/[email protected] build
> pnpm run clean && pnpm run compile
> @hashgraph/[email protected] clean /Users/erickchandra/LocalCode/hedera-json-rpc-relay/packages/relay
> rm -rf ./dist && rm -rf tsconfig.tsbuildinfo
> @hashgraph/[email protected] compile /Users/erickchandra/LocalCode/hedera-json-rpc-relay/packages/relay
> tsc -b tsconfig.json
../../node_modules/axios-retry/index.d.ts(10,14): error TS2833: Cannot find namespace 'axios'. Did you mean 'Axios'?
../../node_modules/axios-retry/index.d.ts(10,34): error TS2833: Cannot find namespace 'axios'. Did you mean 'Axios'?
../../node_modules/axios-retry/index.d.ts(43,30): error TS2833: Cannot find namespace 'axios'. Did you mean 'Axios'?
../../node_modules/axios-retry/index.d.ts(49,46): error TS2833: Cannot find namespace 'axios'. Did you mean 'Axios'?
../../node_modules/axios-retry/index.d.ts(57,14): error TS2833: Cannot find namespace 'axios'. Did you mean 'Axios'?
../../node_modules/axios-retry/index.d.ts(58,22): error TS2833: Cannot find namespace 'axios'. Did you mean 'Axios'?
../../node_modules/axios-retry/index.d.ts(93,16): error TS2671: Cannot augment module 'axios' because it resolves to a non-module entity.
src/lib/clients/mirrorNodeClient.ts(22,17): error TS2305: Module '"axios"' has no exported member 'AxiosInstance'.
src/lib/clients/mirrorNodeClient.ts(22,32): error TS2305: Module '"axios"' has no exported member 'AxiosRequestConfig'.
src/lib/clients/mirrorNodeClient.ts(22,52): error TS2305: Module '"axios"' has no exported member 'AxiosResponse'.
src/lib/clients/mirrorNodeClient.ts(232,7): error TS2345: Argument of type '{ baseURL: string; responseType: "json"; headers: { 'Content-Type': string; }; timeout: number; maxRedirects: number; httpAgent: http.Agent; httpsAgent: https.Agent; }' is not assignable to parameter of type 'AxiosXHRConfigBase<unknown>'.
Object literal may only specify known properties, and 'maxRedirects' does not exist in type 'AxiosXHRConfigBase<unknown>'.
ELIFECYCLE Command failed with exit code 1.
npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /Users/erickchandra/LocalCode/hedera-json-rpc-relay/packages/relay
npm error workspace @hashgraph/[email protected]
npm error location /Users/erickchandra/LocalCode/hedera-json-rpc-relay/packages/relay
npm error command failed
npm error command sh -c pnpm run clean && pnpm run compile
Description
Error after running
npm run build command
———————————————————————————————————————————————————————————————————————————————————————————————————————————
✖ @hashgraph/json-rpc-relay:build
> @hashgraph/[email protected] build
> pnpm run clean && pnpm run compile
———————————————————————————————————————————————————————————————————————————————————————————————————————————————
Lerna (powered by Nx) Ran target build for 4 projects (9s)
✔ 1/2 succeeded [0 read from cache]
✖ 1/2 targets failed, including the following:
Steps to reproduce
run the
npm run build
Additional context
No response
Hedera network
No response
Version
v.0.63.2
Operating system
macOS
The text was updated successfully, but these errors were encountered: