The command "PATH=$PATH:/usr/local/bin:/opt/homebrew/bin NODE_PATH=/usr/bin/nod /usr/bin/npm root -g
#903
bashiirmahad
started this conversation in
General
Replies: 4 comments
-
Same issue after upgrading from 4.1.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue after upgrading to v4. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue using Laravel Herd with spatie/laravel-pdf |
Beta Was this translation helpful? Give feedback.
0 replies
-
I solved my issue by just installing puppeteer locally (rather than globally) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to know how to solve this. i tried many different environments and consistently showing this error Whatever solution and suggestion I try, it keeps showing the same. Right now I am using Deck Env on Windows; also, this is the same with Ubuntu.
On normal PC:
On deck env:
The command "PATH=$PATH:/usr/local/bin:/opt/homebrew/bin NODE_PATH=
/usr/bin/nod /usr/bin/npm root -g
/usr/bin/nod '/var/www/vendor/spatie/browsershot/src/../bin/browser.cjs' '{"url":"file:///tmp/1954879133-0070553001732521312/index.html","action":"pdf","options":{"path":"example.pdf","args":[],"viewport":{"width":800,"height":600},"displayHeaderFooter":false}}'" failed.Exit Code: 127(Command not found)
Working directory: /var/www/public
Output:
Error Output:
sh: /usr/bin/nod: not found
sh: /usr/bin/nod: not found
Beta Was this translation helpful? Give feedback.
All reactions