takielias / tablar

Tablar: A Laravel Dashboard Preset Based on Tabler HTML Template + Vite. https://tablar.ebuz.xyz/docs
https://tablar.ebuz.xyz
MIT License
272 stars 33 forks source link

Missing assets #63

Open marvoh opened 2 months ago

marvoh commented 2 months ago

Hello,

Thank you again for your wonderful efforts.

The login page doesn't seem to be loading assets. Do you have an idea why?

Please see errors below:

image

Best, N

takielias commented 2 months ago

@marvoh Did you follow the steps?

image

marvoh commented 2 months ago

Yes, I followed all those steps including stopping and starting the npm command like you did on your YouTube video but without success

takielias commented 2 months ago

@marvoh Could you please share your dev environment?

PHP version: Nodejs version: NPM version: Laravel Version:

marvoh commented 2 months ago

The problem is a dependency issue.

When I run npm install the following is the result:

image

A quick workaround is to run yarn install instead which is much better at resolving dependencies.

Laravel version: v11.5.0 PHP version: 8.3.6 Nodejs version: 20.12.2 NPM version: 10.6.0

Thank you for your quick response and desire to fix issues that we encounter from time to time

takielias commented 2 months ago

@marvoh Could you try on Nodejs 16/18?

marvoh commented 2 months ago

I'm sorry I have not managed to test it. I will let you know how it goes but it's currently working with yarn

takielias commented 2 months ago

@marvoh According to your scenario, it seems ok from the package end. Maybe it's a nodejs issue.