fis icon indicating copy to clipboard operation
fis copied to clipboard

Cannot find module 'express'

Open xinfei411 opened this issue 10 years ago • 2 comments

服务打开的时候,错误是Cannot find module 'express'

xinfei411 avatar Jul 09 '15 05:07 xinfei411

是不是第一次开启的时候 ctrl + c 了导致 node_modules 没有安装完成。

如果是,请进入 server 目录,运行 npm install.

通过 fis server info 可以知道 server 目录在哪,你先试试。

2betop avatar Jul 09 '15 05:07 2betop

fis server clean
fis server start --type node --registry https://registry.npm.taobao.org

oxUnd avatar Jul 09 '15 05:07 oxUnd