Closed mbiggs2334 closed 1 year ago
node_modules/connect-pg-simple/index.js:235 #getPruneDelay () { ^ SyntaxError: Unexpected token '('
Getting the above error when trying to use the code below. const pgSession = require('connect-pg-simple')(session);
const pgSession = require('connect-pg-simple')(session);
Any way to solve this?
Which version of node.js? It works in the tests?
Yup, my mistake, Using an older version of Node. All good now. Thank you for the help.
Getting the above error when trying to use the code below.
const pgSession = require('connect-pg-simple')(session);
Any way to solve this?