Code Monkey home page Code Monkey logo

cord-demo-scripts's People

Contributors

adi-a11y avatar amarts avatar rithwik0480 avatar roynrishingha avatar smohan-dw avatar vatsa287 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cord-demo-scripts's Issues

did-name creation in demo.ts

  • current way of 4 bytes in dynamic fields is not going to work. It needs to be at least 8 or more characters
  • fix the identity of 'did-name' in demo.ts

streamExtrinsic error on demo and start scripts

looks like an issue with the API types. Need to investigate

Argument of type 'import("/Users/smohan/Devel/cord-workspace/sdk/prod/cord-scripts/node_modules/@polkadot/api/promise/types").SubmittableExtrinsic' is not assignable to parameter of type 'import("/Users/smohan/Devel/cord-workspace/sdk/prod/cord-scripts/node_modules/@cord.network/types/node_modules/@polkadot/api/promise/types").SubmittableExtrinsic'.
Property '#private' is missing in type 'import("/Users/smohan/Devel/cord-workspace/sdk/prod/cord-scripts/node_modules/@polkadot/api/submittable/types").SubmittableExtrinsic<"promise", import("/Users/smohan/Devel/cord-workspace/sdk/prod/cord-scripts/node_modules/@polkadot/api/node_modules/@polkadot/types/types/extrinsic").ISubmittableResult>' but required in type 'import("/Users/smohan/Devel/cord-workspace/sdk/prod/cord-scripts/node_modules/@cord.network/types/node_modules/@polkadot/api/submittable/types").SubmittableExtrinsic<"promise", import("/Users/smohan/Devel/cord-workspace/sdk/prod/cord-scripts/node_modules/@polkadot/types/types/extrinsic").ISubmittableResult>'.ts(2345)
Extrinsic.d.ts(100, 5): '#private' is declared here.
let streamCreationExtrinsic: SubmittableExtrinsic

Issue in demo setup.

I followed step 2 in the README.md
I would really appreciate if I can get some help here
@vatsa287 @amarts @adi-a11y

upon running the docker Command I get

