This is a test version of Biostars. For the public version, visit https://www.biostars.org.
TypeError: webpack.NoErrorsPlugin is not a constructor

Hi, I am trying to visualize roary result with panX-visualization via installing of npm and it give following errors when i type npm start commands.

**

npm start

** panX-visualization@1.5.0 start /home/bvs/Neelam/pan-genome-visualization node ./bin/www

/home/bvs/Neelam/pan-genome-visualization/webpack.config.dev.js:25 new webpack.NoErrorsPlugin() ^

> TypeError: webpack.NoErrorsPlugin is not a constructor

at Object.<anonymous> (/home/bvs/Neelam/pan-genome-visualization/webpack.config.dev.js:25:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/bvs/Neelam/pan-genome-visualization/app.js:14:21)
at Module._compile (internal/modules/cjs/loader.js:778:30)

npm ERR! code ELIFECYCLE npm ERR! errno 1 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. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/bvs/.npm/_logs/2022-05-20T05_43_16_860Z-debug.log

Thank you!

panx

0 answers

No answers yet.

Log in to answer this question.