> For the complete documentation index, see [llms.txt](https://docs.appmachine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmachine.com/developers/javascript/cli/errors/output_directory_is_empty.md).

# OUTPUT\_DIRECTORY\_IS\_EMPTY

The configured output directory is empty: {{outputDirectory}}

![](https://2636455530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wzy1sO41plYrfJfaAhN%2Fuploads%2FDuOoZoi5KQB9ePnPLMrQ%2FOUTPUT_DIRECTORY_IS_EMPTY.png?alt=media\&token=ca7ae39c-f73a-4afd-a0e6-0f0bd44c7293)

## Why I'm seeing this[​](http://localhost:3000/cli/errors/OUTPUT_DIRECTORY_IS_EMPTY#why-im-seeing-this) <a href="#why-im-seeing-this" id="why-im-seeing-this"></a>

The directory path configured in `myjsblock.config.js` is an empty directory. When pushing a new version, the path of the file configured in `myjsblock.config.js` under `outputDirectory` is found but it is empty

## How to fix it[​](http://localhost:3000/cli/errors/OUTPUT_DIRECTORY_IS_EMPTY#how-to-fix-it) <a href="#how-to-fix-it" id="how-to-fix-it"></a>

The directory configured under the `outputDirectory` property (configured in the `myjsblock.config.js`) must be filled at least with one HTML file `index.html`.

An example project setup might be:

```
├── myjsblock.config.js
└── dist  
  ├── index.html  
  └── main.js
```
