0

I just deployed my first laravel site to forge/digital ocean. I am using the default site for the moment.

The index page its blank and inspecting the source this message appears: "We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.", I have javascript enabled, and the rest of the pages load fine, except for the index.

Can anyone help me here? Many thanks in advance.

Print of the error here: error_index_page

Its supposed to show the index page, locally works fine, but when deployed the index page is blank.
I have been searching for a solution, with no success.

4
  • webpack? Which version of Laravel are you using? Commented Jan 9, 2024 at 9:52
  • @brombeer laravel version 10.10. Commented Jan 9, 2024 at 10:00
  • After deploying the files, have you tried running commands like composer install or composer update and php artisan optimize Commented Jan 11, 2024 at 6:03
  • @RamChander yes, but the error persisted. I solved it by a fresh install and copy-paste the files to the new project. It probably was old code related to failed installations of tailwind (I suspect). You are very kind, thank you. = ) Commented Jan 12, 2024 at 15:10

1 Answer 1

0

I have solved it by a fresh install and copy-paste the files to the new project. It probably was old code related to failed installations of tailwind (I suspect). Weird, but it worked.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.