Closed denisoed closed 2 years ago
@denisoed provide please the plugin config you've got. Stack trace is too general to suggest something.
@cyp3rius this is also happening for me using the 3.6 Strapi version and everything yarn installed
@diegoaguilar as I asked above. Can you please provide more details? Some plugin config?
What kind of info? Strapi: v3.6.8 Docker: 20.10.7, build 20.10.7-0ubuntu1~20.04.2 Plugin: 1.0.3-beta.1 (latest at the time) OS: Ubuntu 20.04
No configuraiton, strapi fails to boot.
Screenshot of the dump
I think its related to graphql support. Downgrade to 1.0.1 makes server boot again but cant see comments collection, just the infinity loading screen.
I had same error, without using GQL provider option, just upgrading to 1.0.2 version.
Strapi: v3.6.8 Plugin: v1.0.2 OS: Windows 10 Pro Node: v14.16.1 Strapi GQL plugin: v3.6.8
Current custom.js config:
module.exports = {
plugins: {
comments: {
enableUsers: false,
badWords: false,
},
},
};
I've already tried cleaning node_modules, installed everything again, ran the build on the strapi, ran in develop mode and still not working
Have you tried to follow: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments#additional-gql-configuration ?
Have you tried to follow: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments#additional-gql-configuration ?
Yes, I've tried it with and without this GQL configuration, both give the same error mentioned above
I think the problem might be connected to the docs. The configuration for GraphQL should be inside config/plugins.js
instead of config/custom.js
. We have a pull request ready #87 to update the docs and migrate all configurations into plugins.js
.
module.exports = {
comments: {
relatedContentTypes: {
movies: {
uuid: 'application::movies.movies',
contentManager: true,
__contentType: '',
key: 'title',
value: 'id',
}
}
},
}
I think the problem might be connected to the docs. The configuration for GraphQL should be inside
config/plugins.js
instead ofconfig/custom.js
. We have a pull request ready #87 to update the docs and migrate all configurations intoplugins.js
.Example of plugins.js
module.exports = { comments: { relatedContentTypes: { movies: { uuid: 'application::movies.movies', contentManager: true, __contentType: '', key: 'title', value: 'id', } } }, }
Thanks! With this configuration the strapi was built, ran without problems and appeared in GQL!
@ltsNotMike Yap that worked for me too! I did have some issues, when trying to install directly in my existing project. So I started a new project rebuild the apis and exported -> important the data. Now it works perfectly...
Thanks
Change of configuration source has been released as part 1.0.4
.
Hi.
Plugin version 1.0.2 gives an error.
OS: Linux Ubuntu 20.04 Node: v14.17.3 Yarn: 1.22.10
Version 1.0.1 works fine