Node.js(node:12276)[SEQUELIZE0004] DeprecationWarning
我是当我尝试运行nodemon app.js
socioboard-api / user时,出现以下错误
[nodemon] 1.19.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
(node:1220) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
我使用了PowerShell和CMD,但仍然存在相同的问题
回答如下:如果与socioboard-api /用户安装有关。。
您应该编辑此配置file,并根据错误This is a no-op with v5 and should be removed
注释值““ operatorsAliases”:false,“>
正如您从错误中看到的,它只是一个警告..不会停止您的应用程序,但是您需要解决它。
从后继docs:
Node.js(node:12276)[SEQUELIZE0004] DeprecationWarning
我是当我尝试运行nodemon app.js
socioboard-api / user时,出现以下错误
[nodemon] 1.19.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
(node:1220) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
我使用了PowerShell和CMD,但仍然存在相同的问题
回答如下:如果与socioboard-api /用户安装有关。。
您应该编辑此配置file,并根据错误This is a no-op with v5 and should be removed
注释值““ operatorsAliases”:false,“>
正如您从错误中看到的,它只是一个警告..不会停止您的应用程序,但是您需要解决它。
从后继docs: