Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Metronic Laravel v8.2.0 - DB-Connection


Hi Faizal,

Thanks for your Time and great Support. After installing Metronic Laravel v8.2.0 (Absolutly clean, like in the Description) all looks very good and the DB run with all tables.

The ENV-File is ok i use: -copy .env.example .env - and i dont set a PW

Developer Tools:

login:293 GET http://localhost/livewire/livewire.js?id=90730a3b0e7144480175 net::ERR_ABORTED 404 (Not Found)

login:258 GET http://localhost/public/assets/js/custom/authentication/sign-in/general.js net::ERR_ABORTED 404 (Not Found)

login?_token=NMeD3iejI6lYtr0H5tPxEZaZDttaqpGMWqKNUdwv&email=demo%40demo.com&password=demo:299 Uncaught ReferenceError: Livewire is not defined
at login?_token=NMeD3iejI6lYtr0H5tPxEZaZDttaqpGMWqKNUdwv&email=demo%40demo.com&password=demo:299:27

Thanks a lot Uwe


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)

 

same error!!



Hi Uwe,

You're welcome! I'm glad to hear that most of the installation went smoothly.

Regarding the `APP_URL`, you can set it to `http://localhost` if you are not using `php artisan serve` and accessing your Laravel app directly through XAMPP.

As for the missing files and errors you encountered, it seems that some Livewire files are not loading properly. To resolve this, you can run the following command to rebuild the assets for Livewire:


php artisan livewire:publish --assets


This command will publish the necessary Livewire assets, and it should fix the missing files and JavaScript errors.

For more information on installing Livewire, you can refer to the documentation here: https://laravel-livewire.com/docs/2.x/installation#publish-assets

Please let me know if this resolves the issues you were facing or if you need any further assistance. I'm here to help!

Best regards,
Faizal


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(