Node.js - TypeError: Client is not a constructor

后端 未结 0 419
孤独总比滥情好
孤独总比滥情好 2020-12-31 12:48

I am trying the following:

  const { Client } = require(\'pg\');

  console.log(Client);

  const client = new Client({
      user: \'Username censored\',
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题