Node-JDBC: Unexpected behavior, program doesn't exit

Viewed 18

I have created a small .js file with this lines of code

// test.js
const JDBC = require('jdbc');

console.log('should end')

If I execute this code, the execution of this program will last forever enter image description here

However, if I comment/remove the line where I require jdbc library, the program ends correctly.

enter image description here

Platform: Windows 11

node version: v14.19.1

0 Answers
Related