# Master branch giving blank page for dev

**URL:** https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459
**Category:** Development
**Created:** [12.Октябрь.2016 19:09:25 UTC](https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459 "2016-10-12T19:09:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![AhmadF.Cheema](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmadf.cheema/32/87109_2.png) [@AhmadF.Cheema](https://meta.discourse.org/u/AhmadF.Cheema)
#### Post date: [12.Октябрь.2016 19:09:25 UTC](https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459/1 "2016-10-12T19:09:25Z")

</div>

Have been using developer vagrant installation of Discourse (as detailed in [Discourse as Your First Rails App](http://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/)), but recently I have been getting a completely blank page on browsing to localhost:4000 for the **master branch** of discourse. The F12 errors, Chrome is throwing out, are the following:

```
Uncaught Error: Could not find module discourse/lib/raw-handlebars
Uncaught Error: Could not find module `discourse/widgets/post-cooked` imported from `discourse/lib/plugin-api`
Uncaught TypeError: Cannot read property 'startRouting' of undefined (ember:3477 )

```

The relevant actions that I performed on my system since the last time the dev installation was working correctly were:

- Using an [updated version](https://github.com/discourse/discourse/pull/4436) of rubygems v2.2.5
- At some point I noticed getting the “Migrations are pending bin/rake db:migrate RAILS\_ENV=development” error on localhost:4000. Tried the solution mentioned [here](http://community.onemonth.com/t/migrations-are-pending-bin-rake-db-migrate-rails-env-development/5676/7), after which I started getting the blank page.
- Installed (and later uninstalled) _PostgreSQL-9.6.0_ on Windows.

The previous branches (like _stable_ (23rd September)) works fine. What could be the issue here?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [12.Октябрь.2016 23:34:07 UTC](https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459/2 "2016-10-12T23:34:07Z")

</div>

are you running Ruby 2.3 ?

---

<div class="post-metadata">

### Author: ![AhmadF.Cheema](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmadf.cheema/32/87109_2.png) [@AhmadF.Cheema](https://meta.discourse.org/u/AhmadF.Cheema)
#### Post date: [13.Октябрь.2016 07:58:31 UTC](https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459/3 "2016-10-13T07:58:31Z")

</div>

The `ruby-v` command in vagrant ssh is showing: `ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]`.  
Although, outside of vagrant I have Ruby v2.1, but I suppose this should be irrelevant?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [13.Октябрь.2016 08:16:33 UTC](https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459/4 "2016-10-13T08:16:33Z")

</div>

In your Discourse directory, try removing the `tmp` directory.

---

<div class="post-metadata">

### Author: ![AhmadF.Cheema](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmadf.cheema/32/87109_2.png) [@AhmadF.Cheema](https://meta.discourse.org/u/AhmadF.Cheema)
#### Post date: [13.Октябрь.2016 08:43:33 UTC](https://meta.discourse.org/t/master-branch-giving-blank-page-for-dev/51459/5 "2016-10-13T08:43:33Z")

</div>

Yes, that solved the issue. Thanks for that, much appreciated.  
The handlebars, ember errors in Chrome confused me. If it isn’t too much trouble, any explanation to how `tmp` files could be throwing out ember errors?
