From: Colin <col...@gm...> - 2022-01-21 13:39:12
|
you will likely need to use an older node version, version 14 or less (your log says you are using node 17). this is a known issue that is mentioned in the README the readme note says Note: if you are using plugins with a dev version of JBrowse or installing from GitHub, you may need to use node <=14 (e.g. node >=15 may fail) due to node-sass not compiling on newer node versions easily. See https://github.com/GMOD/jbrowse/pull/1607 for details -Colin On Fri, Jan 21, 2022 at 12:14 AM Vaneet Lotay <van...@uc...> wrote: > Hello, > > I'm trying to install JBrowse on a new Ubuntu server for the first time. > I have been following the instructions on the JBrowse 1 documentation page > and I installed Node.js accordingly beforehand. I wanted a release for > which I can make changes and add plugins so I used 'git clone' and checked > out the latest release as it was indicated. After running ./setup.sh, I > get errors that start with looking for files in a node_modules folder which > does not exist in my JBrowse release: > > 7612 error code 1 > 7613 error path > /var/www/html/JBrowse-1.16.11-release/node_modules/node-sass > 7614 error command failed > 7615 error command sh -c node scripts/build.js > 7616 error Building: /usr/bin/node > /var/www/html/JBrowse-1.16.11-release/node_modules/node-gyp/bin/node-gyp.js > rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= > --libsass_library= > 7616 error make: Entering directory > '/var/www/html/JBrowse-1.16.11-release/node_modules/node-sass/build' > .... > > I attached the full log. Is the node_modules folder supposed to be there > in the release? I also installed python2 as there were some errors earlier > that indicated it was needed. Please let me know how this can be resolved > to install JBrowse. > > Thanks, > > Vaneet > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > |