Skip to content
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

in windows and laravel 8 + php8.1 error #41

Open
f4soft opened this issue Dec 21, 2022 · 2 comments
Open

in windows and laravel 8 + php8.1 error #41

f4soft opened this issue Dec 21, 2022 · 2 comments

Comments

@f4soft
Copy link

f4soft commented Dec 21, 2022

php artisan queue:work
[2022-12-21 17:59:56][72] Processing: App\Jobs\LinkScreenshot
node:events:491
throw er; // Unhandled 'error' event
^

Error: EOF: end of file, write
at Socket._write (node:internal/net:61:25)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at file:///C:/Users/f4soft/AppData/Roaming/npm/node_modules/capture-website-cli/cli.js:289:18
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4095,
syscall: 'write',
code: 'EOF'
}

Node.js v18.12.1

@f4soft
Copy link
Author

f4soft commented Dec 21, 2022

calling from php:

    $result = shell_exec(
        sprintf(
            "capture-website %s --scale-factor=1 --type=webp --width 1000",
            escapeshellcmd($urlToCapture)
        )
    );

@f4soft f4soft changed the title in windows and laravel + php8.1 error in windows and laravel 8 + php8.1 error Dec 21, 2022
@f4soft
Copy link
Author

f4soft commented Dec 21, 2022

with #42 work all ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant