Closed jermnelson closed 10 years ago
node bfe
is not going to do anything. Also, I get that same error, but it still works (it's one of those things I'll need to hunt down and eradicate, but...)
Are you loading it as if from a server or just by opening index.html
in the browser? If the latter, try something like this from within the bfe
directory:
python -m SimpleHTTPServer
Then open http://localhost:8000/ in the browser.
Kevin
Thanks Kevin, that worked and the editor now shows up when accessing it locally through a web-server. I just created a minimal node.js web server for bfe
that runs on port 8000 with the following command:
node server-bfe.js
.
I just sent a pull request with this file to repository.
After cloning this repository when I load either index.html or development.html in Firefox or Chome and clicking on any of the profiles, the editor does not load. I might be missing a crucial step but under both I'm receiving this javascript error: dropping module because define wasn't a string. bfe.min.js:1,
I thought the issue might be because I need the run the editor as a node.js application but when I try running
node bfe
I'm receiving a similar error:(function (exports, require, module, filename, dirname) { define(function( ^ ReferenceError: define is not defined at Object. (C:\Users\jernelson\Development\bfe\src\bfe.js:1:63)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3