neherlab / pan-genome-visualization

Visualization of the pan-genome output by panX
https://pangenome.ch
Other
61 stars 14 forks source link

SyntaxError: Invalid regular expression: /^\/(*)(?:\/(?=$))?$/: Nothing to repeat #14

Open neelam19051 opened 1 year ago

neelam19051 commented 1 year ago

Hi i am trying to run npm for panX visualization purpose and it giving following error.

npm start

panX-visualization@1.5.0 start /home/neel@m95/Desktop/pan-genome-visualization node ./bin/www

DEPRECATED use https://github.com/pillarjs/path-to-regexp /usr/lib/nodejs/path-to-regexp/index.js:167 return attachKeys(new RegExp('^' + path + (end ? '$' : ''), flags), keys); ^

SyntaxError: Invalid regular expression: /^\/(*)(?:\/(?=$))?$/: Nothing to repeat at new RegExp () at pathtoRegexp (/usr/lib/nodejs/path-to-regexp/index.js:167:21) at new Layer (/usr/lib/nodejs/express/router/layer.js:21:17) at Function.proto.route (/usr/lib/nodejs/express/router/index.js:366:15) at Function.proto.(anonymous function) [as get] (/usr/lib/nodejs/express/router/index.js:381:22) at Object. (/home/neel@m95/Desktop/pan-genome-visualization/routes/download.js:27:8) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12)

npm ERR! Linux 5.4.0-72-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE npm ERR! panX-visualization@1.5.0 start: node ./bin/www npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the panX-visualization@1.5.0 start script 'node ./bin/www'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the panX-visualization package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./bin/www npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs panX-visualization npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls panX-visualization npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/neel@m95/Desktop/pan-genome-visualization/npm-debug.log

Thank you!