$ docker run --network host dhiway/cord:develop --dev
2024-04-17 18:18:23 Dhiway CORD
2024-04-17 18:18:23 ✌️  version 0.9.2-34843b507bc
2024-04-17 18:18:23 ❤️  by Dhiway Networks <[email protected]>, 2019-2024
2024-04-17 18:18:23 📋 Chain specification: Cord Ignite
2024-04-17 18:18:23 🏷  Node name: wanting-knowledge-1575
2024-04-17 18:18:23 👤 Role: AUTHORITY
2024-04-17 18:18:23 💾 Database: RocksDb at /tmp/substrate8ZE49U/chains/dev/db/full
2024-04-17 18:18:35 🔨 Initializing Genesis block/state (state: 0x2409…8e4f, header-hash: 0x71a7…7b1f)
2024-04-17 18:18:35 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.
2024-04-17 18:18:35 👶 Creating empty BABE epoch changes on what appears to be first startup.
2024-04-17 18:18:35 🏷  Local node identity is: 12D3KooWAU2yguQZbPujYo66vZu1fv5RbMG5vYQ9QppY9jA5pth4
2024-04-17 18:18:35 💻 Operating system: linux
2024-04-17 18:18:35 💻 CPU architecture: x86_64
2024-04-17 18:18:35 💻 Target environment: gnu
2024-04-17 18:18:35 💻 CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
2024-04-17 18:18:35 💻 CPU cores: 2
2024-04-17 18:18:35 💻 Memory: 6939MB
2024-04-17 18:18:35 💻 Kernel: 5.15.146.1-microsoft-standard-WSL2
2024-04-17 18:18:35 💻 Linux distribution: Debian GNU/Linux 11 (bullseye)
2024-04-17 18:18:35 💻 Virtual machine: yes
2024-04-17 18:18:35 📦 Highest known block at #0
2024-04-17 18:18:35 Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["*"]
2024-04-17 18:18:35 〽️ Prometheus exporter started at 127.0.0.1:9615
2024-04-17 18:18:35 🏁 CPU score: 584.19 MiBs
2024-04-17 18:18:35 🏁 Memory score: 7.35 GiBs
2024-04-17 18:18:35 🏁 Disk score (seq. writes): 328.60 MiBs
2024-04-17 18:18:35 🏁 Disk score (rand. writes): 133.69 MiBs
2024-04-17 18:18:35 ⚠️  The hardware does not meet the minimal requirements Failed checks: BLAKE2-256(expected: 783.27 MiBs, found: 584.19 MiBs), Copy(expected: 11.49 GiBs, found: 7.35 GiBs), Seq Write(expected
: 950.00 MiBs, found: 328.60 MiBs), Rnd Write(expected: 420.00 MiBs, found: 133.69 MiBs),  for role 'Authority'.
2024-04-17 18:18:35 👶 Starting BABE Authorship worker
2024-04-17 18:18:36 🙌 Starting consensus session on top of parent 0x71a782090e07d72ae70ebfa353c7e0bafc9ff49d67b9a20ea72e442e77707b1f
2024-04-17 18:18:36 🎁 Prepared block for proposing at 1 (2 ms) [hash: 0xa66a0f611957d9d9d5142e085bad61b3bd6537812f396e3bf7011bdd97ed58c3; parent_hash: 0x71a7…7b1f; extrinsics (1): [0x4760…75b3]
2024-04-17 18:18:36 🔖 Pre-sealed block for proposal at 1. Hash now 0x59391436815459d19133bb72a4726a54dbdcabf10b0d39d92c56daf83b6c8cc4, previously 0xa66a0f611957d9d9d5142e085bad61b3bd6537812f396e3bf7011bdd97ed5
8c3.
2024-04-17 18:18:36 👶 New epoch 0 launching at block 0x5939…8cc4 (block slot 571125972 >= start slot 571125972).
2024-04-17 18:18:36 👶 Next epoch starts at slot 571126012
2024-04-17 18:18:36 ✨ Imported #1 (0x5939…8cc4)
2024-04-17 18:18:39 🙌 Starting consensus session on top of parent 0x59391436815459d19133bb72a4726a54dbdcabf10b0d39d92c56daf83b6c8cc4
2024-04-17 18:18:39 🎁 Prepared block for proposing at 2 (1 ms) [hash: 0x8b70b0ec52ed333e6560840c9730964d198b544c1fc6629baeb966019c301b6d; parent_hash: 0x5939…8cc4; extrinsics (1): [0x3b60…0778]
2024-04-17 18:18:39 🔖 Pre-sealed block for proposal at 2. Hash now 0xa0203149654f60c842fe27a1e3b4a6e1370bb476d01852a0e31fdbf0f478d181, previously 0x8b70b0ec52ed333e6560840c9730964d198b544c1fc6629baeb966019c301
b6d.
2024-04-17 18:18:39 ✨ Imported #2 (0xa020…d181)
2024-04-17 18:18:40 💤 Idle (0 peers), best: #2 (0xa020…d181), finalized #0 (0x71a7…7b1f), ⬇ 0 ⬆ 0
2024-04-17 18:18:42 🙌 Starting consensus session on top of parent 0xa0203149654f60c842fe27a1e3b4a6e1370bb476d01852a0e31fdbf0f478d181
2024-04-17 18:18:42 🎁 Prepared block for proposing at 3 (1 ms) [hash: 0x50866134fc6fdc88dc5e35b508f49094fd1618ca8f32ba3b122a36079dd429a3; parent_hash: 0xa020…d181; extrinsics (1): [0x57ff…d663]
2024-04-17 18:18:42 🔖 Pre-sealed block for proposal at 3. Hash now 0xe0f7ae1aa0149b0ed8e41efe7a4906c4dc058722af405314faad234b1bbcba37, previously 0x50866134fc6fdc88dc5e35b508f49094fd1618ca8f32ba3b122a36079dd42
9a3.
2024-04-17 18:18:42 ✨ Imported #3 (0xe0f7…ba37)
2024-04-17 18:18:45 🙌 Starting consensus session on top of parent 0xe0f7ae1aa0149b0ed8e41efe7a4906c4dc058722af405314faad234b1bbcba37
2024-04-17 18:18:45 🎁 Prepared block for proposing at 4 (1 ms) [hash: 0x187088d92ddd7bdd19c69751bcc9aa9dd07cc26e7213177baf350207bb83b09d; parent_hash: 0xe0f7…ba37; extrinsics (1): [0xafdb…b2a6]
2024-04-17 18:18:45 🔖 Pre-sealed block for proposal at 4. Hash now 0x5b2a34978eb0011ee788e277fbc3c83a33817ce212c0ab62fff00a64c92bf19a, previously 0x187088d92ddd7bdd19c69751bcc9aa9dd07cc26e7213177baf350207bb83b
09d.



so on, so forth...

But the browser doesn't seem to connect, same issue while running the demo scripts
image

$ npx tsx src/func-test.ts
(node:23400) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///D%3A/Jay/C4GT/DMP/CORD/cord-demo-scripts/node_modules/tsx/dist/loader.js", pa
thToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)
Applied changes: logLevel=Error to log groups 'all'.
2024-04-18 00:15:06          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure
2024-04-18 00:15:08          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure
2024-04-18 00:15:11          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure
2024-04-18 00:15:13          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure
2024-04-18 00:15:16          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure

`yarn install` fails

node -v && yarn --version
v18.16.0
3.0.2
yarn install
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @polkadot/x-global@npm:7.8.2 can't be found in the cache and will be fetched from the remote
➤ YN0013: │ @polkadot/x-randomvalues@npm:7.8.2 can't be found in the cache and will be fetched from the
➤ YN0013: │ @polkadot/x-textdecoder@npm:7.8.2 can't be found in the cache and will be fetched from the r
➤ YN0013: │ @polkadot/x-textencoder@npm:7.8.2 can't be found in the cache and will be fetched from the r
➤ YN0013: │ @polkadot/x-ws@npm:7.8.2 can't be found in the cache and will be fetched from the remote reg
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ @types/node@npm:16.11.7 can't be found in the cache and will be fetched from the remote regi
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ @types/yargs-parser@npm:20.2.1 can't be found in the cache and will be fetched from the remo
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ @types/yargs@npm:17.0.5 can't be found in the cache and will be fetched from the remote regi
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ agentkeepalive@npm:4.1.4 can't be found in the cache and will be fetched from the remote reg
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ ansi-regex@npm:2.1.1 can't be found in the cache and will be fetched from the remote registr
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ aproba@npm:1.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ are-we-there-yet@npm:1.1.7 can't be found in the cache and will be fetched from the remote r
➤ YN0013: │ base-x@npm:3.0.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ code-point-at@npm:1.1.0 can't be found in the cache and will be fetched from the remote regi
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ is-fullwidth-code-point@npm:1.0.0 can't be found in the cache and will be fetched from the r
➤ YN0013: │ make-fetch-happen@npm:9.1.0 can't be found in the cache and will be fetched from the remote
➤ YN0013: │ minipass-fetch@npm:1.4.1 can't be found in the cache and will be fetched from the remote reg
➤ YN0013: │ multiformats@npm:9.4.10 can't be found in the cache and will be fetched from the remote regi
➤ YN0013: │ node-gyp@npm:8.4.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ npmlog@npm:4.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ number-is-nan@npm:1.0.1 can't be found in the cache and will be fetched from the remote regi
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ signal-exit@npm:3.0.5 can't be found in the cache and will be fetched from the remote regist
➤ YN0013: │ socks-proxy-agent@npm:6.1.0 can't be found in the cache and will be fetched from the remote
➤ YN0013: │ socks@npm:2.6.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ source-map-support@npm:0.5.20 can't be found in the cache and will be fetched from the remot
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ stackframe@npm:1.2.0 can't be found in the cache and will be fetched from the remote registr
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ string-width@npm:1.0.2 can't be found in the cache and will be fetched from the remote regis
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ strip-ansi@npm:3.0.1 can't be found in the cache and will be fetched from the remote registr
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ ts-node@npm:9.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ typescript-logging@npm:0.6.4 can't be found in the cache and will be fetched from the remote
➤ YN0013: │ typescript@npm:4.4.4 can't be found in the cache and will be fetched from the remote registr
➤ YN0013: │ typescript@patch:typescript@npm%3A4.4.4#~builtin<compat/typescript>::version=4.4.4&hash=3265
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ wait-for-enter@npm:1.0.0 can't be found in the cache and will be fetched from the remote reg
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0013: │ yargs@npm:17.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:149:30)
    at PassThrough.emit (node:events:513:28)
    at emitCloseNT (node:internal/streams/destroy:132:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
➤ YN0000: └ Completed in 5s 939ms
➤ YN0000: Failed with errors in 5s 998ms

Test

Tesing webhook

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.