build error N3Lexer.js #65

Closed
bblfish opened this Issue Dec 26, 2013 · 1 comment

Comments

Projects
None yet
2 participants

bblfish commented Dec 26, 2013

Just trying to build the code. It runs but seems to fail as shown belo

 $ ./make.rb browser
  BROWSER CONFIGURATION
*** loading configuration
*** building distribution directory
(!) dist directory already exits
*** processing ./src/js-trees/src/utils.js
 * modifying: exports.Utils = {};
 -> var Utils = {};
 * ignoring: var Utils = exports.Utils;
*** processing ./src/js-trees/src/in_memory_b_tree.js
 * modifying: exports.InMemoryBTree = {};
 -> var InMemoryBTree = {};
 * ignoring: var InMemoryBTree = exports.InMemoryBTree;
*** processing ./src/js-rdf-persistence/src/quad_index_common.js
 * modifying: exports.QuadIndexCommon = {};
 -> var QuadIndexCommon = {};
 * ignoring: var QuadIndexCommon = exports.QuadIndexCommon;
*** processing ./src/js-rdf-persistence/src/quad_index.js
 * modifying: exports.QuadIndex = {};
 -> var QuadIndex = {};
 * ignoring: var QuadIndex = exports.QuadIndex;
 * writing right MemoryTree
 * ignoring: var Utils = require("./../../js-trees/src/utils").Utils;
 * ignoring: var QuadIndexCommon = require("./quad_index_common").QuadIndexCommon;
*** processing ./src/js-rdf-persistence/src/quad_backend.js
 * modifying: exports.QuadBackend = {};
 -> var QuadBackend = {};
 * ignoring: var QuadBackend = exports.QuadBackend;
 * ignoring: var Utils = require("./../../js-trees/src/utils").Utils;
 * ignoring: var QuadIndexCommon = require("./quad_index_common").QuadIndexCommon;
 * ignoring: var QuadIndex = require("./quad_index").QuadIndex;
*** processing ./src/js-rdf-persistence/src/lexicon.js
 * modifying: exports.Lexicon = {};
 -> var Lexicon = {};
 * ignoring: var Lexicon = exports.Lexicon;
 * ignoring: var QuadIndexCommon = require("./quad_index_common").QuadIndexCommon;
*** processing ./src/js-communication/src/ajax_transport.js
 * modifying: exports.NetworkTransport = {};
 -> var NetworkTransport = {};
 * ignoring: var NetworkTransport = exports.NetworkTransport;
*** processing ./src/js-communication/src/jsonld_parser.js
 * ignoring: var Utils = require("./../../js-trees/src/utils").Utils;
 * modifying: exports.JSONLDParser = {};
 -> var JSONLDParser = {};
 * ignoring: var JSONLDParser = exports.JSONLDParser;
*** processing ./node_modules/n3/lib/N3Lexer.js
./make.rb:516:in `initialize': No such file or directory - ./node_modules/n3/lib/N3Lexer.js (Errno::ENOENT)
    from ./make.rb:516:in `open'
    from ./make.rb:516:in `block (2 levels) in process_files_for_browser'
    from ./make.rb:514:in `each'
    from ./make.rb:514:in `block in process_files_for_browser'
    from ./make.rb:501:in `open'
    from ./make.rb:501:in `process_files_for_browser'
    from ./make.rb:556:in `make_browser'
    from ./make.rb:598:in `<main>'

As I am new to JS and ruby I am not sure how problematic this is.
Btw. you may want to add a link to the ruby gem ( for people like me )

Contributor

nopnop commented Dec 27, 2013

You need to run npm first to install javascript dependencies (this is a new step - the readme need to be updated) #61 :

  npm install

But you probably just need the distribution files here: https://github.com/antoniogarrote/rdfstore-js/tree/master/dist

antoniogarrote closed this in #67 Mar 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment