Created
May 17, 2015 19:17
-
-
Save imolorhe/0252b424c2cd5b903334 to your computer and use it in GitHub Desktop.
Issue with Marionette and browserify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in bootstrap.js | |
var $ = require('jquery'); | |
var Backbone = require('backbone'); | |
Backbone.$ = $; | |
// in app.js | |
var Marionette = require('backbone.marionette'); | |
var _ = require('underscore'); | |
// in main.js | |
require('./bootstrap'); | |
var App = require('./app'); | |
Thanks to @sllanes, it works for me now. Just changed the version I am using from 1.2.0 back to 1.1.2. Apparently backbone 1.2.0 has some issues working with marionette and browserify.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Command in the terminal:
Then when I open the page, I get that error: "cannot read property Deferred of undefined".