-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Activation failed, because of missing npm dependency #54
Comments
Hi, have you installed npm on the server where the plugin should be enabled? Is the npm binary located in one of the listed directories from the error message? See |
Hello, Debian Bookworm (everything updated) also installed the chrome dependencies error message: I would be very happy to have any suggestions on how to get it to work Best regards |
Could you temporarily disable |
yeah, worked! After installing i activated my open_basedir restrictions again (with /usr/local/bin in it). In the plugin there was the same error message again. it seams the reason is:
so i added /usr/local/lib/node_modules/npm/bin to my open_basedir directories. Error message is gone now. open_basedir restrictions does not follow symlinks (on debian). learned something again :-) ok but when i try to start the plugin i get this error messsage: best regards |
I have now installed google chrome manuel (via apt, google repository). However, still the same error message. What am I doing wrong? |
This plugin does uses Lighthouse with a Google Chrome Headless under the hood. That's why the plugin should handle its installation including all its dependencies, as it does various functionality checks during the installation. I would first try to get it work fully without |
In PerformanceAudit.php line 94:
PerformanceAudit plugin activation failed due to the following error:
Node.js dependency installation failed due to the following error:
npm dependency not found.
Searched in the following directories for the dependency: /var/www/html/plugins/PerformanceAudit/composer/bin, /var/www/html/plugins/PerformanceAudit/node_modules/.bin,
/usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin, /opt/plesk/node/24/bin, /opt/plesk/node/22/bin, /opt/plesk/node/20/bin, /opt/plesk/node/18/bin, /opt/pl
esk/node/16/bin, /opt/plesk/node/14/bin, /opt/plesk/node/12/bin, /opt/plesk/node/10/bin, /home/wodby/.composer/vendor/bin, /var/www/html/vendor/bin, /var/www/html/bin.
I upgraded from Matomo 4 to 5 and tried to enable the module.
The text was updated successfully, but these errors were encountered: