Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

ProcessUnexpectedlyTerminatedException #74

Open
1 of 3 tasks
AsimTariq opened this issue Dec 17, 2019 · 5 comments
Open
1 of 3 tasks

ProcessUnexpectedlyTerminatedException #74

AsimTariq opened this issue Dec 17, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@AsimTariq
Copy link

AsimTariq commented Dec 17, 2019

Describe the bug
When trying to run this code i get the error:

production.ERROR: Nesk\Rialto\Exceptions\ProcessUnexpectedlyTerminatedException: The process has been unexpectedly terminated.

Reproducible example

    $puppeteer = new Puppeteer([
        'executable_path' => 'C:\Program Files\nodejs\node.exe'
    ]);
    $browser = $puppeteer->launch(); 

Expected behavior
Expected it to run without problems

Environment (please complete the following information):

  • OS: [e.g. Windows 10]
  • Node version: [v8.9.4]
  • PHP version [PHP 7.2.3]

My Node package manager is:

  • NPM (specify the version)
  • Yarn (specify the version)
  • Other (specify the name and version)

Additional context
I have been looking at https://github.com/bobthecow/psysh/wiki/Configuration but i do not have this folder. I am using Lumen framework. There is no psysh folder. bobthecow/psysh#198

@MattPurland
Copy link

@AsimTariq did you ever overcome this issue? I'm experiencing the exact same problem

@MattPurland
Copy link

MattPurland commented Feb 26, 2020

If it helps anyone, I'm getting the following in the process error log (%HOMEPATH%\AppData\Local\Temp\sf_proc_00.err)

'git' is not recognized as an internal or external command,
operable program or batch file.

I have no idea why this would happen, @AsimTariq are you getting the same error? I'm guessing this may be related to why we need to specify the path to node.exe as the PATH doesn't seem to apply here.

@zlseqx
Copy link

zlseqx commented Apr 11, 2020

#88 (comment);

I also encountered such a problem, how did you deal with it?

@bapcltd-marv
Copy link

I had an issue similar to this where puphpeteer was falling over due to the js-portion receiving an invalid json payload- this was due to loading too much data via setContent, dumping the content to file & loading the file eliminated my particular issue.

@nesk nesk added the bug Something isn't working label Sep 21, 2020
@nesk
Copy link
Member

nesk commented Sep 21, 2020

Related to #87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants