elsiklab / gccontent

A JBrowse plugin for plotting GC content and GC skew
5 stars 2 forks source link

Jbrowse 1.15.0-alpha.0 errors with setup.sh #7

Closed srobb1 closed 6 years ago

srobb1 commented 6 years ago

Hi,

In Jbrowse 1.15.0-alpha.0 when I run ./setup.sh with this plugin in my plugin directory I get these errors:

ERROR in ./plugins/gccontent/js/View/Track/GCContentXY.js
Module not found: Error: Can't resolve 'GCContent/Store/SeqFeature/GCContent' in '/var/other_data/jbrowse-github/jbrowse/plugins/gccontent/js/View/Track'
 @ ./plugins/gccontent/js/View/Track/GCContentXY.js 1:0-74:2
 @ ./src/JBrowse/main.js

ERROR in ./plugins/gccontent/js/View/Track/GCContent.js
Module not found: Error: Can't resolve 'GCContent/Store/SeqFeature/GCContent' in '/var/other_data/jbrowse-github/jbrowse/plugins/gccontent/js/View/Track'
 @ ./plugins/gccontent/js/View/Track/GCContent.js 1:0-74:2
 @ ./src/JBrowse/main.js

ERROR in ./plugins/gccontent/js/View/Track/GCContentXY.js
Module not found: Error: Can't resolve 'GCContent/View/Dialog/WindowSizeDialog' in '/var/other_data/jbrowse-github/jbrowse/plugins/gccontent/js/View/Track'
 @ ./plugins/gccontent/js/View/Track/GCContentXY.js 1:0-74:2
 @ ./src/JBrowse/main.js

ERROR in ./plugins/gccontent/js/View/Track/GCContent.js
Module not found: Error: Can't resolve 'GCContent/View/Dialog/WindowSizeDialog' in '/var/other_data/jbrowse-github/jbrowse/plugins/gccontent/js/View/Track'
 @ ./plugins/gccontent/js/View/Track/GCContent.js 1:0-74:2
 @ ./src/JBrowse/main.js
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
cmdcolin commented 6 years ago

It's possible that you have to name the directory capital GCContent? Didn't test this myself but hopefully that helps

srobb1 commented 6 years ago

Yes!! That did it! Thanks!

cmdcolin commented 6 years ago

Awesome:) good to know