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
Hi there, I clone all the code locally, when turn build, I got lots of error message related to ndk project build.
It there any configuration wrong on my side?
by the way, the web project goes smoothly but stuck on ndk package.
@nostr-dev-kit/ndk-wallet:build: ✘ [ERROR] Could not resolve "@noble/hashes/utils"
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts:5:27:
@nostr-dev-kit/ndk-wallet:build: 5 │ import { hexToBytes } from "@noble/hashes/utils";
@nostr-dev-kit/ndk-wallet:build: ╵ ~~~~~~~~~~~~~~~~~~~~~
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: You can mark the path "@noble/hashes/utils" as external to exclude it from the bundle, which will
@nostr-dev-kit/ndk-wallet:build: remove this error and leave the unresolved path in the bundle.
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: ✘ [ERROR] Could not resolve "@noble/hashes/utils"
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts:5:27:
@nostr-dev-kit/ndk-wallet:build: 5 │ import { hexToBytes } from "@noble/hashes/utils";
@nostr-dev-kit/ndk-wallet:build: ╵ ~~~~~~~~~~~~~~~~~~~~~
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: You can mark the path "@noble/hashes/utils" as external to exclude it from the bundle, which will
@nostr-dev-kit/ndk-wallet:build: remove this error and leave the unresolved path in the bundle.
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: CJS Build failed
@nostr-dev-kit/ndk-wallet:build: Error: Build failed with 1 error:
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts:5:27: ERROR: Could not resolve "@noble/hashes/utils"
@nostr-dev-kit/ndk-wallet:build: at failureErrorWithLog (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1651:15)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1059:25
@nostr-dev-kit/ndk-wallet:build: at runOnEndCallbacks (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1486:45)
@nostr-dev-kit/ndk-wallet:build: at buildResponseToResult (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1057:7)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1086:16
@nostr-dev-kit/ndk-wallet:build: at responseCallbacks. (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:704:9)
@nostr-dev-kit/ndk-wallet:build: at handleIncomingPacket (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:764:9)
@nostr-dev-kit/ndk-wallet:build: at Socket.readFromStdout (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:680:7)
@nostr-dev-kit/ndk-wallet:build: at Socket.emit (node:events:518:28)
@nostr-dev-kit/ndk-wallet:build: at addChunk (node:internal/streams/readable:561:12)
@nostr-dev-kit/ndk-wallet:build: ESM Build failed
@nostr-dev-kit/ndk-cache-nostr:build: DTS Build start
@nostr-dev-kit/ndk-cache-redis:build: DTS Build start
@nostr-dev-kit/ndk-cache-dexie:build: DTS Build start
@nostr-dev-kit/ndk-svelte:build: DTS Build start
@nostr-dev-kit/ndk-wallet:build: DTS Build start
@nostr-dev-kit/ndk-svelte:build: DTS ⚡️ Build success in 2610ms
@nostr-dev-kit/ndk-svelte:build: DTS dist/index.d.ts 2.22 KB
@nostr-dev-kit/ndk-svelte:build: DTS dist/index.d.mts 2.22 KB
@nostr-dev-kit/ndk-cache-nostr:build: DTS ⚡️ Build success in 3472ms
@nostr-dev-kit/ndk-cache-nostr:build: DTS dist/index.d.ts 1.77 KB
@nostr-dev-kit/ndk-cache-nostr:build: DTS dist/index.d.mts 1.77 KB
@nostr-dev-kit/ndk-cache-redis:build: DTS ⚡️ Build success in 3599ms
@nostr-dev-kit/ndk-cache-redis:build: DTS dist/index.d.ts 1.13 KB
@nostr-dev-kit/ndk-cache-redis:build: DTS dist/index.d.mts 1.13 KB
@nostr-dev-kit/ndk-cache-dexie:build: DTS ⚡️ Build success in 3971ms
@nostr-dev-kit/ndk-cache-dexie:build: DTS dist/index.d.ts 5.69 KB
@nostr-dev-kit/ndk-cache-dexie:build: DTS dist/index.d.mts 5.69 KB
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts(5,28): error TS2307: Cannot find module '@noble/hashes/utils' or its corresponding type declarations.
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: DTS Build error
@nostr-dev-kit/ndk-wallet:build: RollupError: [plugin dts] src/wallets/nwc/index.ts: Failed to compile. Check the logs above.
@nostr-dev-kit/ndk-wallet:build: at getRollupError (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:285:41)
@nostr-dev-kit/ndk-wallet:build: at Object.error (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:281:42)
@nostr-dev-kit/ndk-wallet:build: at Object.error (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:888:32)
@nostr-dev-kit/ndk-wallet:build: at Object.error (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:20892:42)
@nostr-dev-kit/ndk-wallet:build: at generateDtsFromTs (/home/amber/highlighter/node_modules/.pnpm/[email protected][email protected]_ts-node@10.9.2_@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7775:22)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected][email protected]_ts-node@10.9.2_@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7782:59
@nostr-dev-kit/ndk-wallet:build: at nullishCoalesce (/home/amber/highlighter/node_modules/.pnpm/[email protected][email protected][email protected]@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:1:198)
@nostr-dev-kit/ndk-wallet:build: at Object.transform (/home/amber/highlighter/node_modules/.pnpm/[email protected][email protected]_ts-node@10.9.2_@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7782:18)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1073:40
@nostr-dev-kit/ndk-wallet:build: ELIFECYCLE Command failed with exit code 1.
@nostr-dev-kit/ndk-wallet:build: ERROR: command finished with error: command (/home/amber/highlighter/packages/ndk/ndk-wallet) /home/amber/.local/share/pnpm/pnpm run build exited (1)
@highlighter/common:build: cache miss, executing a7cffc2f47b91d84
@nostr-dev-kit/ndk-wallet#build: command (/home/amber/highlighter/packages/ndk/ndk-wallet) /home/amber/.local/share/pnpm/pnpm run build exited (1)
Tasks: 5 successful, 7 total
Cached: 0 cached, 7 total
Time: 15.202s
Failed: @nostr-dev-kit/ndk-wallet#build
...Finishing writing to cache... WARNING no output files found for task @nostr-dev-kit/ndk#build. Please check your `outputs` key in `turbo.json`
WARNING no output files found for task @nostr-dev-kit/ndk-cache-dexie#build. Please check your outputs key in turbo.json
WARNING no output files found for task @nostr-dev-kit/ndk-cache-nostr#build. Please check your outputs key in turbo.json
WARNING no output files found for task @nostr-dev-kit/ndk-cache-redis#build. Please check your outputs key in turbo.json
WARNING no output files found for task @nostr-dev-kit/ndk-svelte#build. Please check your outputs key in turbo.json
ERROR run failed: command exited (1)
The text was updated successfully, but these errors were encountered:
Hi there, I clone all the code locally, when turn build, I got lots of error message related to ndk project build.
It there any configuration wrong on my side?
by the way, the web project goes smoothly but stuck on ndk package.
@nostr-dev-kit/ndk-wallet:build: ✘ [ERROR] Could not resolve "@noble/hashes/utils"
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts:5:27:
@nostr-dev-kit/ndk-wallet:build: 5 │ import { hexToBytes } from "@noble/hashes/utils";
@nostr-dev-kit/ndk-wallet:build: ╵ ~~~~~~~~~~~~~~~~~~~~~
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: You can mark the path "@noble/hashes/utils" as external to exclude it from the bundle, which will
@nostr-dev-kit/ndk-wallet:build: remove this error and leave the unresolved path in the bundle.
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: ✘ [ERROR] Could not resolve "@noble/hashes/utils"
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts:5:27:
@nostr-dev-kit/ndk-wallet:build: 5 │ import { hexToBytes } from "@noble/hashes/utils";
@nostr-dev-kit/ndk-wallet:build: ╵ ~~~~~~~~~~~~~~~~~~~~~
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: You can mark the path "@noble/hashes/utils" as external to exclude it from the bundle, which will
@nostr-dev-kit/ndk-wallet:build: remove this error and leave the unresolved path in the bundle.
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: CJS Build failed
@nostr-dev-kit/ndk-wallet:build: Error: Build failed with 1 error:
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts:5:27: ERROR: Could not resolve "@noble/hashes/utils"
@nostr-dev-kit/ndk-wallet:build: at failureErrorWithLog (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1651:15)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1059:25
@nostr-dev-kit/ndk-wallet:build: at runOnEndCallbacks (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1486:45)
@nostr-dev-kit/ndk-wallet:build: at buildResponseToResult (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1057:7)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1086:16
@nostr-dev-kit/ndk-wallet:build: at responseCallbacks. (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:704:9)
@nostr-dev-kit/ndk-wallet:build: at handleIncomingPacket (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:764:9)
@nostr-dev-kit/ndk-wallet:build: at Socket.readFromStdout (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:680:7)
@nostr-dev-kit/ndk-wallet:build: at Socket.emit (node:events:518:28)
@nostr-dev-kit/ndk-wallet:build: at addChunk (node:internal/streams/readable:561:12)
@nostr-dev-kit/ndk-wallet:build: ESM Build failed
@nostr-dev-kit/ndk-cache-nostr:build: DTS Build start
@nostr-dev-kit/ndk-cache-redis:build: DTS Build start
@nostr-dev-kit/ndk-cache-dexie:build: DTS Build start
@nostr-dev-kit/ndk-svelte:build: DTS Build start
@nostr-dev-kit/ndk-wallet:build: DTS Build start
@nostr-dev-kit/ndk-svelte:build: DTS ⚡️ Build success in 2610ms
@nostr-dev-kit/ndk-svelte:build: DTS dist/index.d.ts 2.22 KB
@nostr-dev-kit/ndk-svelte:build: DTS dist/index.d.mts 2.22 KB
@nostr-dev-kit/ndk-cache-nostr:build: DTS ⚡️ Build success in 3472ms
@nostr-dev-kit/ndk-cache-nostr:build: DTS dist/index.d.ts 1.77 KB
@nostr-dev-kit/ndk-cache-nostr:build: DTS dist/index.d.mts 1.77 KB
@nostr-dev-kit/ndk-cache-redis:build: DTS ⚡️ Build success in 3599ms
@nostr-dev-kit/ndk-cache-redis:build: DTS dist/index.d.ts 1.13 KB
@nostr-dev-kit/ndk-cache-redis:build: DTS dist/index.d.mts 1.13 KB
@nostr-dev-kit/ndk-cache-dexie:build: DTS ⚡️ Build success in 3971ms
@nostr-dev-kit/ndk-cache-dexie:build: DTS dist/index.d.ts 5.69 KB
@nostr-dev-kit/ndk-cache-dexie:build: DTS dist/index.d.mts 5.69 KB
@nostr-dev-kit/ndk-wallet:build: src/wallets/nwc/index.ts(5,28): error TS2307: Cannot find module '@noble/hashes/utils' or its corresponding type declarations.
@nostr-dev-kit/ndk-wallet:build:
@nostr-dev-kit/ndk-wallet:build: DTS Build error
@nostr-dev-kit/ndk-wallet:build: RollupError: [plugin dts] src/wallets/nwc/index.ts: Failed to compile. Check the logs above.
@nostr-dev-kit/ndk-wallet:build: at getRollupError (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:285:41)
@nostr-dev-kit/ndk-wallet:build: at Object.error (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:281:42)
@nostr-dev-kit/ndk-wallet:build: at Object.error (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:888:32)
@nostr-dev-kit/ndk-wallet:build: at Object.error (/home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:20892:42)
@nostr-dev-kit/ndk-wallet:build: at generateDtsFromTs (/home/amber/highlighter/node_modules/.pnpm/[email protected][email protected]_ts-node@10.9.2_@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7775:22)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected][email protected]_ts-node@10.9.2_@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7782:59
@nostr-dev-kit/ndk-wallet:build: at nullishCoalesce (/home/amber/highlighter/node_modules/.pnpm/[email protected][email protected][email protected]@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:1:198)
@nostr-dev-kit/ndk-wallet:build: at Object.transform (/home/amber/highlighter/node_modules/.pnpm/[email protected][email protected]_ts-node@10.9.2_@types[email protected][email protected][email protected]/node_modules/tsup/dist/rollup.js:7782:18)
@nostr-dev-kit/ndk-wallet:build: at /home/amber/highlighter/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1073:40
@nostr-dev-kit/ndk-wallet:build: ELIFECYCLE Command failed with exit code 1.
@nostr-dev-kit/ndk-wallet:build: ERROR: command finished with error: command (/home/amber/highlighter/packages/ndk/ndk-wallet) /home/amber/.local/share/pnpm/pnpm run build exited (1)
@highlighter/common:build: cache miss, executing a7cffc2f47b91d84
@nostr-dev-kit/ndk-wallet#build: command (/home/amber/highlighter/packages/ndk/ndk-wallet) /home/amber/.local/share/pnpm/pnpm run build exited (1)
Tasks: 5 successful, 7 total
Cached: 0 cached, 7 total
Time: 15.202s
Failed: @nostr-dev-kit/ndk-wallet#build
WARNING no output files found for task @nostr-dev-kit/ndk-cache-dexie#build. Please check your
outputs
key inturbo.json
WARNING no output files found for task @nostr-dev-kit/ndk-cache-nostr#build. Please check your
outputs
key inturbo.json
WARNING no output files found for task @nostr-dev-kit/ndk-cache-redis#build. Please check your
outputs
key inturbo.json
WARNING no output files found for task @nostr-dev-kit/ndk-svelte#build. Please check your
outputs
key inturbo.json
ERROR run failed: command exited (1)
The text was updated successfully, but these errors were encountered: