#Blank page after only after running generate

20 messages · Page 1 of 1 (latest)

nova tinsel
#

I should've set ssr: true
Now it will be able to load the page however it seems that the page is broken

#

error on console log

index.html:1  Access to script at 'file:///C:/_payload.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.
proper nacelle
#

Static sites still have the desire to be served by a web service. If you want to preview your static site, consider using the preview command.

#

Alternatively use a package such as serve

nova tinsel
#

I understand now why it is not running locally

#

However I uploaded the file on aws S3 the now it says "documents not found"

nova tinsel
nova tinsel
#

Why is it so difficult to deploy projects on AWS my ghod

proper nacelle
proper nacelle
nova tinsel
#

I have no idea, error is really vague. Wish it was specific. Do I need a node JS server to run this website?
How is it that it ran fine on vercel but not on AWS ?

proper nacelle
#

Not necessarily. If you’ve run generate then you’ll have all the necessary files output in .output/public. Did you upload the contents of this directory?

nova tinsel
#

i think it was the /dist not the public

#

or whats the diff between them?

#

o.o

proper nacelle
#

dist is a symlink to .output/public

nova tinsel
#

basically they're the same