# Unable to build using \`hugo server\`

**URL:** <https://discourse.gohugo.io/t/unable-to-build-using-hugo-server/45817>\
**Category:** Uncategorized\
**Created:** [August 21, 2023, 8:58am UTC](https://discourse.gohugo.io/t/unable-to-build-using-hugo-server/45817 "2023-08-21T08:58:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jennifer\_Low](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jennifer_low/32/20144_2.png) [@Jennifer\_Low](https://discourse.gohugo.io/u/Jennifer_Low)\
**Post date:** [August 21, 2023, 8:58am UTC](https://discourse.gohugo.io/t/unable-to-build-using-hugo-server/45817/1 "2023-08-21T08:58:08Z")

</div>

Excellent project but I am unable to build using Windows with this command `hugo server`. This is the error shown to me:

```auto
Built in 5358 ms
Error: error building site: POSTCSS: failed to transform "assets/main/bundle.min.css" (text/css): 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

```

---

<div class="post-metadata">

**Author:** ![chrillek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/chrillek/32/19797_2.png) [@chrillek](https://discourse.gohugo.io/u/chrillek)\
**Post date:** [August 21, 2023, 9:32am UTC](https://discourse.gohugo.io/t/unable-to-build-using-hugo-server/45817/2 "2023-08-21T09:32:46Z")

</div>

Check the path to your postcss program and make sure you have installed hugo extended

---

<div class="post-metadata">

**Author:** ![Arif](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/arif/32/20931_2.png) [@Arif](https://discourse.gohugo.io/u/Arif)\
**Post date:** [August 21, 2023, 11:27am UTC](https://discourse.gohugo.io/t/unable-to-build-using-hugo-server/45817/3 "2023-08-21T11:27:29Z")

</div>

What @chrillek said, and also ensure to follow the installation documentation for your theme if you are using one.

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [August 21, 2023, 11:47am UTC](https://discourse.gohugo.io/t/unable-to-build-using-hugo-server/45817/4 "2023-08-21T11:47:02Z")

</div>

This is a known issue ([#7333](https://github.com/gohugoio/hugo/issues/7333)) on Windows. You can either:

1. Remove the spaces from the project’s path, or
2. Move the postcss setttings into package.json ([see this comment](https://github.com/gohugoio/hugo/issues/7333#issuecomment-1048571703))
