bmac / ember-data-sails-adapter

An Ember data adaptor for the Sails.js sockets
MIT License
90 stars 16 forks source link

Reference error: io is not defined #38

Open mickyginger opened 9 years ago

mickyginger commented 9 years ago

I'm getting this error when I launch my app. I notice in the bower_components/ember-data-sails-adapter/ember-data-sails-adapter.js file io is not defined, but /global io/ is at the top of the scrip?

Where are you expecting io to be instantiated?

bmac commented 9 years ago

The global io. Comes from the http://sailsjs.org/#/documentation/anatomy/myApp/assets/js/dependencies/sails.io.js.html provided by sails.js.

lolmaus commented 9 years ago

This can be a client-side error as well.

The Ember adapter depends on a global io, but it's not specified in bower.json as a dependency.