Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning SequeliseJS #159

Closed
danielsalles opened this issue Jul 8, 2016 · 3 comments
Closed

Warning SequeliseJS #159

danielsalles opened this issue Jul 8, 2016 · 3 comments
Assignees

Comments

@danielsalles
Copy link

`Warning: a promise was created in a handler but was not returned from it
at Model.findAll (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/sequelize/lib/model.js:1347:18)
at PluginManager.loadPluginsSettingsFromDB (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/PluginManager/index.js:259:23)
at /home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/bootstrapFunctions.js:24:24
at /home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/Database/index.js:243:5
at processImmediate as _immediateCallback
From previous event:
at Promise.then (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/sequelize/lib/promise.js:21:17)
at Database.loadCoreModels (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/Database/index.js:242:27)
at Array.loadCoreFeatures (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/bootstrapFunctions.js:21:11)
at runHookFunctions (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/simple-hooks-callback/lib/index.js:59:15)
at HooksPrototype.weTriggerEvent (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/simple-hooks-callback/lib/index.js:52:3)
at We.bootstrap (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/index.js:230:12)
at We.go (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/node_modules/we-core/lib/index.js:394:8)
at Object. (/home/daniel/Documentos/blogdanieldev/we-project-blog-blog-daniel-dev/app.js:8:4)
at Module._compile (module.js:399:26)
at Object.Module._extensions..js (module.js:406:10)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at Command.run (/home/daniel/.nvm/v5.2.0/lib/node_modules/we/lib/commands/run.js:26:7)
at Command.listener (/home/daniel/.nvm/v5.2.0/lib/node_modules/we/node_modules/commander/index.js:287:8)
at emitTwo (events.js:88:13)
at Command.emit (events.js:173:7)
at Command.parseArgs (/home/daniel/.nvm/v5.2.0/lib/node_modules/we/node_modules/commander/index.js:541:12)

WARNING: PostgreSQL does not support TEXT with options. Plain TEXT will be used instead.
Check: http://www.postgresql.org/docs/9.4/static/datatype.html
2016-07-08T14:00:40.557Z - info: Run in dev enviroment and listening on port 4000
`

@albertosouza albertosouza self-assigned this Jul 8, 2016
@albertosouza
Copy link
Member

Plugin load query in we-core/lib/PluginManager/index.js:259:23 is right may be some debug and one way to reproduce here

@albertosouza
Copy link
Member

ref sequelize/sequelize#4883

albertosouza added a commit to wejs/we-core that referenced this issue Jul 9, 2016
albertosouza added a commit to wejs/we-plugin-widget that referenced this issue Jul 9, 2016
albertosouza added a commit to wejs/we-plugin-widget that referenced this issue Jul 9, 2016
albertosouza added a commit to wejs/we-plugin-menu that referenced this issue Jul 12, 2016
albertosouza added a commit to wejs/we-plugin-auth that referenced this issue Jul 13, 2016
@albertosouza
Copy link
Member

plugin promisse handlers will be updated if show this warnings,
Thanks for this feedback and i will close this issue now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants