node-clinic
node-clinic copied to clipboard
Stuck on "Analysing data"
Expected Behavior
The "Analysing data" step resolves eventually.
Current Behavior
The "Analysing data" step keeps getting stuck. Even in the simplest example
I do notice my macbook working quit hard when stuck on this step.
Most of the work seems to come from a c++filt
process as seen the Activity Monitor.
Steps to Reproduce (for bugs)
- Run my API with
clinic flame -- node index.js
- Make some manual requests via postman
- Ctrl + C
This part is somewhat useless in this case since this is very specific to my machine. I was hoping to maybe get some insight into why this is happening.
I tried to reduce the complexity and create the simplest possible node.js server. The issue is still present with the following code.
var http = require('http');
http.createServer(function (req, res) {
res.write('Hello World!');
res.end();
}).listen(8080);
Sample upload
clinic upload
does not seem to be available 🤔
We transfer link for my .clinic
directory.
Environment
- Clinic.js version: v13.0.0
- Node.js version: v18.12.1
- Browser name and version: Not relevant
- Operating system and version: macOS 10.15.7
Try adding a process.on('SIGINT', process.exit)
to your code
No luck, I tried this code:
var http = require('http');
http.createServer(function (req, res) {
res.write('Hello World!');
res.end();
}).listen(8080);
process.on('SIGINT', process.exit);
I couldn't reproduce your case locally using the same environment + same nodejs/clinicjs version.