# \[Solved\] Dev instance with nginx: topic preview not working

**URL:** <https://meta.discourse.org/t/solved-dev-instance-with-nginx-topic-preview-not-working/67738>\
**Category:** Development\
**Created:** [9 أغسطس 2017، 9:09م UTC](https://meta.discourse.org/t/solved-dev-instance-with-nginx-topic-preview-not-working/67738 "2017-08-09T21:09:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [9 أغسطس 2017، 9:09م UTC](https://meta.discourse.org/t/solved-dev-instance-with-nginx-topic-preview-not-working/67738/1 "2017-08-09T21:09:19Z")

</div>

When clicking “New Topic” in my dev instance, I get the following errors in the console and the preview pane doesn’t work:

```plaintext
Uncaught SyntaxError: Unexpected token < markdown-it-bundle.js:1
Error: Could not find module pretty-text/engines/discourse-markdown/helpers discourse/lib/text:40 
    at missingModule (discourse-loader:134)
    at require (discourse-loader:149)
    at setup (pretty-text/engines/discourse-markdown-it:242)
    at buildOptions (pretty-text/pretty-text:100)
    at getOpts (discourse/lib/text:25)
    at cook (discourse/lib/text:30)
    at eval (discourse/lib/text:38)
    at tryCatch (ember:50180)
    at invokeCallback (ember:50195)
    at publish (ember:50163)

```

The second error then occurs each time I input a character in the text area.

I believe this problem was not occurring a few months back, but I’m not sure. I’m currently using v1.9.0.beta5 +90.

---

_[View the full topic](https://meta.discourse.org/t/solved-dev-instance-with-nginx-topic-preview-not-working/67738)._
