-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I'm trying to wire up the socket adapter. I want to create a simple project using SailsSocketAdapter to demo at the SoCal NodeJS meetup.
Here's my project, https://github.com/dlai0001/la-sails-meetup-game/tree/bugs/ember-sails-adapter-not-working1
I'm hitting an issue "Error while processing route: index Cannot read property 'extend' of undefined TypeError: Cannot read property 'extend' of undefined". And i'm puzzled on how to solve it.
JS console output
Uncaught Error: Could not find module events vendor.js:42
DEBUG: ------------------------------- vendor.js:17062
DEBUG: Ember : 1.6.1 vendor.js:17062
DEBUG: Ember Data : 1.0.0-beta.8.2a68c63a vendor.js:17062
DEBUG: Handlebars : 1.3.0 vendor.js:17062
DEBUG: jQuery : 1.11.1 vendor.js:17062
DEBUG: ------------------------------- vendor.js:17062
generated -> route:application Object {fullName: "route:application"} vendor.js:17062
Error while processing route: index Cannot read property 'extend' of undefined TypeError: Cannot read property 'extend' of undefined
at eval (la-sails-meetup-game/adapters/application.js:8:51)
at requireModule (http://localhost:1337/assets/vendor.js:54:29)
at resolveOther (http://localhost:1337/assets/vendor.js:60044:20)
at apply (http://localhost:1337/assets/vendor.js:21143:27)
at superWrapper (http://localhost:1337/assets/vendor.js:20721:15)
at EmberObject.extend.resolve (http://localhost:1337/assets/vendor.js:56970:27)
at Object.resolve as resolver
at Object.Container.resolve (http://localhost:1337/assets/vendor.js:59216:29)
at factoryFor (http://localhost:1337/assets/vendor.js:59686:31)
at instantiate (http://localhost:1337/assets/vendor.js:59747:21) vendor.js:17062
Cannot read property 'extend' of undefined TypeError: Cannot read property 'extend' of undefined
at eval (la-sails-meetup-game/adapters/application.js:8:51)
at requireModule (http://localhost:1337/assets/vendor.js:54:29)
at resolveOther (http://localhost:1337/assets/vendor.js:60044:20)
at apply (http://localhost:1337/assets/vendor.js:21143:27)
at superWrapper (http://localhost:1337/assets/vendor.js:20721:15)
at EmberObject.extend.resolve (http://localhost:1337/assets/vendor.js:56970:27)
at Object.resolve as resolver
at Object.Container.resolve (http://localhost:1337/assets/vendor.js:59216:29)
at factoryFor (http://localhost:1337/assets/vendor.js:59686:31)
at instantiate (http://localhost:1337/assets/vendor.js:59747:21) vendor.js:17062