jeudi 12 septembre 2019

“How to fix error node is not recognized ‘pdf browsershot’ error in laravel”

Error Output: 'node' is not recognized as an internal or external command, operable program or batch file. from package Browsershot https://github.com/spatie/browsershot

Symfony\Component\Process\Exception\ProcessFailedException thrown with message "The command "node ^"E:^\preProject^\MIFA_project^\tryProject^\tryBloge^\vendor^\spatie^\browsershot^\src/../bin/browser.js^" ^"^{^\^"url^\^":^\^"file:^/^/C:^\^\Users^\^\THE_One^\^\AppData^\^\Local^\^\Temp^\^\1674322287-0245828001568284880^\^\index.html^\^",^\^"action^\^":^\^"pdf^\^",^\^"options^\^":^{^\^"path^\^":^\^"C:^\^\Users^\^\THE_One^\^\AppData^\^\Local^\^\Temp^\^\BroB905.tmp.pdf^\^",^\^"args^\^":^[^],^\^"viewport^\^":^{^\^"width^\^":800,^\^"height^\^":600^},^\^"displayHeaderFooter^\^":false^}^}^"" failed.

Exit Code: 1(General error)

Working directory: E:\preProject\MIFA_project\tryProject\tryBloge\public

Output:

Error Output:

'node' is not recognized as an internal or external command, operable program or batch file. "enter image description here



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2N7zFkB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire