Comments (8)
贴一下报错信息
from fabu.love.
贴一下报错信息
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/server/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]start: CWD: /opt/serverstart: Args: [ '-c', 'babel-node index.js' ]
10 silly lifecycle [email protected]
11 info lifecycle [email protected]~start: Failed to exec start script
12 verbose stack Error: [email protected] start: babel-node index.js
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at emitTwo (events.js:126:13)
12 verbose stack at ChildProcess.emit (events.js:214:7)
12 verbose stack at maybeClose (internal/child_process.js:925:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
13 verbose pkgid [email protected]
14 verbose cwd /opt/server
15 verbose Linux 3.10.0-957.el7.x86_64
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
17 verbose node v8.9.4
18 verbose npm v5.6.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error [email protected] start: babel-node index.js
23 error spawn ENOENT
24 error Failed at the [email protected] start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
数据库提示连接成功,但是点击注册时候docker直接死掉,这是bug日志
from fabu.love.
一样的问题
from fabu.love.
[root@MiWiFi-R3P-srv fabu.love-master]# docker run -p 9898:9898 --network host fabu:latest
[email protected] start /opt/server
babel-node index.js
process controller: app.js...
mongodb://localhost:27017/fabulove
{"updateMode":{"type":"string","require":true},"versionId":{"type":"string","description":"如果传入了versionId则表示设置某个版本的更新方式"}}
{"shortUrl":"string","installWithPwd":"boolean","installPwd":"string","autoPublish":"boolean"}
{"installUrl":"string","showOnDownloadPage":"boolean","changelog":"string","updateMode":{"type":"string"}}
{"updateMode":{"type":"string"},"ipType":{"type":"string"},"ipList":{"type":"string"},"downloadCountLimit":{"type":"number"}}
{"versionId":{"type":"string","require":true},"versionCode":{"type":"string","require":true},"release":{"type":"bool","require":true}}
{"strategy":{"type":"object","properties":{"updateMode":{"type":"string"},"ipType":{"type":"string"},"ipList":{"type":"string"},"downloadCountLimit":{"type":"number"}}},"version":{"type":"object","properties":{"versionId":{"type":"string","require":true},"versionCode":{"type":"string","require":true},"release":{"type":"bool","require":true}}}}
{"versionId":{"type":"string","require":true},"versionCode":{"type":"string","require":true},"release":{"type":"bool","require":true}}
[Function: AppRouter]
process controller: auth.js...
{"username":{"type":"string","required":true},"password":{"type":"string","required":true}}
{"username":{"type":"string","required":true},"password":{"type":"string","required":true},"email":{"type":"string","required":true}}
{"oldpwd":{"type":"string","require":true},"newpwd":{"type":"string","require":true}}
{"mobile":{"type":"string"},"qq":{"type":"string"},"company":{"type":"string"},"career":{"type":"string"}}
{"email":{"type":"string","required":true}}
[Function: AuthRouter]
process controller: message.js...
[Function: MessageRouter]
process controller: miniapp.js...
{"name":{"type":"string","require":true},"appId":{"type":"string","require":true,"description":"小程序的appid"},"appSecret":{"type":"string","require":true,"description":"小程序的appSecret"},"teamId":{"type":"string","require":true,"description":"团队id,表示创建到哪个团队下"}}
{"appId":{"type":"string","require":true,"description":"小程序的appid"},"scene":{"type":"string","require":false,"description":"场景参数列如authcode=xxxx&match=xxxx"},"page":{"type":"string","require":false,"description":"入口页面"},"remark":{"type":"string","require":true,"description":"备注信息"},"teamId":{"type":"string","require":true,"description":"团队id"}}
{"appId":{"type":"string","require":true,"description":"小程序的appid"},"codeId":{"type":"string","require":true,"description":"入口页面"}}
[Function: MiniAppRouter]
process controller: team.js...
{"name":{"type":"string","required":true},"icon":{"type":"string","required":false}}
{"memberId":{"type":"string","required":true},"role":{"type":"string","required":true,"description":"传入manager或者guest"}}
{"emailList":{"type":"array","items":{"type":"string"},"description":"邮箱列表","required":true},"role":{"type":"string","required":true,"description":"成员角色manager/guest"}}
{"name":{"type":"string","required":true}}
[Function: TeamRouter]
process controller: upload.js...
[Function: UploadRouter]
Thu, 11 Apr 2019 00:17:29 GMT koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md at index.js:44:5
App is listening on 9898.
(node:26) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
数据库连接成功
(node:26) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
Process API POST /api/user/register...
/usr/local/bin/node: symbol lookup error: /opt/server/node_modules/_bcrypt@3.0.5@bcrypt/lib/binding/bcrypt_lib.node: undefined symbol: _ZN4node19GetCurrentEventLoopEPN2v87IsolateE
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: babel-node index.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-11T00_17_54_411Z-debug.log
[root@MiWiFi-R3P-srv fabu.love-master]#
from fabu.love.
@faxinter @eternally1013 你们解决了么 我也遇到了
from fabu.love.
我也遇到了同样的问题,请问你们有没有解决? @WhoJave @faxinter @zakiso
from fabu.love.
from fabu.love.
已修复,请根据最新readme文件说明进行测试
from fabu.love.
Related Issues (20)
- all.css 文件获取不了 HOT 3
- 请问怎么配置上下文?这样部署整个nginx文件只能配这一个项目了
- 文件大小统计错误 HOT 6
- 预览页面无内容
- 一个 fontawesome 加载速度很不友好的改进建议
- docker运行只有tcp6而没有tcp问题 HOT 2
- 外网访问以及应用包下载特别慢 HOT 3
- 自动清空数据库 HOT 1
- 运行问题 HOT 2
- 上传安装包卡在100%, HOT 8
- 麻烦帮忙部署 有偿 HOT 1
- 还继续维护吗
- 部署在二级path 下载二维码生成信息错误
- 上传到100%就卡住了,查看后台代码报错, HOT 3
- 未检测到版本信息
- 可以打包个docker镜像吗? 一键安装 HOT 1
- dockerfile的问题
- 求新版fabu.love仓库的运行环境清单? HOT 1
- 现在没有迭代更新了吗?是不在维护了吗? HOT 1
- 推荐 https://github.com/appspa/app-space
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabu.love.