-
Notifications
You must be signed in to change notification settings - Fork 0
Error when using nodejs 18 #2
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
App errors out when running npx code-launcher with Node.js v18.18.2 (and presumably eariler versions).
Need to install the following packages:
code-launcher@1.3.13
Ok to proceed? (y)
/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:22830
var channels = diagnostics.tracingChannel("fastify.request.handler");
^
TypeError: diagnostics.tracingChannel is not a function
at ../../node_modules/.pnpm/fastify@5.0.0/node_modules/fastify/lib/wrapThenable.js (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:22830:32)
at __require (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:13:50)
at ../../node_modules/.pnpm/fastify@5.0.0/node_modules/fastify/lib/handleRequest.js (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:22887:24)
at __require (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:13:50)
at ../../node_modules/.pnpm/fastify@5.0.0/node_modules/fastify/lib/reply.js (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:28261:21)
at __require (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:13:50)
at ../../node_modules/.pnpm/fastify@5.0.0/node_modules/fastify/fastify.js (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:51822:17)
at __require (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:13:50)
at Object.<anonymous> (/home/cx/.npm/_npx/79558176d7c0c4b2/node_modules/code-launcher/dist/server.js:59411:15)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working