spatie / server-side-rendering

Server side rendering JavaScript in a PHP application
https://sebastiandedeyne.com/posts/2018/server-side-rendering-javascript-from-php
MIT License
603 stars 35 forks source link

Pass existing V8 instance to engine #10

Closed sebastiandedeyne closed 6 years ago

amirshawn commented 6 years ago

Hi, I'm trying to upgrade to the newest version. This change seems to have broken things for me. I am getting this error: Unresolvable dependency resolving [Parameter #0 [ $object_name ]] in class V8Js

When I revert the changes you made here then it works again. Any idea why or how to fix it?

sebastiandedeyne commented 6 years ago

Could you create a new issue in the corrent repo (don't know if it belongs here or with Laravel?) with a full stack trace please?