question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSS and JS files not generating

See original GitHub issue

The built directory inside the assets is empty. No styling and JS functionality in the generated static site.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jon241commented, Jul 9, 2021

This issue needs reopening as I am also getting this issue but no idea why.

That error is the end result for me but prior to that I get errors like this:

image

The wget command itself will work on its own oddly.

1reaction
scambiercommented, Mar 28, 2019

@Fried-Chicken

There are two issues here:

  • The initial problem (missing css and js files in the built folder)
  • The crash of http-server when using --preview

I doubt that the two are related. I’m on Windows and have the same problems. However, I can use http-server independently. The crash of http-server is at most a minor inconvenience.

When using gssg and looking at wget logs, I don’t see it fetch any .js or .css files

image image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Css and js files not loading - Stack Overflow
i just deployed my symfony 4 app but the problem that i'm facing is the app do not loads images,routes, css files and...
Read more >
CSS and JS files are not generated on first request, instead ...
CSS and JS files are not generated on first request, instead Drupal error 404 is send which results with broken site experience.
Read more >
CSS/JS Issues | Troubleshooting | LSCache for WordPress
This ensures that you are getting a list of the original CSS files, and not the LiteSpeed-generated versions. Using the browser's Developer ...
Read more >
Drag drop js or css , is not creating the link tags
The case is very simple, open a cshtml file, try dragging a CSS/JS file from the solutions explorer to the view page. Normally...
Read more >
Build Artifact but css and js file are not copied
This is my project structure,the css folder contains .css files.I've put the Web facet resource into the Artfacts Output Layout.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found