node-ledger-web icon indicating copy to clipboard operation
node-ledger-web copied to clipboard

Following build instructions on README results in a "ReferenceError: Backbone is not defined " on page load

Open jeffrichards opened this issue 11 years ago • 2 comments

I wanted to try out your work here, so I followed your documentation for installing but unfortunately when I load up the site I get a blank screen and the following error in the js console.

Uncaught ReferenceError: Backbone is not defined ledger.js:2230

I thought perhaps it was due to the versions of the bower dependencies advancing since your last commit, so I tried moving each of the version dependencies from "~#.#.#" to just "#.#.#" but no luck.

jeffrichards avatar Sep 23 '14 05:09 jeffrichards

@jeffrichards can you try running the server in non-production mode, see if that works for you?

node app.js

It looks like there's an issue with the RequireJS optimisation of the JavaScript.

slashdotdash avatar Sep 24 '14 13:09 slashdotdash

That worked! Thanks! On Sep 24, 2014 6:19 AM, "Ben Smith" [email protected] wrote:

@jeffrichards https://github.com/jeffrichards can you try running the server in non-production mode, see if that works for you?

node app.js

It looks like there's an issue with the RequireJS optimisation of the JavaScript.

— Reply to this email directly or view it on GitHub https://github.com/slashdotdash/node-ledger-web/issues/1#issuecomment-56667874 .

jeffrichards avatar Sep 27 '14 06:09 jeffrichards