@baris , @julian I have one more question about updagring composer-quill . nodebb-composer-quill like extends from nodebb-composer-default.
"modules": {
"quill.js": "./node_modules/quill/dist/quill.js",
"quill-magic-url.js": "./node_modules/quill-magic-url/dist/index.js",
"quill-emoji.js": "./static/lib/emoji.js",
"composer.js": "../nodebb-plugin-composer-default/static/lib/composer.js",
"composer/categoryList.js": "../nodebb-plugin-composer-default/static/lib/composer/categoryList.js",
"composer/controls.js": "../nodebb-plugin-composer-default/static/lib/composer/controls.js",
"composer/drafts.js": "../nodebb-plugin-composer-default/static/lib/composer/drafts.js",
"composer/formatting.js": "../nodebb-plugin-composer-default/static/lib/composer/formatting.js",
"composer/preview.js": "../nodebb-plugin-composer-default/static/lib/composer/preview.js",
"composer/resize.js": "../nodebb-plugin-composer-default/static/lib/composer/resize.js",
"composer/scheduler.js": "../nodebb-plugin-composer-default/static/lib/composer/scheduler.js",
"composer/tags.js": "../nodebb-plugin-composer-default/static/lib/composer/tags.js",
"composer/uploads.js": "../nodebb-plugin-composer-default/static/lib/composer/uploads.js",
"composer/autocomplete.js": "../nodebb-plugin-composer-default/static/lib/composer/autocomplete.js",
"../admin/plugins/composer-quill.js": "./static/lib/admin.js"
},
so, when compiling, ./nodebb build I get this error
ERROR in ./node_modules/nodebb-plugin-composer-default/static/lib/composer.js
Module not found: Error: Can't resolve 'composer/post-queue' in '...\nodebb\node_modules\nodebb-plugin-composer-default\static\lib'
Did you mean './composer/post-queue'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (build/public/src/modules, build/public/src, node_modules, node_modules/nodebb-plugin-mentions/node_modules, node_modules/nodebb-widget-essentials/node_modules, node_modules/nodebb-rewards-essentials/node_modules, node_modules/nodebb-plugin-emoji/node_modules, node_modules/nodebb-plugin-emoji-android/node_modules, node_modules/nodebb-plugin-dbsearch/node_modules, node_modules/nodebb-plugin-community-payload/node_modules, node_modules/nodebb-plugin-greenwave-comments-api/node_modules, node_modules/nodebb-plugin-greenwave-tag-follow/node_modules, node_modules/nodebb-plugin-greenwave-update-user-api/node_modules, node_modules/nodebb-plugin-payload-api/node_modules, node_modules/nodebb-plugin-s3-uploads-updated/node_modules, node_modules/nodebb-widget-search-bar/node_modules, node_modules/nodebb-plugin-composer-quill/node_modules, node_modules/nodebb-plugin-email-helper/node_modules, node_modules/nodebb-theme-greenwave-hub/node_modules, node_modules/nodebb-plugin-composer-default/node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.
ERROR in ./node_modules/nodebb-plugin-composer-default/static/lib/composer/categoryList.js 100:2-111:4
Module not found: Error: Can't resolve 'composer/post-queue' in '...\nodebb\node_modules\nodebb-plugin-composer-default\static\lib\composer'
I think some of the nodebb-composer-default updates to work with nodebb v3 changed something related to the error that I just posted above. If you have an aidea what it can be, please let me know. I may be able to fix it.
On another hand, I've replaced nodebb-composer-default v10+ that is updated for nodebb v3 with the latest version of nodebb-composer-default that worked with my install (this is nodebb-plugin-composer-default v9.2.5 https://github.com/NodeBB/nodebb-plugin-composer-default/tree/v9.2.5 ) and it works, nodebb-compose-quill complies and works. But maybe I need some of the updates of nodebb-composer-default v10+, not sure. IIt would be better to have the most updated versions working. Thanks!