beliy333
beliy333

Reputation: 479

New Ember app gives blank screen

I'm new to ember and doing a introductory tutorial to build a simple app. When I create a new app and start server, I try visiting the localhost page (http://localhost:4200/) in my browser but the page is blank. The browser window title is of my app name but there is no "Welcome to Ember" text as their should be. Also the ember inspector says "Ember application not detected!" although the little ember icon appears in the address bar of Firefox indicating that there is an ember app.

I have tried to restart the tutorial 3 times now and come up with same results. I have followed all set-up steps provided here. The only thing I did different or in addition to the turorial is I had to run sudo chown -R $USER /usr/localbecause of permissions issues.

All I have done so far is install node, npm, bower, ember-cli 2.2.0-beta.2., and then run these few commands:

ember new ember2-blog
cd ember2-blog
ember server

The terminal gives me a "Build successful - 7016ms." message but I go to http://localhost:4200/ and see the blank page... The inspector says "no ember app detected". Seems like I'm missing something simple but can't figure it out. Is it something to do with permissions? Please and thank you for your help.

Upvotes: 3

Views: 1485

Answers (1)

Lawree
Lawree

Reputation: 1162

This is a bug due to a new version of jQuery. For now you can change the following line in your bower.json file. Then run bower install and it should work.

"jquery": "^1.11.3",

to

"jquery": "1.11.3",

A new version of ember.js is imminent which should fix this.

Upvotes: 7

Related Questions