jsososo / QQMusicApi

基于 Express + Axios 的 QQ音乐接口 nodejs 版
https://api.qq.jsososo.com
GNU General Public License v3.0
1.33k stars 378 forks source link

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

Closed LynnGuo666 closed 3 years ago

LynnGuo666 commented 3 years ago

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 commented 3 years ago

用了数据库嘛?看起来好像是文字编码问题

在 2020年7月14日,下午1:07,lynnguo666 notifications@github.com 写道:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP7TK4A6B5ZK7A2IQ3TR3PR23ANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

没用数据库,像是Github上面的更新内容不好解码导致的

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 中午1:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

用了数据库嘛?看起来好像是文字编码问题

> 在 2020年7月14日,下午1:07,lynnguo666 <notifications@github.com> 写道: > > > 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 > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP7TK4A6B5ZK7A2IQ3TR3PR23ANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

LynnGuo666 commented 3 years ago

我觉得应该把更新内容的表情去掉,应该就没问题了

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 中午1:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

用了数据库嘛?看起来好像是文字编码问题

> 在 2020年7月14日,下午1:07,lynnguo666 <notifications@github.com> 写道: > > > 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 > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP7TK4A6B5ZK7A2IQ3TR3PR23ANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jsososo commented 3 years ago

那完了,都深深的刻在git记录里了 😂

在 2020年7月14日,下午4:47,lynnguo666 notifications@github.com 写道:

我觉得应该把更新内容的表情去掉,应该就没问题了

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 中午1:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

用了数据库嘛?看起来好像是文字编码问题

> 在 2020年7月14日,下午1:07,lynnguo666 <notifications@github.com> 写道: > > > 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 > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP7TK4A6B5ZK7A2IQ3TR3PR23ANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658056140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP6K6OWTKCQAZLPKX5DR3QLQ5ANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

实际上改最后一版就可以

jsososo commented 3 years ago

害,我每次都是嫌git 太慢,改了直接 ftp 拖过去的

在 2020年7月14日,下午4:59,lynnguo666 notifications@github.com 写道:

实际上改最后一版就可以

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658062259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP65XE4AV6TGZBW3N7LR3QM7LANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

