# Sage 9 Beta 2: main.js and style.css 404

**URL:** https://discourse.roots.io/t/sage-9-beta-2-main-js-and-style-css-404/8763
**Category:** sage
**Created:** 2017-02-08T18:17:37Z
**Posts:** 4

## Post 1 by @rhokstar — 2017-02-08T18:17:37Z

Disclaimer: I’m using Docker with Bedrock, Sage 9 beta, nginx, and FPM. And I’m also new to both Sage and Bedrock.

I got everything up and running but main.js and style.css are 404. I’ve manually created both directories and files to see what would happen and it still 404’s. Any suggestions? Thanks.

 ![](https://discourse.roots.io/uploads/default/original/2X/c/c7c0e1d61e03756067d6261accf965a44a427b19.png)

---

## Post 2 by @inthedeepend — 2017-02-09T21:42:58Z

+1 at least 20 characters

---

## Post 3 by @Twansparant — 2017-02-10T09:01:40Z

> [@rhokstar](#):
>
> I’ve manually created both directories and files

You shouldn’t have to do that, the **dist** folder is created automatically.

> [@rhokstar](#):
>
> main.js and style.css are 404

The 404 on the **style.css** is expected and normal behaviour (styles are directly injected in Webpack). For the **main.js** , try running a `yarn run build` and then start the watch again with `yarn run start`.

---

## Post 4 by @dalenguyen — 2018-07-24T19:55:00Z

For the missing CSS, I follow the guide from this post and it works.

[Sage 9 main.css 404 on devUrl](https://discourse.roots.io/t/sage-9-main-css-404-on-devurl/9799/12?u=dalenguyen)
