hammerlab / cycledash

Variant Caller Analysis Dashboard and Data Management System
Other
36 stars 2 forks source link

gulp build fails due to a missing library file #658

Closed armish closed 9 years ago

armish commented 9 years ago

Following the steps outlined in DEVELOP.md, I get the following error when trying to build the project with gulp:

$ gulp build
[18:44:48] Using gulpfile ~/Projects/cycledash/gulpfile.js
[18:44:48] Starting 'build'...

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: Cannot find module '../lib/querylanguage.js' from '/Users/aksoyb/Projects/cycledash/cycledash/static/js'
    at /Users/aksoyb/Projects/cycledash/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:55:21
    at load (/Users/aksoyb/Projects/cycledash/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
    at onex (/Users/aksoyb/Projects/cycledash/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
    at /Users/aksoyb/Projects/cycledash/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
    at Object.oncomplete (fs.js:107:15)

Here is the problematic line in QueryLanguage.js: https://github.com/hammerlab/cycledash/blob/master/cycledash/static/js/QueryLanguage.js#L3

ihodes commented 9 years ago

Can you try running gulp peg first? (cf. https://github.com/hammerlab/cycledash/blob/master/gulpfile.js#L88)

armish commented 9 years ago

thanks @ihodes: that did resolve the issue -- I will add this step to the guide.

ihodes commented 9 years ago

Ah good, thank you! Sorry we missed that :)