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

部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 #49

Closed
LynnGuo666 opened this issue Jul 14, 2020 · 38 comments

Comments

@LynnGuo666
Copy link
Contributor

RT,部署在Leancloud上提示[2020-07-14T05:06:00.718Z][system] 部署失败:ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

我fork一份改吧(我太难了)

@LynnGuo666
Copy link
Contributor Author

实际上改最后一版就可以

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

发了pull requests了,你同意一下吧

@LynnGuo666
Copy link
Contributor Author

FTP可太秀了,我都是Github Desktop+V2Ray的

@LynnGuo666
Copy link
Contributor Author

我改了一下readme,然后试着部署的时候提示的是[Node.js] 未在 package.json 中指定 engines.node,将默认使用 Node.js 0.12

@LynnGuo666
Copy link
Contributor Author

[2020-07-14T09:04:40.830000000Z][instance:web1] > qqmusicapi@0.0.0 start /home/leanengine/app
[2020-07-14T09:04:40.830017000Z][instance:web1] > node ./bin/www
[2020-07-14T09:04:40.830023200Z][instance:web1]
[2020-07-14T09:04:41.046957000Z][instance:web1] /home/leanengine/app/bin/www:93
[2020-07-14T09:04:41.046992100Z][instance:web1] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0 [2020-07-14T09:04:41.047000800Z][instance:web1] ^ [2020-07-14T09:04:41.047007200Z][instance:web1] SyntaxError: Unexpected token ILLEGAL [2020-07-14T09:04:41.047013400Z][instance:web1] at exports.runInThisContext (vm.js:73:16) [2020-07-14T09:04:41.047019500Z][instance:web1] at Module._compile (module.js:443:25) [2020-07-14T09:04:41.047025700Z][instance:web1] at Object.Module._extensions..js (module.js:478:10) [2020-07-14T09:04:41.047032000Z][instance:web1] at Module.load (module.js:355:32) [2020-07-14T09:04:41.047038200Z][instance:web1] at Function.Module._load (module.js:310:12) [2020-07-14T09:04:41.047044400Z][instance:web1] at Function.Module.runMain (module.js:501:10) [2020-07-14T09:04:41.047050500Z][instance:web1] at startup (node.js:129:16) [2020-07-14T09:04:41.047056600Z][instance:web1] at node.js:814:3 [2020-07-14T09:04:41.062297600Z][instance:web1] [2020-07-14T09:04:41.130259000Z][instance:web1] npm ERR! Linux 4.15.0-99-generic [2020-07-14T09:04:41.131406800Z][instance:web1] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" [2020-07-14T09:04:41.131602000Z][instance:web1] npm ERR! node v0.12.18 [2020-07-14T09:04:41.132039700Z][instance:web1] npm ERR! npm v2.15.11 [2020-07-14T09:04:41.132204300Z][instance:web1] npm ERR! code ELIFECYCLE [2020-07-14T09:04:41.132515300Z][instance:web1] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www [2020-07-14T09:04:41.132651800Z][instance:web1] npm ERR! Exit status 1 [2020-07-14T09:04:41.132769000Z][instance:web1] npm ERR! [2020-07-14T09:04:41.132877600Z][instance:web1] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'. [2020-07-14T09:04:41.132986600Z][instance:web1] npm ERR! This is most likely a problem with the qqmusicapi package, [2020-07-14T09:04:41.133088000Z][instance:web1] npm ERR! not with npm itself. [2020-07-14T09:04:41.133189400Z][instance:web1] npm ERR! Tell the author that this fails on your system: [2020-07-14T09:04:41.133306000Z][instance:web1] npm ERR! node ./bin/www [2020-07-14T09:04:41.133441500Z][instance:web1] npm ERR! You can get information on how to open an issue for this project with: [2020-07-14T09:04:41.133546200Z][instance:web1] npm ERR! npm bugs qqmusicapi [2020-07-14T09:04:41.133655800Z][instance:web1] npm ERR! Or if that isn't available, you can get their info via: [2020-07-14T09:04:41.133839600Z][instance:web1] npm ERR! [2020-07-14T09:04:41.134212400Z][instance:web1] npm ERR! npm owner ls qqmusicapi [2020-07-14T09:04:41.134326800Z][instance:web1] npm ERR! There is likely additional logging output above. [2020-07-14T09:04:41.138299400Z][instance:web1] [2020-07-14T09:04:41.138495700Z][instance:web1] npm ERR! Please include the following file with any support request: [2020-07-14T09:04:41.138618000Z][instance:web1] npm ERR! /home/leanengine/app/npm-debug.log [2020-07-14T09:04:42.919963000Z][instance:web1] [2020-07-14T09:04:42.920010000Z][instance:web1] > qqmusicapi@0.0.0 start /home/leanengine/app [2020-07-14T09:04:42.920041000Z][instance:web1] > node ./bin/www [2020-07-14T09:04:42.920047600Z][instance:web1] [2020-07-14T09:04:43.145988400Z][instance:web1] /home/leanengine/app/bin/www:93 [2020-07-14T09:04:43.146036500Z][instance:web1] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0
[2020-07-14T09:04:43.146053000Z][instance:web1] ^
[2020-07-14T09:04:43.146066700Z][instance:web1] SyntaxError: Unexpected token ILLEGAL
[2020-07-14T09:04:43.146078700Z][instance:web1] at exports.runInThisContext (vm.js:73:16)
[2020-07-14T09:04:43.146092000Z][instance:web1] at Module._compile (module.js:443:25)
[2020-07-14T09:04:43.146104300Z][instance:web1] at Object.Module._extensions..js (module.js:478:10)
[2020-07-14T09:04:43.146116400Z][instance:web1] at Module.load (module.js:355:32)
[2020-07-14T09:04:43.146129200Z][instance:web1] at Function.Module._load (module.js:310:12)
[2020-07-14T09:04:43.146141200Z][instance:web1] at Function.Module.runMain (module.js:501:10)
[2020-07-14T09:04:43.146153000Z][instance:web1] at startup (node.js:129:16)
[2020-07-14T09:04:43.146165500Z][instance:web1] at node.js:814:3
[2020-07-14T09:04:43.159384000Z][instance:web1]
[2020-07-14T09:04:43.220424200Z][instance:web1] npm ERR! Linux 4.15.0-99-generic
[2020-07-14T09:04:43.220931800Z][instance:web1] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
[2020-07-14T09:04:43.221188400Z][instance:web1] npm ERR! node v0.12.18
[2020-07-14T09:04:43.221716200Z][instance:web1] npm ERR! npm v2.15.11
[2020-07-14T09:04:43.221923000Z][instance:web1] npm ERR! code ELIFECYCLE
[2020-07-14T09:04:43.222144500Z][instance:web1] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www
[2020-07-14T09:04:43.222744000Z][instance:web1] npm ERR! Exit status 1
[2020-07-14T09:04:43.222923500Z][instance:web1] npm ERR!
[2020-07-14T09:04:43.223133000Z][instance:web1] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'.
[2020-07-14T09:04:43.223564800Z][instance:web1] npm ERR! This is most likely a problem with the qqmusicapi package,
[2020-07-14T09:04:43.223781600Z][instance:web1] npm ERR! not with npm itself.
[2020-07-14T09:04:43.223916000Z][instance:web1] npm ERR! Tell the author that this fails on your system:
[2020-07-14T09:04:43.224120300Z][instance:web1] npm ERR! node ./bin/www
[2020-07-14T09:04:43.224343600Z][instance:web1] npm ERR! You can get information on how to open an issue for this project with:
[2020-07-14T09:04:43.224438800Z][instance:web1] npm ERR! npm bugs qqmusicapi
[2020-07-14T09:04:43.224615200Z][instance:web1] npm ERR! Or if that isn't available, you can get their info via:
[2020-07-14T09:04:43.224870700Z][instance:web1] npm ERR!
[2020-07-14T09:04:43.225227000Z][instance:web1] npm ERR! npm owner ls qqmusicapi
[2020-07-14T09:04:43.225466400Z][instance:web1] npm ERR! There is likely additional logging output above.
[2020-07-14T09:04:43.231117300Z][instance:web1]
[2020-07-14T09:04:43.231487500Z][instance:web1] npm ERR! Please include the following file with any support request:
[2020-07-14T09:04:43.231591400Z][instance:web1] npm ERR! /home/leanengine/app/npm-debug.log
[2020-07-14T09:04:45.049015600Z][instance:web1]
[2020-07-14T09:04:45.049057000Z][instance:web1] > qqmusicapi@0.0.0 start /home/leanengine/app
[2020-07-14T09:04:45.049065000Z][instance:web1] > node ./bin/www
[2020-07-14T09:04:45.049071400Z][instance:web1]
[2020-07-14T09:04:45.337867500Z][instance:web1] /home/leanengine/app/bin/www:93
[2020-07-14T09:04:45.337948700Z][instance:web1] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0 [2020-07-14T09:04:45.337972000Z][instance:web1] ^ [2020-07-14T09:04:45.337983500Z][instance:web1] SyntaxError: Unexpected token ILLEGAL [2020-07-14T09:04:45.337995000Z][instance:web1] at exports.runInThisContext (vm.js:73:16) [2020-07-14T09:04:45.338006500Z][instance:web1] at Module._compile (module.js:443:25) [2020-07-14T09:04:45.338018000Z][instance:web1] at Object.Module._extensions..js (module.js:478:10) [2020-07-14T09:04:45.338029000Z][instance:web1] at Module.load (module.js:355:32) [2020-07-14T09:04:45.338039800Z][instance:web1] at Function.Module._load (module.js:310:12) [2020-07-14T09:04:45.338050800Z][instance:web1] at Function.Module.runMain (module.js:501:10) [2020-07-14T09:04:45.338061800Z][instance:web1] at startup (node.js:129:16) [2020-07-14T09:04:45.338072800Z][instance:web1] at node.js:814:3 [2020-07-14T09:04:45.351467800Z][instance:web1] [2020-07-14T09:04:45.360216300Z][instance:web1] npm ERR! Linux 4.15.0-99-generic [2020-07-14T09:04:45.360695300Z][instance:web1] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" [2020-07-14T09:04:45.360822000Z][instance:web1] npm ERR! node v0.12.18 [2020-07-14T09:04:45.361212000Z][instance:web1] npm ERR! npm v2.15.11 [2020-07-14T09:04:45.361311200Z][instance:web1] npm ERR! code ELIFECYCLE [2020-07-14T09:04:45.361640000Z][instance:web1] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www [2020-07-14T09:04:45.361830400Z][instance:web1] npm ERR! Exit status 1 [2020-07-14T09:04:45.361874000Z][instance:web1] npm ERR! [2020-07-14T09:04:45.362095400Z][instance:web1] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'. [2020-07-14T09:04:45.362147300Z][instance:web1] npm ERR! This is most likely a problem with the qqmusicapi package, [2020-07-14T09:04:45.362279200Z][instance:web1] npm ERR! not with npm itself. [2020-07-14T09:04:45.362458000Z][instance:web1] npm ERR! Tell the author that this fails on your system: [2020-07-14T09:04:45.362553600Z][instance:web1] npm ERR! node ./bin/www [2020-07-14T09:04:45.362647000Z][instance:web1] npm ERR! You can get information on how to open an issue for this project with: [2020-07-14T09:04:45.362756600Z][instance:web1] npm ERR! npm bugs qqmusicapi [2020-07-14T09:04:45.415401700Z][instance:web1] npm ERR! Or if that isn't available, you can get their info via: [2020-07-14T09:04:45.415427800Z][instance:web1] npm ERR! [2020-07-14T09:04:45.415448800Z][instance:web1] npm ERR! npm owner ls qqmusicapi [2020-07-14T09:04:45.415455200Z][instance:web1] npm ERR! There is likely additional logging output above. [2020-07-14T09:04:45.418574800Z][instance:web1] [2020-07-14T09:04:45.418676000Z][instance:web1] npm ERR! Please include the following file with any support request: [2020-07-14T09:04:45.418903800Z][instance:web1] npm ERR! /home/leanengine/app/npm-debug.log [2020-07-14T09:04:47.238164500Z][instance:web1] [2020-07-14T09:04:47.238231000Z][instance:web1] > qqmusicapi@0.0.0 start /home/leanengine/app [2020-07-14T09:04:47.238241500Z][instance:web1] > node ./bin/www [2020-07-14T09:04:47.238247200Z][instance:web1] [2020-07-14T09:04:47.532784000Z][instance:web1] /home/leanengine/app/bin/www:93 [2020-07-14T09:04:47.532824800Z][instance:web1] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0
[2020-07-14T09:04:47.532839000Z][instance:web1] ^
[2020-07-14T09:04:47.532850200Z][instance:web1] SyntaxError: Unexpected token ILLEGAL
[2020-07-14T09:04:47.532861400Z][instance:web1] at exports.runInThisContext (vm.js:73:16)
[2020-07-14T09:04:47.532874000Z][instance:web1] at Module._compile (module.js:443:25)
[2020-07-14T09:04:47.532885000Z][instance:web1] at Object.Module._extensions..js (module.js:478:10)
[2020-07-14T09:04:47.532896300Z][instance:web1] at Module.load (module.js:355:32)
[2020-07-14T09:04:47.532907000Z][instance:web1] at Function.Module._load (module.js:310:12)
[2020-07-14T09:04:47.532917500Z][instance:web1] at Function.Module.runMain (module.js:501:10)
[2020-07-14T09:04:47.532929800Z][instance:web1] at startup (node.js:129:16)
[2020-07-14T09:04:47.532940300Z][instance:web1] at node.js:814:3
[2020-07-14T09:04:47.544285000Z][instance:web1]
[2020-07-14T09:04:47.552217600Z][instance:web1] npm ERR! Linux 4.15.0-99-generic
[2020-07-14T09:04:47.552599800Z][instance:web1] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
[2020-07-14T09:04:47.552783400Z][instance:web1] npm ERR! node v0.12.18
[2020-07-14T09:04:47.553257700Z][instance:web1] npm ERR! npm v2.15.11
[2020-07-14T09:04:47.553314600Z][instance:web1] npm ERR! code ELIFECYCLE
[2020-07-14T09:04:47.553529900Z][instance:web1] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www
[2020-07-14T09:04:47.553595000Z][instance:web1] npm ERR! Exit status 1
[2020-07-14T09:04:47.553875000Z][instance:web1] npm ERR!
[2020-07-14T09:04:47.554019000Z][instance:web1] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'.
[2020-07-14T09:04:47.554221000Z][instance:web1] npm ERR! This is most likely a problem with the qqmusicapi package,
[2020-07-14T09:04:47.554345500Z][instance:web1] npm ERR! not with npm itself.
[2020-07-14T09:04:47.554454800Z][instance:web1] npm ERR! Tell the author that this fails on your system:
[2020-07-14T09:04:47.554569700Z][instance:web1] npm ERR! node ./bin/www
[2020-07-14T09:04:47.554694700Z][instance:web1] npm ERR! You can get information on how to open an issue for this project with:
[2020-07-14T09:04:47.554781000Z][instance:web1] npm ERR! npm bugs qqmusicapi
[2020-07-14T09:04:47.554886000Z][instance:web1] npm ERR! Or if that isn't available, you can get their info via:
[2020-07-14T09:04:47.554997500Z][instance:web1] npm ERR!
[2020-07-14T09:04:47.555086800Z][instance:web1] npm ERR! npm owner ls qqmusicapi
[2020-07-14T09:04:47.555188000Z][instance:web1] npm ERR! There is likely additional logging output above.
[2020-07-14T09:04:47.559512800Z][instance:web1]
[2020-07-14T09:04:47.559669500Z][instance:web1] npm ERR! Please include the following file with any support request:
[2020-07-14T09:04:47.559774000Z][instance:web1] npm ERR! /home/leanengine/app/npm-debug.log
[2020-07-14T09:04:49.418094800Z][instance:web1]
[2020-07-14T09:04:49.418163200Z][instance:web1] > qqmusicapi@0.0.0 start /home/leanengine/app
[2020-07-14T09:04:49.418175000Z][instance:web1] > node ./bin/www
[2020-07-14T09:04:49.418184400Z][instance:web1]
[2020-07-14T09:04:49.649171700Z][instance:web1] /home/leanengine/app/bin/www:93
[2020-07-14T09:04:49.649242000Z][instance:web1] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0 [2020-07-14T09:04:49.649251000Z][instance:web1] ^ [2020-07-14T09:04:49.649257200Z][instance:web1] SyntaxError: Unexpected token ILLEGAL [2020-07-14T09:04:49.649263600Z][instance:web1] at exports.runInThisContext (vm.js:73:16) [2020-07-14T09:04:49.649270000Z][instance:web1] at Module._compile (module.js:443:25) [2020-07-14T09:04:49.649276000Z][instance:web1] at Object.Module._extensions..js (module.js:478:10) [2020-07-14T09:04:49.649281500Z][instance:web1] at Module.load (module.js:355:32) [2020-07-14T09:04:49.649287200Z][instance:web1] at Function.Module._load (module.js:310:12) [2020-07-14T09:04:49.649293000Z][instance:web1] at Function.Module.runMain (module.js:501:10) [2020-07-14T09:04:49.649299000Z][instance:web1] at startup (node.js:129:16) [2020-07-14T09:04:49.649304600Z][instance:web1] at node.js:814:3 [2020-07-14T09:04:49.662167600Z][instance:web1] [2020-07-14T09:04:49.721158700Z][instance:web1] npm ERR! Linux 4.15.0-99-generic [2020-07-14T09:04:49.721658400Z][instance:web1] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" [2020-07-14T09:04:49.721846300Z][instance:web1] npm ERR! node v0.12.18 [2020-07-14T09:04:49.722249500Z][instance:web1] npm ERR! npm v2.15.11 [2020-07-14T09:04:49.722436400Z][instance:web1] npm ERR! code ELIFECYCLE [2020-07-14T09:04:49.722610700Z][instance:web1] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www[2020-07-14T09:04:49.722755800Z][instance:web1] npm ERR! Exit status 1 [2020-07-14T09:04:49.723044000Z][instance:web1] npm ERR! [2020-07-14T09:04:49.723323400Z][instance:web1] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'. [2020-07-14T09:04:49.723593200Z][instance:web1] npm ERR! This is most likely a problem with the qqmusicapi package, [2020-07-14T09:04:49.723800000Z][instance:web1] npm ERR! not with npm itself. [2020-07-14T09:04:49.723970800Z][instance:web1] npm ERR! Tell the author that this fails on your system: [2020-07-14T09:04:49.724135000Z][instance:web1] npm ERR! node ./bin/www [2020-07-14T09:04:49.724315000Z][instance:web1] npm ERR! You can get information on how to open an issue for this project with: [2020-07-14T09:04:49.724481000Z][instance:web1] npm ERR! npm bugs qqmusicapi [2020-07-14T09:04:49.724629500Z][instance:web1] npm ERR! Or if that isn't available, you can get their info via: [2020-07-14T09:04:49.724838400Z][instance:web1] npm ERR! [2020-07-14T09:04:49.724999700Z][instance:web1] npm ERR! npm owner ls qqmusicapi [2020-07-14T09:04:49.725241000Z][instance:web1] npm ERR! There is likely additional logging output above. [2020-07-14T09:04:49.729741300Z][instance:web1] [2020-07-14T09:04:49.729949400Z][instance:web1] npm ERR! Please include the following file with any support request: [2020-07-14T09:04:49.730037200Z][instance:web1] npm ERR! /home/leanengine/app/npm-debug.log [2020-07-14T09:05:09.729000000Z][system] 实例日志:[ERROR] npm ERR! Linux 4.15.0-99-generic [ERROR] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" [ERROR] npm ERR! node v0.12.18 [ERROR] npm ERR! npm v2.15.11 [ERROR] npm ERR! code ELIFECYCLE [ERROR] npm ERR! qqmusicapi@0.0.0 start:node ./bin/www [ERROR] npm ERR! Exit status 1 [ERROR] npm ERR! [ERROR] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'. [ERROR] npm ERR! This is most likely a problem with the qqmusicapi package, [ERROR] npm ERR! not with npm itself. [ERROR] npm ERR! Tell the author that this fails on your system: [ERROR] npm ERR! node ./bin/www [ERROR] npm ERR! You can get information on how to open an issue for this project with: [ERROR] npm ERR! npm bugs qqmusicapi [ERROR] npm ERR! Or if that isn't available, you can get their info via: [ERROR] npm ERR! [ERROR] npm ERR! npm owner ls qqmusicapi [ERROR] npm ERR! There is likely additional logging output above. [ERROR] npm ERR! Please include the following file with any support request: [ERROR] npm ERR! /home/leanengine/app/npm-debug.log [INFO] > qqmusicapi@0.0.0 start /home/leanengine/app [INFO] > node ./bin/www [ERROR] /home/leanengine/app/bin/www:93 [ERROR] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0
[ERROR] ^
[ERROR] SyntaxError: Unexpected token ILLEGAL
[ERROR] at exports.runInThisContext (vm.js:73:16)
[ERROR] at Module._compile (module.js:443:25)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] at Module.load (module.js:355:32)
[ERROR] at Function.Module._load (module.js:310:12)
[ERROR] at Function.Module.runMain (module.js:501:10)
[ERROR] at startup (node.js:129:16)
[ERROR] at node.js:814:3
[ERROR] npm ERR! Linux 4.15.0-99-generic
[ERROR] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
[ERROR] npm ERR! node v0.12.18
[ERROR] npm ERR! npm v2.15.11
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'.
[ERROR] npm ERR! This is most likely a problem with the qqmusicapi package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node ./bin/www
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs qqmusicapi
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR!
[ERROR] npm ERR! npm owner ls qqmusicapi
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /home/leanengine/app/npm-debug.log
[INFO] > qqmusicapi@0.0.0 start /home/leanengine/app
[INFO] > node ./bin/www
[ERROR] /home/leanengine/app/bin/www:93
[ERROR] console.log(Listening on \n http://localhost:${addr.port} \n http://127.0.0 [ERROR] ^ [ERROR] SyntaxError: Unexpected token ILLEGAL [ERROR] at exports.runInThisContext (vm.js:73:16) [ERROR] at Module._compile (module.js:443:25) [ERROR] at Object.Module._extensions..js (module.js:478:10) [ERROR] at Module.load (module.js:355:32) [ERROR] at Function.Module._load (module.js:310:12) [ERROR] at Function.Module.runMain (module.js:501:10) [ERROR] at startup (node.js:129:16) [ERROR] at node.js:814:3 [ERROR] npm ERR! Linux 4.15.0-99-generic [ERROR] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" [ERROR] npm ERR! node v0.12.18 [ERROR] npm ERR! npm v2.15.11 [ERROR] npm ERR! code ELIFECYCLE [ERROR] npm ERR! qqmusicapi@0.0.0 start: node ./bin/www`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the qqmusicapi@0.0.0 start script 'node ./bin/www'.
[ERROR] npm ERR! This is most likely a problem with the qqmusicapi package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! node ./bin/www
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs qqmusicapi
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR!
[ERROR] npm ERR! npm owner ls qqmusicapi
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /home/leanengine/app/npm-debug.log
[2020-07-14T09:05:09.730000000Z][system] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.1:58281),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2020-07-14T09:05:11.138000000Z][system] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.1:58281),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2020-07-14T09:05:11.141000000Z][system] 部署发生错误:发生了 1 个错误

