创建会话时,npm 包 connect-pg-simple webpack 出现问题

创建会话时,npm 包 connect-pg-simple webpack 出现问题

遇到问题[电子邮件保护]使用 webpack 构建应用程序时进行打包

生成以下问题的代码行

"ERROR in ./node_modules/connect-pg-simple/index.js 82:4
Module parse failed: Unexpected character '#' (82:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   class PGStore extends Store {
|     /** @type {boolean} */
>     #createTableIfMissing;
|     /** @type {boolean} */
|     #disableTouch;
 @ ./server.js 3:0-35 28:16-18"

相关内容