CNode

pomelo-admin-web启动出错 求解惑

Hhelpking发布于13 年前最后回复13 年前4 回复5429 浏览0 收藏

var app = express(); ^ TypeError: object is not a function at Object. (/app/games/TestGame/web-server/pomelo-admin-web/app.js:4:11) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:244:9)

查看回复

回复 (4)

H
helpking#1·13 年前

重新安装了下ejs这问题解决了。又出现新问题了 enter image description here

L
longinnobeans#2·13 年前

试下,var app = express.createServer();

H
helpking#3·13 年前

我express也安装成功了。 按照 官网 https://github.com/NetEase/pomelo/wiki/adminConsole%E5%AE%89%E8%A3%85%E4%B8%8E%E7%AE%80%E4%BB%8B 这个安装完毕了

可是出现这个错误。表示不解

H
helpking#4·13 年前
参与回复
登录后即可参与回复。登录