netease / pomelo-admin-web Goto Github PK
View Code? Open in Web Editor NEWmonitor server demo for pomelo admin system
License: MIT License
monitor server demo for pomelo admin system
License: MIT License
目前v8-profiler持续更新已经更新至5.5.0 整个引擎目前缺少像admin-web这样的综合管理工具,这是一个有趣且非常重要的工具。它可以为开发节省大量的时间。
我更改了pomelo中的pomelo-admin中的部分错误,可以返回给profiler数据,但是pomelo-admin-web控制台显示解析时发生错误,我不知道如何解决,打印也无效。
Run pomelo-admin-web.
Then click menu..
game-server screen ->
console - ..[ERROR] \node_modules\pomelo\node-modules\pomelo-admin\lib\consoleService.js - unknown module: "systemInfo"
and "nodeInfo", "scripts"...
Exists file in "node_modules\pomelo\node_modules\pomelo-admin\lib\modules...
영어를 못해서 혹시나 하는 마음에 한글로도 올립니다.
pomelo-admin-web을 실행시키고 메뉴를 클릭하면
game-server 코멘드 창에
console - ..[ERROR] \node_modules\pomelo\node-modules\pomelo-admin\lib\consoleService.js - unknown module: "systemInfo"
, "nodeInfo", "scripts"...
가 뜹니다.
"node_modules\pomelo\node_modules\pomelo-admin\lib\modules...
폴더에 보면 해당 세개의 파일이 있는데 왜 그럴까요?
在app.js中增加 app.enable('systemMonitor');
在启动时,发现一个错误信息 Cannot find module 'v8-profiler'.
在npm install v8-profiler时,出现如下错误:
gyp ERR! build error
gyp ERR! stack Error: C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd E:\practise\chatServer\game-server\node_modules\pomelo\node_modules
\v8-profiler
gyp ERR! node -v v0.8.9
gyp ERR! node-gyp -v v0.6.8
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild"
failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the v8-profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls v8-profiler
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "v8-profiler"
npm ERR! cwd E:\practise\chatServer\game-server\node_modules\pomelo\node_modules
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! E:\practise\chatServer\game-server\node_modules\pomelo\node_modules
\npm-debug.log
npm ERR! not ok code 0
小弟的环境是 win 7. 请问如何安装?
若windows环境下不支持v8-profiler的安装,那如何使用pomelo-admin-web。
另外发现onlineUser这个模块也找不到,需要自己定制么?
Hi, I am new user of pomelo. In my project, I want to create an admin for my game, that 's why I a thinking to use pomelo-admin-web.
But I didn't find any document how to integrate pomelo-admin-web with pomelo app?
Could you guys help me.
Thanks in advance
pomelo-admin模块下conn request,rpc request,forward request都是空白的,system info和process info都有数据 怎么情况
使用的时候遇到了这个问题:
app.configure(function() {
^
TypeError: app.configure is not a function
at Object. (/home/zyx/treasures/pomelo-admin-web/app.js:10:5)
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)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
请问有人知道问什么吗,怎么改呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.