kirby-webpack icon indicating copy to clipboard operation
kirby-webpack copied to clipboard

Clean Install, panel assets not loading (Windows 10)

Open EdwardLecock opened this issue 7 years ago • 3 comments

As stated in the title. I wanted to start working on a new project, cloned this project and installed all the dependencies via npm install. Now when I log in to the panel, it just loads forever. Using Dev Tools I see that the most of the panel assets (css, js, fonts, img) aren't loading. Any Idea what might be causing this? image

As you can see in the screenshot some of the CSS files are being loaded, some aren't. Very strange.

EdwardLecock avatar Dec 16 '17 21:12 EdwardLecock

Can you provide your OS version ?

I guess you work on Windows because we were able to reproduce this error on Windows 10.

antoine1000 avatar Dec 16 '17 21:12 antoine1000

Yea, I'm on Windows 10

EdwardLecock avatar Dec 16 '17 21:12 EdwardLecock

I was able to do some more testing today and it's really strange behavior. It seems the files http://localhost:8080/panel/plugins/css and http://localhost:8080/panel/plugins/js that are included in the head are the ones that cause it. Installing a single plugin (that contains custom js and css for the panel) solves the problem, and the panel works as expected.

EdwardLecock avatar Jan 26 '18 22:01 EdwardLecock