node.js - Node.js (node:12276) [SEQUELIZE0004] DeprecationWarning
问题描述
我在尝试运行nodemon app.js
socialboard-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 但仍然有同样的问题
解决方案
如果这与 socialboard-api/user 安装有关..
您应该编辑此配置文件并根据错误注释值““operatorsAliases”:false”This is a no-op with v5 and should be removed
正如您从错误中看到的那样,它只是一个警告......这不会停止您的应用程序,但您需要解决它。
推荐阅读
- powershell - Powershell 将 PSCustomObject 附加到嵌套的 PSCustomObject
- c - 从 C 中的文件中读取非 ascii 字符
- cisco - 思科 vlan 中路由器的 Dhcp 服务
- java - EclipseLink-3002(Eclipse 持久性服务 - 2.5.2.v20140319-9ad6abd):org.eclipse.persistence.exceptions.ConversionException
- excel - VBA:Excel 数据到 MS Word 表单域
- c++ - 将 nlohmann/json 构建为 bazel 库会出现“没有构建”错误
- c - 在 C 中的 EOF 之后,while 循环仍然打印一次
- com - 我注册的 COM 对象不能作为 InProc 运行
- python - FileNotFoundError at /user/profile/edit [Errno 2] 没有这样的文件或目录:'user_3/profile.jpg'
- facebook - Dialogflow 后续意图不起作用?训练代理中的“操作”显示“不可用”。