<p>If I create a folder <code>assets</code> at that location it works. I don't know what this asset folder is about.</p>

CC BY-SA 4.0
2019-07-17T12:09:57.010Z
2019-07-17T12:09:57.010Z
KSPR
<p>I created a new section (single) on my  local environment.</p>

<p>Then I pushed it to LIVE. There it is not showing up in the entries CP.</p>

<p>But it is showing up in the settings.</p>

<p>So I guess the project.yaml hasn't been applied correctely or something.</p>

<p>If I excecute <code>./craft project-config/rebuild</code> on LIVE I get the error: </p>

<blockquote>
  <p>Exception 'yii\base\InvalidConfigException' with message 'The
  directory does not exist:
  /path/assets'</p>
  
  <p>in
  /path/vendor/yiisoft/yii2/web/AssetManager.php:213</p>
</blockquote>

<p>But this has nothing to do with assets </p>

<p>Also. If I go to said section in the settings and try to save it there is the following error:</p>

<blockquote>
  <p>2019-07-15 14:06:43
  [-][1][aaa64a91c1fffdd268c2d774dc31daa4][error][yii\base\Exception]
  yii\base\Exception: Couldn’t save single entry due to validation
  errors on the slug and/or URI in
  /path/vendor/craftcms/cms/src/services/Sections.php:1561</p>
</blockquote>

<p>What now?</p>

<projectconfig><project.yaml>
Sections in local & LIVE out of sync
# Sections in local & LIVE out of sync

(Asked by: username_0 on 2019-07-15)

I created a new section (single) on my local environment.

Then I pushed it to LIVE. There it is not showing up in the entries CP.

But it is showing up in the settings.

So I guess the project.yaml hasn't been applied correctely or something.

If I excecute `./craft project-config/rebuild` on LIVE I get the error:

> Exception 'yii\base\InvalidConfigException' with message 'The
> directory does not exist:
> /path/assets'
>
> in
> /path/vendor/yiisoft/yii2/web/AssetManager.php:213

But this has nothing to do with assets

Also. If I go to said section in the settings and try to save it there is the following error:

> 2019-07-15 14:06:43
> [-][1][aaa64a91c1fffdd268c2d774dc31daa4][error][yii\base\Exception]
> yii\base\Exception: Couldn’t save single entry due to validation
> errors on the slug and/or URI in
> /path/vendor/craftcms/cms/src/services/Sections.php:1561

What now?

**Tags:** projectconfig, project.yaml

---

## 1 answers

### Answer by username_0 on 2019-07-17. Score: 2

If I create a folder `assets` at that location it works. I don't know what this asset folder is about.


---