@LynnGuo666
Copy link
Contributor Author

又炸了,好像是nodejs的锅

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

要在package.json指定版本,要不然我没办法改版本

@LynnGuo666
Copy link
Contributor Author

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020

是没有全局默认的node版本的嘛,他那边应该是加了个

"engines": {
    "node": ">=12"
}

@LynnGuo666
Copy link
Contributor Author

leancloud别的都挺好,就这个版本需要手动指定真的烦人,正在试着部署

@LynnGuo666
Copy link
Contributor Author

2分钟后就知道了

@LynnGuo666
Copy link
Contributor Author

[2020-07-14T09:14:24.238000000Z][system] 实例日志:[INFO] > qqmusicapi@0.0.0 start /home/leanengine/app
[INFO] > node ./bin/www
[INFO] Listening on
[INFO] http://localhost:3300
[INFO] http://127.0.0.1:3300
[INFO] 配置QQ号为:1234567
[2020-07-14T09:14:24.239000000Z][system] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.1:58286),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2020-07-14T09:14:25.650000000Z][system] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.1:58286),请确保程序在 30 秒内正确地启动了 HTTP 服务
[2020-07-14T09:14:25.654000000Z][system] 部署发生错误:发生了 1 个错误

@LynnGuo666
Copy link
Contributor Author

这里又炸了

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

应该是30秒内这个端口没检测到web页面

@LynnGuo666
Copy link
Contributor Author

看起来像是这样

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

检测的3380

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

不对,我打错了,是检测的3300

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@jsososo
Copy link
Owner

jsososo commented Jul 14, 2020 via email

@LynnGuo666
Copy link
Contributor Author

LynnGuo666 commented Jul 14, 2020 via email

@jsososo jsososo closed this as completed Aug 25, 2020
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