GithubHelp home page GithubHelp logo

Comments (7)

sebastiandedeyne avatar sebastiandedeyne commented on May 20, 2024

Are you sure the V8Js extension is installed and available?

from laravel-server-side-rendering.

robinvdvleuten avatar robinvdvleuten commented on May 20, 2024

Yes because when I run it as mentioned in my issue it resolves without errors

from laravel-server-side-rendering.

sebastiandedeyne avatar sebastiandedeyne commented on May 20, 2024

Hmm didn't come across this myself, odd.

Made some IoC changes though, does the latest release (0.2.4) solve this?

from laravel-server-side-rendering.

robinvdvleuten avatar robinvdvleuten commented on May 20, 2024

Still getting the error unfortunately with the latest version. Somehow Laravel don't detects that they are optional. Maybe it's an idea to make them configurable?

from laravel-server-side-rendering.

sebastiandedeyne avatar sebastiandedeyne commented on May 20, 2024

Alright, really solved this issue in 0.2.5 using your proposed snippet. Feels like the cleanest way to go :)

from laravel-server-side-rendering.

robinvdvleuten avatar robinvdvleuten commented on May 20, 2024

@sebastiandedeyne thanks!

from laravel-server-side-rendering.

JamesPJ avatar JamesPJ commented on May 20, 2024

I'm able to reproduce this issue in version ^1.3. To make sure I'm having the v8js installed properly. I've cloned this https://github.com/reactjs/react-php-v8js/tree/master/example example and excecuted it locally. It worked fine.

from laravel-server-side-rendering.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.