Open aarek-eng opened 7 months ago
As mentioned in https://github.com/handlebars-lang/handlebars.js/issues/2029#issuecomment-1973289776, this can be fixed by requiring the dev-master
branch like this:
composer require components/handlebars.js:dev-master
Title:
Compatibility and Installation Issues with FractalNote and handlebars.js on Nextcloud
Body:
Issue Overview
I am integrating FractalNote into a Nextcloud instance on a Fedora server with Apache and PHP 8.2.16, using Composer 2.7.1. I've encountered several compatibility and installation issues that I believe need attention for smoother operation and future maintenance.
Issues Encountered
PHP Version Dependency: The
appinfo/info.xml
for FractalNote specifies PHP< 7.2
. Modern PHP versions, like my environment's PHP 8.2, are incompatible under these constraints, limiting the app's usability in updated systems.Abandoned Composer Package Dependency: The installation process highlighted a dependency on
robloach/component-installer
, marked as abandoned by Composer, with a recommendation to useoomphinc/composer-installers-extender
. While attempting to accommodate both, concerns arise regarding long-term support and compatibility.Deprecation Notices: Numerous PHP deprecation notices were observed, particularly concerning
kriswallsmith/assetic
, indicating potential incompatibilities with PHP 8.x versions.App Enablement in Nextcloud: After addressing Composer dependencies, Nextcloud's UI still prevents app enablement, citing an unmet PHP version requirement, despite successful dependency resolution.
handlebars.js Specific Issue: The project's reliance on
handlebars.js
throughcomponents/handlebars.js
, requiringrobloach/component-installer
, compounds the dependency and compatibility challenges faced.Suggested Actions
Update PHP Version Support: Adjusting the
appinfo/info.xml
to accommodate PHP versions up to 8.2 could broaden compatibility and user adoption, reflecting more current PHP usage trends.Revise Dependencies: Considering an update or replacement for the dependencies listed in
composer.json
, especially moving fromrobloach/component-installer
tooomphinc/composer-installers-extender
, would help ensure compatibility with Composer 2.7.1 and modern PHP environments.Resolve Deprecation Issues: A plan to update or refactor the usage of
kriswallsmith/assetic
and other deprecated elements could mitigate compatibility issues with PHP 8.x.Clarification on App Enablement: Guidance or a fix to resolve the Nextcloud enablement block due to PHP version discrepancies would be greatly appreciated.
Conclusion
The functionality offered by FractalNote is of significant interest, especially for managing Cherrytree files within Nextcloud. Addressing these outlined points could substantially improve its integration and operability in contemporary and forward-looking environments. I appreciate your efforts on this project and look forward to any advice, updates, or solutions you might propose.