# Inconsistencies between Lando local and Pantheon dev

**URL:** https://discourse.roots.io/t/inconsistencies-between-lando-local-and-pantheon-dev/20242
**Category:** sage
**Tags:** sage10
**Created:** 2021-02-28T15:17:16Z
**Posts:** 5

## Post 1 by @frankstallone — 2021-02-28T15:17:16Z

Some may know I have a rather [unusual setup that requires symlinking](https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978/6) the `storage` folder to the `uploads` folder to work with Pantheon. Although I have gotten this to work, there are inconsistencies between Lando running Sage 10 via `yarn start` locally, and what I see on Pantheon’s dev server. In theory, there shouldn’t be, unless the `storage` folder itself needs to be synced. Can someone let me know if that is true? I don’t know enough about the `storage` folder to really know if that is the issue.

The other inconsistencies I am seeing is that, for instance, @Log1x’s `log1x/sage-directives` package works fine in regards to using directives in blade templates for ACF fields, but [using the directives from his other](https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978/5) `log1x/sage-svg` package works locally, but not on Pantheon’s dev server. The work around is using the helper function, which works both locally and remotely on Pantheon’s dev server.

Another odd inconsistency is that, if I pull the latest db/code/files from Pantheon’s dev server, via `lando pull` and run a `yarn start` it seems to have cached old template code. I have to hunt around to find which file is cached in VSCode to merely hit ‘save’ with no changes, get webpack to rebuild and the browser reloads properly. Finally, my footer does not work locally, but shows up on dev perfectly fine. :man_shrugging:t2:

If someone can [review my install process](https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978/6), and maybe point out if there was a flaw from the beginning causing this, or that if I blow out caching somewhere and restart X that might do the trick, I would really appreciate it. Really, any thoughts on this would be great. I absolutely am in love with this workflow aside these inconsistencies. I will also admit I am new to composer. I come from the node world and liken it to `package.json` and `node_modules`. There is something I am missing due to my lack of knowledge here, or at least that’s my guess. I am hoping other eyes will see something I am missing, or did not think of.

Thanks for looking!  
Frank

---

## Post 2 by @frankstallone — 2021-03-04T17:27:25Z

Can someone help me understand what the `storage` folder is? I would like to attempt to delete everything in it to see if that clears up these issues but I am not sure what it does fully.

---

## Post 3 by @frankstallone — 2021-03-04T18:04:41Z

For example, if I run `lando start` and `yarn start` in the Sage 10 theme I get a page that looks like this with the `<div id="main" ...` and a ton of classes. This is not correct…

 ![Screen Shot 2021-03-04 at 12.51.45 PM](https://discourse.roots.io/uploads/default/original/2X/0/04e95c076ed2a2d59647feda759f8b961c940405.png)

Matter of fact, here’s the blade template to prove the point…

 ![Screen Shot 2021-03-04 at 12.51.53 PM](https://discourse.roots.io/uploads/default/original/2X/4/4837f9ee88acd78e3acb844b03bdf6160188f0b1.png)

Just an `id`. Now here’s the kicker, when I open that `app.blade.php` page, change nothing, but Save the file, Browsersync reloads the page correctly…

 ![Screen Shot 2021-03-04 at 12.52.03 PM](https://discourse.roots.io/uploads/default/original/2X/b/be4e0ee4ca0158a42d9bee7d80a9fba4852d4df3.png)

This is just one example. Others, like I mentioned above, I need to hunt around for the blade template to save no changes and it’ll update my localhost correctly.

Want another example? That `h1` is supposed to have an SVG behind it. Let’s take a look at the browser again with `yarn start` running…

 ![Screen Shot 2021-03-04 at 12.59.46 PM](https://discourse.roots.io/uploads/default/original/2X/6/605f4c9f8fb179943426a3ab1182d2de32193743.png)

… and the blade template…

 ![Screen Shot 2021-03-04 at 12.59.53 PM](https://discourse.roots.io/uploads/default/original/2X/c/c2e94b33a7e508b76ab0fbe9af2ca057bbbdd00f.png)

… now if I Command + S in VSCode (making no changes to this file) and go back to the browser…

 ![Screen Shot 2021-03-04 at 1.00.22 PM](https://discourse.roots.io/uploads/default/original/2X/9/97c943927d6d2a2546e19eea24a4305d59965702.png)

**I have to imagine no sane individual using Sage is dealing with this.** :rofl:

---

## Post 4 by @frankstallone — 2021-03-05T13:31:49Z

Looking at the `storage/logs` folder I see `acorn.log` and atop is

```
[2021-02-18 21:18:31] production.ERROR: The /code/wp-content/themes/btc/bootstrap/cache directory must be present and writable.
```

This tells me that I potentially need another [step in my setup for Pantheon](https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978/6) to symlink this `cache` folder to the `uploads` folder as I have done for the `storage/`folder. There is no mention of this `bootstrap` folder in the Sage 9 docs (duh I know but I looked), [it’s not in the theme structure](https://roots.io/docs/sage/9.x/configuration/#theme-structure), and not much [on the Acorn github](https://github.com/roots/acorn) about this folder needing write access.

I am not sure adding this symlink will automagically make Acorn happy or if I’ll need to do something else to kick start acorn. Maybe this is the source of my issues? I’ll report back after I’ve made this change, and [updated my methods](https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978/6).

---

## Post 5 by @system — 2021-04-11T15:17:17Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
