Code Monkey home page Code Monkey logo

Comments (8)

zakiso avatar zakiso commented on August 26, 2024

贴一下报错信息

from fabu.love.

eternally1013 avatar eternally1013 commented on August 26, 2024

贴一下报错信息

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]
6 info lifecycle [email protected]
start: [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
start: 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
9 verbose lifecycle [email protected]start: CWD: /opt/server
10 silly lifecycle [email protected]
start: Args: [ '-c', 'babel-node index.js' ]
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.

faxinter avatar faxinter commented on August 26, 2024

一样的问题

from fabu.love.

faxinter avatar faxinter commented on August 26, 2024

[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.

WhoJave avatar WhoJave commented on August 26, 2024

@faxinter @eternally1013 你们解决了么 我也遇到了

from fabu.love.

ytzk507 avatar ytzk507 commented on August 26, 2024

我也遇到了同样的问题,请问你们有没有解决? @WhoJave @faxinter @zakiso

from fabu.love.

tsangwaikey avatar tsangwaikey commented on August 26, 2024

我也遇到了同样的问题,请问你们有没有解决? @WhoJave @faxinter @zakiso

from fabu.love.

zakiso avatar zakiso commented on August 26, 2024

已修复,请根据最新readme文件说明进行测试

from fabu.love.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.