[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 commented 3 years ago

又炸了,好像是nodejs的锅

jsososo commented 3 years ago

Node 要高一点版本,因为有很多es6写法,太低了不支持的,10+吧

在 2020年7月14日,下午5:06,lynnguo666 notifications@github.com 写道:

又炸了,好像是nodejs的锅

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658065669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP6AR5YS3RWKBMP2CELR3QNZBANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

我看一下https://github.com/Binaryify/NeteaseCloudMusicApi/blob/master/package.json这个怎么指定的

jsososo commented 3 years ago

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

"engines": {
    "node": ">=12"
}
LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

2分钟后就知道了

LynnGuo666 commented 3 years ago

[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 commented 3 years ago

这里又炸了

jsososo commented 3 years ago

有点没太明白,看上去是启动服务的时候是正常的,但是后面是被认为没有启动的样子

在 2020年7月14日,下午5:15,lynnguo666 notifications@github.com 写道:

无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.101.13.1:58286)

LynnGuo666 commented 3 years ago

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

LynnGuo666 commented 3 years ago

看起来像是这样

jsososo commented 3 years ago

他检测的端口是 3300 嘛,还是检测到 58286 去了

在 2020年7月14日,下午5:20,lynnguo666 notifications@github.com 写道:

看起来像是这样

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658072913, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP3QXDXEPI6T4ZX5P23R3QPOPANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

检测的3380

jsososo commented 3 years ago

你启动的是在 3300 呀,要去 bin/config 里改下

在 2020年7月14日,下午5:23,lynnguo666 notifications@github.com 写道:

检测的3380

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658074204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP4E37GLVRVAHLE2HIDR3QPYLANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

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

jsososo commented 3 years ago

Emmmm,这就奇怪了那正常来说应该没问题的

在 2020年7月14日,下午5:26,lynnguo666 notifications@github.com 写道:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

修好了,把端口改成3000

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmmm,这就奇怪了那正常来说应该没问题的

> 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com> 写道: > > > 不对,我打错了,是检测的3300 > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jsososo commented 3 years ago

那不会和网易云的那个撞了嘛 = =

在 2020年7月14日,下午5:36,lynnguo666 notifications@github.com 写道:

修好了,把端口改成3000

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmmm,这就奇怪了那正常来说应该没问题的

> 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com> 写道: > > > 不对,我打错了,是检测的3300 > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658080418, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP3NAUDY5L7VRTBZJODR3QRLHANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

然后使用接口报错 Cannot find module 'axios' Require stack: - /home/leanengine/app/util/request.js - /home/leanengine/app/routes/search.js - /home/leanengine/app/app.js - /home/leanengine/app/bin/www

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmmm,这就奇怪了那正常来说应该没问题的

> 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com> 写道: > > > 不对,我打错了,是检测的3300 > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

LynnGuo666 commented 3 years ago

不写3000打不开啊(好像不是同个服务器)

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:38 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

那不会和网易云的那个撞了嘛 = =

> 在 2020年7月14日,下午5:36,lynnguo666 <notifications@github.com> 写道: > > > 修好了,把端口改成3000 > > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "jsososo"<notifications@github.com&gt;; > 发送时间: 2020年7月14日(星期二) 下午5:34 > 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&gt;; > 抄送: "Baobob_Lynn"<2475274997@qq.com&gt;; "Author"<author@noreply.github.com&gt;; > 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &#39;\xF0\x9F\x8D\x91 \xE8...&#39; for column &#39;comment&#39; at row 1 (#49) > > > > > > Emmmm,这就奇怪了那正常来说应该没问题的 > > &gt; 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com&gt; 写道: > &gt; > &gt; > &gt; 不对,我打错了,是检测的3300 > &gt; > &gt; — > &gt; You are receiving this because you commented. > &gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;amp;amp;gt;. > &gt; > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658080418&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP3NAUDY5L7VRTBZJODR3QRLHANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jsososo commented 3 years ago

Emmm, 那应该是依赖并没有装好呀

在 2020年7月14日,下午5:38,lynnguo666 notifications@github.com 写道:

然后使用接口报错 Cannot find module 'axios' Require stack: - /home/leanengine/app/util/request.js - /home/leanengine/app/routes/search.js - /home/leanengine/app/app.js - /home/leanengine/app/bin/www

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:34 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmmm,这就奇怪了那正常来说应该没问题的

> 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com> 写道: > > > 不对,我打错了,是检测的3300 > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658081237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP2FFO67ZNKBSU6AV3DR3QRRZANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

leancloud上面不像是同个服务器

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:38 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

那不会和网易云的那个撞了嘛 = =

> 在 2020年7月14日,下午5:36,lynnguo666 <notifications@github.com> 写道: > > > 修好了,把端口改成3000 > > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "jsososo"<notifications@github.com&gt;; > 发送时间: 2020年7月14日(星期二) 下午5:34 > 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&gt;; > 抄送: "Baobob_Lynn"<2475274997@qq.com&gt;; "Author"<author@noreply.github.com&gt;; > 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &#39;\xF0\x9F\x8D\x91 \xE8...&#39; for column &#39;comment&#39; at row 1 (#49) > > > > > > Emmmm,这就奇怪了那正常来说应该没问题的 > > &gt; 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com&gt; 写道: > &gt; > &gt; > &gt; 不对,我打错了,是检测的3300 > &gt; > &gt; — > &gt; You are receiving this because you commented. > &gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;amp;amp;gt;. > &gt; > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658080418&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP3NAUDY5L7VRTBZJODR3QRLHANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

LynnGuo666 commented 3 years ago

我看看是不是有什么没指定版本导致炸的

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:40 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmm, 那应该是依赖并没有装好呀

> 在 2020年7月14日,下午5:38,lynnguo666 <notifications@github.com> 写道: > > > 然后使用接口报错 > Cannot find module 'axios' Require stack: - /home/leanengine/app/util/request.js - /home/leanengine/app/routes/search.js - /home/leanengine/app/app.js - /home/leanengine/app/bin/www > > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "jsososo"<notifications@github.com&gt;; > 发送时间: 2020年7月14日(星期二) 下午5:34 > 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&gt;; > 抄送: "Baobob_Lynn"<2475274997@qq.com&gt;; "Author"<author@noreply.github.com&gt;; > 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &#39;\xF0\x9F\x8D\x91 \xE8...&#39; for column &#39;comment&#39; at row 1 (#49) > > > > > > Emmmm,这就奇怪了那正常来说应该没问题的 > > &gt; 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com&gt; 写道: > &gt; > &gt; > &gt; 不对,我打错了,是检测的3300 > &gt; > &gt; — > &gt; You are receiving this because you commented. > &gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;amp;amp;gt;. > &gt; > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658081237&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP2FFO67ZNKBSU6AV3DR3QRRZANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

LynnGuo666 commented 3 years ago

害,看日志发现{"result":400,"errMsg":"自己起一个 node 服务 这么难???"}

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:40 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmm, 那应该是依赖并没有装好呀

> 在 2020年7月14日,下午5:38,lynnguo666 <notifications@github.com> 写道: > > > 然后使用接口报错 > Cannot find module 'axios' Require stack: - /home/leanengine/app/util/request.js - /home/leanengine/app/routes/search.js - /home/leanengine/app/app.js - /home/leanengine/app/bin/www > > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "jsososo"<notifications@github.com&gt;; > 发送时间: 2020年7月14日(星期二) 下午5:34 > 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&gt;; > 抄送: "Baobob_Lynn"<2475274997@qq.com&gt;; "Author"<author@noreply.github.com&gt;; > 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &#39;\xF0\x9F\x8D\x91 \xE8...&#39; for column &#39;comment&#39; at row 1 (#49) > > > > > > Emmmm,这就奇怪了那正常来说应该没问题的 > > &gt; 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com&gt; 写道: > &gt; > &gt; > &gt; 不对,我打错了,是检测的3300 > &gt; > &gt; — > &gt; You are receiving this because you commented. > &gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;amp;amp;gt;. > &gt; > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658081237&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP2FFO67ZNKBSU6AV3DR3QRRZANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jsososo commented 3 years ago

哈哈哈哈哈哈哈哈哈,把检测的那个给拦截了,把app.js 里和 dataHandle 有关的全删了吧

在 2020年7月14日,下午5:43,lynnguo666 notifications@github.com 写道:

害,看日志发现{"result":400,"errMsg":"自己起一个 node 服务 这么难???"}

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:40 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

Emmm, 那应该是依赖并没有装好呀

> 在 2020年7月14日,下午5:38,lynnguo666 <notifications@github.com> 写道: > > > 然后使用接口报错 > Cannot find module 'axios' Require stack: - /home/leanengine/app/util/request.js - /home/leanengine/app/routes/search.js - /home/leanengine/app/app.js - /home/leanengine/app/bin/www > > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "jsososo"<notifications@github.com&gt;; > 发送时间: 2020年7月14日(星期二) 下午5:34 > 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&gt;; > 抄送: "Baobob_Lynn"<2475274997@qq.com&gt;; "Author"<author@noreply.github.com&gt;; > 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &#39;\xF0\x9F\x8D\x91 \xE8...&#39; for column &#39;comment&#39; at row 1 (#49) > > > > > > Emmmm,这就奇怪了那正常来说应该没问题的 > > &gt; 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com&gt; 写道: > &gt; > &gt; > &gt; 不对,我打错了,是检测的3300 > &gt; > &gt; — > &gt; You are receiving this because you commented. > &gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;amp;amp;gt;. > &gt; > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658081237&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP2FFO67ZNKBSU6AV3DR3QRRZANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658083495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP4IHU6CVZCP44P3KFLR3QSEZANCNFSM4OZESUKQ.

LynnGuo666 commented 3 years ago

好像是没指定axios版本的原因

------------------ 原始邮件 ------------------ 发件人: "jsososo"<notifications@github.com>; 发送时间: 2020年7月14日(星期二) 下午5:45 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com>; 抄送: "Baobob_Lynn"<2475274997@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xF0\x9F\x8D\x91 \xE8...' for column 'comment' at row 1 (#49)

哈哈哈哈哈哈哈哈哈,把检测的那个给拦截了,把app.js 里和 dataHandle 有关的全删了吧

> 在 2020年7月14日,下午5:43,lynnguo666 <notifications@github.com> 写道: > > > 害,看日志发现{"result":400,"errMsg":"自己起一个 node 服务 这么难???"} > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "jsososo"<notifications@github.com&gt;; > 发送时间: 2020年7月14日(星期二) 下午5:40 > 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&gt;; > 抄送: "Baobob_Lynn"<2475274997@qq.com&gt;; "Author"<author@noreply.github.com&gt;; > 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &#39;\xF0\x9F\x8D\x91 \xE8...&#39; for column &#39;comment&#39; at row 1 (#49) > > > > > > Emmm, 那应该是依赖并没有装好呀 > > &gt; 在 2020年7月14日,下午5:38,lynnguo666 <notifications@github.com&gt; 写道: > &gt; > &gt; > &gt; 然后使用接口报错 > &gt; Cannot find module 'axios' Require stack: - /home/leanengine/app/util/request.js - /home/leanengine/app/routes/search.js - /home/leanengine/app/app.js - /home/leanengine/app/bin/www > &gt; > &gt; > &gt; > &gt; > &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------ > &gt; 发件人: "jsososo"<notifications@github.com&amp;gt;; > &gt; 发送时间: 2020年7月14日(星期二) 下午5:34 > &gt; 收件人: "jsososo/QQMusicApi"<QQMusicApi@noreply.github.com&amp;gt;; > &gt; 抄送: "Baobob_Lynn"<2475274997@qq.com&amp;gt;; "Author"<author@noreply.github.com&amp;gt;; > &gt; 主题: Re: [jsososo/QQMusicApi] 部署在服务器上提示ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: &amp;#39;\xF0\x9F\x8D\x91 \xE8...&amp;#39; for column &amp;#39;comment&amp;#39; at row 1 (#49) > &gt; > &gt; > &gt; > &gt; > &gt; > &gt; Emmmm,这就奇怪了那正常来说应该没问题的 > &gt; > &gt; &amp;gt; 在 2020年7月14日,下午5:26,lynnguo666 <notifications@github.com&amp;gt; 写道: > &gt; &amp;gt; > &gt; &amp;gt; > &gt; &amp;gt; 不对,我打错了,是检测的3300 > &gt; &amp;gt; > &gt; &amp;gt; — > &gt; &amp;gt; You are receiving this because you commented. > &gt; &amp;gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank"&gt;https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658075442&amp;amp;amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank"&gt;https://github.com/notifications/unsubscribe-auth/AGFNGPZRPYYSS6FBLK5XLODR3QQDHANCNFSM4OZESUKQ&amp;amp;amp;amp;amp;gt;. > &gt; &amp;gt; > &gt; > &gt; > &gt; — > &gt; You are receiving this because you authored the thread. > &gt; Reply to this email directly, view it on GitHub, or unsubscribe. > &gt; — > &gt; You are receiving this because you commented. > &gt; Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658081237&amp;amp;amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP2FFO67ZNKBSU6AV3DR3QRRZANCNFSM4OZESUKQ&amp;amp;amp;gt;. > &gt; > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <" rel="noopener" target="_blank">https://github.com/jsososo/QQMusicApi/issues/49#issuecomment-658083495&amp;gt;, or unsubscribe <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AGFNGP4IHU6CVZCP44P3KFLR3QSEZANCNFSM4OZESUKQ&amp;gt;. >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.