# CakePHP Jade template plugin issue

**URL:** <https://discourse.cakephp.org/t/cakephp-jade-template-plugin-issue/378>\
**Category:** Need Help\
**Created:** [May 23, 2016, 8:51am UTC](https://discourse.cakephp.org/t/cakephp-jade-template-plugin-issue/378 "2016-05-23T08:51:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aavrug](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/aavrug/32/178_2.png) [@aavrug](https://discourse.cakephp.org/u/aavrug)\
**Post date:** [May 23, 2016, 8:51am UTC](https://discourse.cakephp.org/t/cakephp-jade-template-plugin-issue/378/1 "2016-05-23T08:51:23Z")

</div>

I have installed clthck/cakephp-jade in my CakePHP app using composer. I have created a view file with extension .ctp.jade . When trying to load the page getting error “ **Failed to create output directory ./cache/views** ”. How can I fix that?

---

<div class="post-metadata">

**Author:** ![reuben.helms](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/reuben.helms/32/172_2.png) [@reuben.helms](https://discourse.cakephp.org/u/reuben.helms)\
**Post date:** [May 24, 2016, 9:25pm UTC](https://discourse.cakephp.org/t/cakephp-jade-template-plugin-issue/378/2 "2016-05-24T21:25:43Z")

</div>

Does the user running the web server have permissions to write to the cache area, and create directories? That is most likely going to be the issue.

You could create the directory manually, but the web server is still going to want to write to that area, so permissions will still need to be checked.

---

<div class="post-metadata">

**Author:** ![aavrug](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/aavrug/32/178_2.png) [@aavrug](https://discourse.cakephp.org/u/aavrug)\
**Post date:** [May 30, 2016, 7:28am UTC](https://discourse.cakephp.org/t/cakephp-jade-template-plugin-issue/378/3 "2016-05-30T07:28:27Z")

</div>

I have fixed that, that was because of changes in Jade path.
