The New Way to Build! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Learn More

laravel error 9.2.0


I tried both laravel docs as well github updated repo but both are failed

github repo just used pre compiled bundles but when i switch to vite version getting broken layout and js error.

the problem inside the src. kindly fix it as soon as possible.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (8)


Encountering Laravel error 9.2.0 challenged me to dive deeper into debugging best practices. I learned that this best software training institute in kochi version requires careful attention to dependencies and configuration. Troubleshooting with updated documentation and community forums helped me resolve issues efficiently, enhancing my overall understanding of Laravel’s evolving framework nuances.



Hi


/* Tailwind core */
@import "tailwindcss";

/* Tailwind scan sources */
@source "../../../node_modules/@keenthemes/ktui/src/";

/* Theme configs */
@import "./config.ktui";

/* KTUI styles */
@import "../../../node_modules/@keenthemes/ktui/styles.css";

/* Metronic components */
@import "./components/index";

/* Demos */
@import "./demos/demo1.css";


Please try this

Thanks



Hi Faisal,

Please run the following command to upgrade to the latest version of @keenthemes/ktui:


npm upgrade @keenthemes/ktui


This should resolve the issues you're facing. Let me know if you encounter any further problems!

Thanks



Hi, now no js error but getting unstyled layout, I updated styles.css file from metronic/css/styles.css


/* Tailwind core */
@import "tailwindcss";

/* Tailwind scan sources */
@source "../../dist/assets/vendors/ktui/";

/* Theme configs */
@import "./config.ktui";

/* KTUI styles */
@source "../../../node_modules/@keenthemes/ktui/src/";

/* Metronic components */
@import "./components/index";

/* Demos */
@import "./demos/demo1.css";



Hi,

We have pushed a Vite fix for KtUI. Can you please try the latest '@keenthemes/ktui' package ?

More info:
https://github.com/keenthemes/ktui/issues

Regards,
Sean



Its not working getting another error

Error: Failed to scan for dependencies from entries:
F:/Web/metronic/resources/js/app.js

X [ERROR] Missing "./src/index" specifier in "@keenthemes/ktui" package [plugin vite:dep-scan]

Please make a fix and update the laravel integration docs. make sure you are not including pre build files in html file. it should use vite build.



css error as well


[plugin:@tailwindcss/vite:generate:serve] Can't resolve '../../node_modules/@keenthemes/ktui/styles.css' in 'F:\Web\metronic\resources\metronic\css'



hello! i have the same error sad


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(