zlluGitHub / gene-tree

一个基于 phylotree.js 进行二次开发的基因可视化进化树,主要用于基因序列可视化分析等,目前该版本只是简单的示例,若用于生产环境中需进一步开发。。。
7 stars 3 forks source link

sh: webpack-dev-server: command not found #31

Open yunfeiboy opened 1 year ago

yunfeiboy commented 1 year ago
image

gene-tree git:(master) npm run dev

> phylotree@0.1.10 dev /Users/yun/code/my/db/gene-tree
> webpack-dev-server --open --port 3000 --contentBase src --hot

sh: webpack-dev-server: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! phylotree@0.1.10 dev: `webpack-dev-server --open --port 3000 --contentBase src --hot`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the phylotree@0.1.10 dev 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!     /Users/yun/.npm/_logs/2022-12-27T07_46_49_534Z-debug.log

起不来啊

yolololo-huang commented 5 months ago

我也遇到了同样的问题。。。安装后又说版本不符

WangZhong886 commented 2 months ago

这个问题解决了吗,我也遇见这个问题了