You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
I can only seem to get the error code 127 back when trying to run Puphpeteer. [message] => The command "'/node/v16.14.2/bin/node' '/var/www/html/vendor/nesk/puphpeteer/src/get-puppeteer-version.js'" failed. Exit Code: 127(Command not found)
I'm passing the full path to node to executable_path when setting it up. I've been using /usr/local/.nvm/versions/node/v16.14.2/bin/node but I also tried copying node here /node/v16.14.2/bin. In either/both places node is owned by www-data (the user that php runs as) and has execute permissions (755).
Running '/node/v16.14.2/bin/node' '/var/www/html/vendor/nesk/puphpeteer/src/get-puppeteer-version.js' on the command line returns "5.5.0" so node is there and executable and the get-puppeteer-version script exists.
If anyone has any insight into why I'd be getting this error, that'd be great! Thanks!
Environment:
OS: Ubuntu 18.04.4
Node version: 16.14.2
PHP version 8.1
The text was updated successfully, but these errors were encountered:
I am facing the same problem and the solution work for me is
echo 'export PATH=$PATH:/usr/local/nvm/versions/node/v18.8.0/bin/node' >> $HOME/.bashrc
source $HOME/.bashrc
I install node version using nvm on ubuntu
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can only seem to get the error code 127 back when trying to run Puphpeteer.
[message] => The command "'/node/v16.14.2/bin/node' '/var/www/html/vendor/nesk/puphpeteer/src/get-puppeteer-version.js'" failed. Exit Code: 127(Command not found)
I'm passing the full path to node to
executable_path
when setting it up. I've been using/usr/local/.nvm/versions/node/v16.14.2/bin/node
but I also tried copying node here/node/v16.14.2/bin
. In either/both places node is owned by www-data (the user that php runs as) and has execute permissions (755).Running
'/node/v16.14.2/bin/node' '/var/www/html/vendor/nesk/puphpeteer/src/get-puppeteer-version.js'
on the command line returns"5.5.0"
so node is there and executable and the get-puppeteer-version script exists.If anyone has any insight into why I'd be getting this error, that'd be great! Thanks!
Environment:
The text was updated successfully, but these errors were encountered: