Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我是mac机,完全按照文档步骤执行。感觉本地server没启动起来啊 #157

Open
Tonyhark opened this issue Nov 16, 2015 · 2 comments

Comments

@Tonyhark
Copy link

ZhaodeMacBook-Pro:spmjs.io zhaoyue$ npm start

[email protected] start /Users/zhaoyue/Desktop/spm/spmjs.io
pm2 start app.js --name spmjs && pm2 start ./node_modules/elasticsearch-package/bin/elasticsearch -x --interpreter bash

[PM2] restartProcessId process id 0
[PM2] Process successfully started
┌───────────────┬────┬──────┬───────┬─────────┬─────────┬────────┬────────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
├───────────────┼────┼──────┼───────┼─────────┼─────────┼────────┼────────────┼──────────┤
│ spmjs │ 0 │ fork │ 22215 │ online │ 42 │ 0s │ 8.813 MB │ disabled │
│ elasticsearch │ 1 │ fork │ 0 │ errored │ 42 │ 0 │ 0 B │ disabled │
└───────────────┴────┴──────┴───────┴─────────┴─────────┴────────┴────────────┴──────────┘
Use pm2 show <id|name> to get more details about an app
[PM2] restartProcessId process id 1
[PM2] Process successfully started
┌───────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
├───────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────────────┼──────────┤
│ spmjs │ 0 │ fork │ 22251 │ online │ 44 │ 0s │ 18.848 MB │ disabled │
│ elasticsearch │ 1 │ fork │ 22260 │ online │ 42 │ 0s │ 3.844 MB │ disabled │
└───────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────────────┴──────────┘
Use pm2 show <id|name> to get more details about an app
ZhaodeMacBook-Pro:spmjs.io zhaoyue$ telnet 127.0.0.1 3000
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host

求大神帮忙看下 是啥问题

@laborchu
Copy link

我的也是,启动了以后,查看端口,没有被占用,也没有错误信息,服务器是ubuntu server

@laborchu
Copy link

@Tonyhark 我这边可以了,我直接用node app执行启动,提示我:Error: The dialect sqlite is not supported. (Error: Please install sqlite3 package manually),然后我安装了sqlite,再用npm start启动,就正常了,你试试是不是这个原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants