User Search Service using NodeJS, ExpressJS and ElasticSearch 安装问题
发布于 8小时前 作者 talway 52 次浏览 来自 问答

想做一个ElasticSearch前端,找到这个项目,但安装有点问题,我是新学人,排除问题有点困难。希望你帮忙看看。 我在安装项目,无法成功,帮我看看哪里出问题了:谢谢 https://github.com/IdanFridman/UserSearchService

[root@talway ~]# cd nodesearch [root@talway nodesearch]# ls README.md app.js bin bower.json controllers package.json public routes services tasks views [root@talway nodesearch]# npm install npm WARN deprecated [email protected]: use serve-favicon module

[email protected] install /root/nodesearch/node_modules/websocket node install.js [websocket v1.0.8] Attempting to compile native extensions. [websocket v1.0.8] Native extension compilation successful! \

[email protected] install /root/nodesearch/node_modules/socket.io/node_modules/engine.io/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory /root/nodesearch/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build’ CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node SOLINK_MODULE(target) Release/obj.target/validation.node: Finished COPY Release/validation.node make: Leaving directory/root/nodesearch/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build’

[email protected] install /root/nodesearch/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory /root/nodesearch/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build’ CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node SOLINK_MODULE(target) Release/obj.target/validation.node: Finished COPY Release/validation.node make: Leaving directory/root/nodesearch/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build’ [email protected] node_modules/debug

[email protected] node_modules/static-favicon

[email protected] node_modules/morgan └── [email protected]

[email protected] node_modules/q

[email protected] node_modules/cookie-parser ├── [email protected] └── [email protected]

[email protected] node_modules/elasticsearchclient

[email protected] node_modules/ejs

[email protected] node_modules/body-parser ├── [email protected] ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected])

[email protected] node_modules/express ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected])

[email protected] node_modules/websocket

[email protected] node_modules/hjs └── [email protected] ([email protected], [email protected])

[email protected] node_modules/jade ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) └── [email protected] ([email protected])

[email protected] node_modules/socket.io ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/less-middleware ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) [root@talway nodesearch]# DEBUG=nodesearch npm start

[email protected] start /root/nodesearch node ./bin/www server is running on port 3000 nodesearch Express server listening on port 3000 +0ms GET / 404 9ms - 46b

http://127.0.0.1:3000

{"message":"Not Found","error":{"status":404}}

回到顶部