Closed Eomm closed 2 years ago
I have a fastify-cli application that starts with this setup:
fastify-cli
npm start // where package.json start looks like: // "start": "fastify start --require './configs/tracing.js' -l info --options app.js",
Error:
Clinic.js must be called with a `node` command line: `clinic doctor -- node script.js`
clinic "-v" v11.1.0 clinic "docktor" "-v" v9.2.1
clinic "-v" v11.1.0
clinic "docktor" "-v" v9.2.1
try to change your startto:
start
clinic doctor -- node ./node_modules/.bin/fastify start --require './configs/tracing.js' -l info --options app.js
Good suggestion! It works
Expected Behavior
I have a
fastify-cli
application that starts with this setup:Current Behavior
Error:
Environment