I am when I am trying to run nodemon app.js
socioboard-api/user I am getting the following error
[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.
I Used PowerShell and CMD but still having the same issue
From sequelize docs:
Operators Aliases
Sequelize allows setting specific strings as aliases for operators. With v5 this will give you deprecation warnin g.
You should be setting "operatorsAliases": false
in config.json
for v4
and not setting it at all in v5+
as it will be false by default
If that is related to socioboard-api/user installation..
you should edit this config file and comment the values " "operatorsAliases": false," as per the error This is a no-op with v5 and should be removed
as you can see from the error it is a warning only.. which is not going to halt your application, but you need to address it.
I had a similar issue occur when I was trying to render a table using MySQL. I was able to fix my issue by adding a password into my config.json file. Are you using MySQL or anything of the like that may require you to enter your password?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.