spatie / laravel-server-side-rendering

Server side rendering JavaScript in your Laravel application
https://sebastiandedeyne.com/posts/2018/server-side-rendering-javascript-from-php
MIT License
661 stars 64 forks source link

Can't get file from store/app/ssr #52

Closed ErriourMe closed 4 years ago

ErriourMe commented 4 years ago

I have an error:

The command "node /home/site/list/test.ru/storage/app/ssr/a22a8133fc128812e26e6321cfeb1079.js" failed.
Exit Code: 1(General error)

Working directory: /home/site/list/shadowsproject.ru/public

Error Output:
================
...

ReferenceError: document is not defined

I've checked store/app/ssr folder. Files aren't created here. All files configured like as in instruction. SSR folder exist. No any other errors appeared...

phuongnm153 commented 4 years ago

Hi @ErriourRU, I have a same error. Can u show your solution?

ErriourMe commented 4 years ago

Hi @ErriourRU, I have a same error. Can u show your solution?

I haven't solution. I just started to use nuxt.

t08-apporio commented 3 years ago

hi @ErriourRU @phuongnm153 were you able to resolve this error?