coreui / coreui-free-vue-admin-template

Open source admin template based on Bootstrap 5 and Vue 3
https://coreui.io/product/free-vue-admin-template/
MIT License
3.3k stars 969 forks source link

Error: "Loading CSS chunk chunk-05dc8002 failed #179

Closed PowerGit closed 5 years ago

PowerGit commented 5 years ago

image after npm run build when browser visit the root, it happens. thanks for answer.

xidedix commented 5 years ago

Hi @PowerGit The information provided is insufficient to investigate the issue.

Does it work with npm start?

What's your version of:

What's in your package.json dependencies?

PowerGit commented 5 years ago

Hi @PowerGit The information provided is insufficient to investigate the issue.

Does it work with npm start?

What's your version of:

  • node,
  • npm,
  • vue,
  • vue cli,
  • browser,
  • os

What's in your package.json dependencies?

thank your reply! i use the origin project, directly run npm run build, and put it on my nginx server, and the nginx.conf is location / { root coreui/dist/; } which point to the dist dir

xidedix commented 5 years ago

@PowerGit

see: https://github.com/coreui/coreui-free-react-admin-template/issues/124#issuecomment-460113218 it might be helpful

PowerGit commented 5 years ago

@xidedix thank your reply. i have read the issue and change my nginx.conf, but it seem's to be not the same problem with me, same thing happend. when i change to use chrome , it got another wrong. image

PowerGit commented 5 years ago

@xidedix finally. Its my fault. thanks your help ! my nginx.conf lack of some item.

include minm.types; default_type application/octet-stream;

its needed to transfer css and ext. file.