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

Laravel project Demo 1 Is Not working


When I go running Laravel project demo 1 after finishing all steps finally project running but Sign In or Sign up is not working.


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 (3)


Hi Mahendran,

May I know which Laravel are you using? Laravel starterkit or Laravel app?

You can follow these guides to see if it works.

Verify that the database is installed: Before proceeding, it's important to confirm that your database management system is installed on your system.

Create the database: Create a new database for your project if you haven't already done so.

Configure the database: Configure the database to work with your project. This typically involves specifying the database type, host, port, username, password, and database name in a configuration file or environment variable.

Run the migration command: Run the necessary migration command to create the required tables and fields in the database. This process will differ depending on the framework or ORM that you are using.

Thanks



I have the same issue. Nothing works.

I lanch the server with this command :
php artisan serve --host=178.33.199.18


The database seems correct :
MariaDB [demo1_laravel]> show tables;
+-------------------------+
| Tables_in_demo1_laravel |
+-------------------------+
| failed_jobs |
| migrations |
| password_resets |
| personal_access_tokens |
| users |
+-------------------------+

I think my softwar's version too :
# dpkg -l |grep yarn
ii yarn 1.22.19-1 all ....
# dpkg -l |grep node
ii nodejs 16.19.1-deb-1nodesource1 amd64 ...


Yarn returned a lot of warnings :
$ yarn
yarn install v1.22.19
warning package.json: "dependencies" has dependency "axios" with range "^0.21.1" that collides with a dependency in "devDependencies" of the same name with version "^1.1.3"
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning "dependencies" has dependency "axios" with range "^0.21.1" that collides with a dependency in "devDependencies" of the same name with version "^1.1.3"
[1/4] Resolving packages...
warning datatables.net-plugins > prettier-plugin-x > x-formatter > @prettier-x/formatter-2021-01 > @brodybits/remark-parse > trim@0.0.3: Use String.prototype.trim() instead
warning datatables.net-plugins > prettier-plugin-x > x-formatter > @prettier-x/formatter-2021-01 > postcss-selector-parser > flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
warning datatables.net-plugins > prettier-plugin-x > x-formatter > @prettier-x/formatter-2021-01 > postcss-values-parser > flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
warning npm > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs
warning npm > node-gyp > make-fetch-happen > cacache > @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
warning pdfmake > @foliojs-fork/linebreak > brfs > static-module > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
warning laravel-mix > node-libs-browser > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning laravel-mix > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning webpack-rtl-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning webpack-rtl-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @yaireo/tagify@4.17.7" has unmet peer dependency "prop-types@^15.7.2".
warning "bootstrap-maxlength > bootstrap@4.6.2" has unmet peer dependency "popper.js@^1.16.1".
warning "datatables.net-plugins > prettier-plugin-x@0.0.10" has unmet peer dependency "prettier@^2.0.0".
warning "datatables.net-plugins > prettier-plugin-x > x-formatter > @prettier-x/formatter-2021-01 > remark-math@1.0.6" has unmet peer dependency "remark-parse@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "component-emitter@^1.3.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "keycharm@^0.3.0 || ^0.4.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "propagating-hammerjs@^1.4.0 || ^2.0.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "vis-data@^6.3.0 || ^7.0.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "vis-util@^3.0.0 || ^4.0.0 || ^5.0.0".
warning " > vis-timeline@7.7.0" has unmet peer dependency "xss@^1.0.0".
warning " > laravel-mix@6.0.49" has unmet peer dependency "@babel/core@^7.15.8".
warning " > laravel-mix@6.0.49" has unmet peer dependency "@babel/plugin-proposal-object-rest-spread@^7.15.6".
warning " > laravel-mix@6.0.49" has unmet peer dependency "@babel/plugin-syntax-dynamic-import@^7.8.3".
warning " > laravel-mix@6.0.49" has unmet peer dependency "@babel/plugin-transform-runtime@^7.15.8".
warning " > laravel-mix@6.0.49" has unmet peer dependency "@babel/preset-env@^7.15.8".
warning " > laravel-mix@6.0.49" has unmet peer dependency "webpack@^5.60.0".
warning " > laravel-mix@6.0.49" has unmet peer dependency "webpack-cli@^4.9.1".
warning " > sass-loader@13.2.0" has unmet peer dependency "webpack@^5.0.0".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
success Saved lockfile.
Done in 129.97s.

The login form seems ok, but no link works on the dashboard.
Here is the content of my console :
unreachable code after return statement
scripts.bundle.js:7429:5
unreachable code after return statement
scripts.bundle.js:7529:5
onmozfullscreenchange est obsolète. plugins.bundle.js:41281:34789
onmozfullscreenerror est obsolète. plugins.bundle.js:41281:34789
Erreur dans les liens source : Error: request failed with status 404
URL de la ressource : http://178.33.199.18:8000/assets/plugins/global/plugins.bundle.js
URL du lien source : axios.map

InstallTrigger est obsolète et sera supprimé prochainement. commons.js:2:1329199
Erreur dans les liens source : Error: request failed with status 404
URL de la ressource : http://178.33.199.18:8000/assets/plugins/global/plugins.bundle.css
URL du lien source : sourcemaps/tiny-slider.css.map


I don't know how to make it works



Hi Gilles Vincent

Please note that the demo pages provided with the Laravel starter kit are only for demonstration purposes and are not fully functional. The dashboard and other links may not work as expected because they are not implemented in the demo pages.

Please note that all the necessary styles for Metronic are already included in the package. If you want to use a specific style from a page or component in the HTML version, you can simply copy the relevant code and incorporate it into your project to achieve the same style. This can save you time and effort in customizing the design of your application.

To implement the desired functionality for your page, customization will be required based on your specific requirements.

Thanks


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  :(