AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 4.2安装了node.js 模块,怎么才能脱机执行 JS文件? |
|
---|---|
a69106464 |
a69106464 发表于 2014-09-25 19:04:36
如题,想后台脱机执行,请问如何操作?
点赞,加油! (3.77分)
2014-09-25 19:04:36 1
|
a69106464 |
回复
2014-09-25 21:12:38 2
|
a69106464 |
[root@localhost ~]# sudo npm install -g supervisor
npm http GET https://registry.npmjs.org/supervisor npm http GET https://registry.npmjs.org/supervisor npm http GET https://registry.npmjs.org/supervisor /usr/local/node.js-0.10.21/bin/node-supervisor -> /usr/local/node.js-0.10.21/lib/node_modules/supervisor/lib/cli-wrapper.js /usr/local/node.js-0.10.21/bin/supervisor -> /usr/local/node.js-0.10.21/lib/node_modules/supervisor/lib/cli-wrapper.js [email]supervisor@0.6.0[/email] /usr/local/node.js-0.10.21/lib/node_modules/supervisor [root@localhost ~]# [root@localhost ~]# supervisor -bash: supervisor: command not found 明明装好了,为什么提示我找不到啊????为什么啊??
回复
2014-09-25 21:13:37 3
|