xizeyoupan / meting-api Goto Github PK
View Code? Open in Web Editor NEWThis project forked from metowolf/meting-api
🐳 Meting API 的容器化与部署
Home Page: https://meting-dd.2333332.xyz
This project forked from metowolf/meting-api
🐳 Meting API 的容器化与部署
Home Page: https://meting-dd.2333332.xyz
部署过程中执行如下单元测试时无法通过,返回500。
部署采用deno
commit:
https://github.com/1299172402/Meting-API/tree/328367e006d4b6f62c47a50536f3026dcff54511
workflow log:
https://github.com/1299172402/Meting-API/actions/runs/6026292626/job/16348884175
testing http://localhost:3000/api?server=ytmusic&type=playlist&id=RDCLAK5uy_l12ynH8dyLsBmE11ToAHLm9P04NS2i9ME
500
retrying 5
❯ test/providers.test.js (3 tests | 1 failed) 14068ms
❯ test/providers.test.js > test api
→ expected 500 to be less than 400
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL test/providers.test.js > test api
AssertionError: expected 500 to be less than 400
❯ test/providers.test.js:49:32
47| expect(res).toBeDefined()
48| expect(res.status).toBeGreaterThanOrEqual(200)
49| expect(res.status).toBeLessThan(400)
| ^
50| }
51|
- Expected "500"
+ Received "400"
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed (1)
Tests 1 failed | 2 passed (3)
Start at 14:33:21
Duration 14.86s (transform 245ms, setup 0ms, collect 377ms, tests 14.07s)
Error: Process completed with exit code 1.
大佬,请问一下,这个https应该怎么部署呢?我迁移到我网站上面去,http的访问不了,唉
使用/test访问,页面无法加载,下面是运行日志
Trace: TypeError: error sending request for url (http://c.y.qq.com/qzone/fcg-bin/fcg_ucc_getcdinfo_byids_cp.fcg?type=1&utf8=1&disstid=7326220405&loginUin=0&format=json): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async get_playlist (file:///app/dist/deno.js:2073:16)
at async Object.handle (file:///app/dist/deno.js:2142:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://yt-ra.2333332.xyz/api?server=ytmusic&type=song&id=G3s98l2-GXg): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async Object.handle3 [as handle] (file:///app/dist/deno.js:2503:14)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (http://u.y.qq.com/cgi-bin/musicu.fcg?data=%7B%22songinfo%22%3A%7B%22method%22%3A%22get_song_detail_yqq%22%2C%22module%22%3A%22music.pf_song_detail_svr%22%2C%22param%22%3A%7B%22song_mid%22%3A%22002Rnpvi058Qdm%22%7D%7D%7D): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async get_song_info (file:///app/dist/deno.js:2042:16)
at async Object.handle (file:///app/dist/deno.js:2139:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://yt-ra.2333332.xyz/api?server=ytmusic&type=playlist&id=RDCLAK5uy_l12ynH8dyLsBmE11ToAHLm9P04NS2i9ME): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async Object.handle3 [as handle] (file:///app/dist/deno.js:2503:14)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://music.163.com/api/v6/playlist/detail): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async request (file:///app/dist/deno.js:2353:11)
at async get_playlist2 (file:///app/dist/deno.js:2383:13)
at async Object.handle2 [as handle] (file:///app/dist/deno.js:2483:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://music.163.com/weapi/v3/song/detail): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async request (file:///app/dist/deno.js:2353:11)
at async get_song_info2 (file:///app/dist/deno.js:2429:13)
at async Object.handle2 [as handle] (file:///app/dist/deno.js:2480:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (http://c.y.qq.com/qzone/fcg-bin/fcg_ucc_getcdinfo_byids_cp.fcg?type=1&utf8=1&disstid=7326220405&loginUin=0&format=json): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async get_playlist (file:///app/dist/deno.js:2073:16)
at async Object.handle (file:///app/dist/deno.js:2142:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://yt-ra.2333332.xyz/api?server=ytmusic&type=song&id=G3s98l2-GXg): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async Object.handle3 [as handle] (file:///app/dist/deno.js:2503:14)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
Trace: TypeError: error sending request for url (http://u.y.qq.com/cgi-bin/musicu.fcg?data=%7B%22songinfo%22%3A%7B%22method%22%3A%22get_song_detail_yqq%22%2C%22module%22%3A%22music.pf_song_detail_svr%22%2C%22param%22%3A%7B%22song_mid%22%3A%22002Rnpvi058Qdm%22%7D%7D%7D): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async get_song_info (file:///app/dist/deno.js:2042:16)
at async Object.handle (file:///app/dist/deno.js:2139:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://yt-ra.2333332.xyz/api?server=ytmusic&type=playlist&id=RDCLAK5uy_l12ynH8dyLsBmE11ToAHLm9P04NS2i9ME): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async Object.handle3 [as handle] (file:///app/dist/deno.js:2503:14)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://music.163.com/weapi/v3/song/detail): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async request (file:///app/dist/deno.js:2353:11)
at async get_song_info2 (file:///app/dist/deno.js:2429:13)
at async Object.handle2 [as handle] (file:///app/dist/deno.js:2480:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
Trace: TypeError: error sending request for url (https://music.163.com/api/v6/playlist/detail): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
at async mainFetch (deno:ext/fetch/26_fetch.js:267:14)
at async fetch (deno:ext/fetch/26_fetch.js:491:9)
at async request (file:///app/dist/deno.js:2353:11)
at async get_playlist2 (file:///app/dist/deno.js:2383:13)
at async Object.handle2 [as handle] (file:///app/dist/deno.js:2483:16)
at async api_default (file:///app/dist/deno.js:2572:14)
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3754:15)
at file:///app/dist/deno.js:2930:27
at async file:///app/dist/deno.js:3942:5
at async file:///app/dist/deno.js:3986:7
at async file:///app/dist/deno.js:3888:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api 500 20s
<meting-js server="netease" type="playlist" id="7041830767" fixed="true" autoplay="true" loop="all" order="list"
preload="auto" list-folded="ture" list-max-height="500px" lrc-type="1">
</meting-js>
自动播放功能似乎失效了
[root@iZ2vcb2izu72doudn51a2vZ meeting-api]# deno run --allow-net --allow-env /www/server/meeting-api/deno.js
error: Uncaught (in promise) TypeError: that.write is not a function
var actual = that.write(string, encoding);
^
at fromString2 (file:///www/server/meeting-api/deno.js:2136:21)
at from2 (file:///www/server/meeting-api/deno.js:2096:12)
at Function.Buffer3.from (file:///www/server/meeting-api/deno.js:2768:14)
at file:///www/server/meeting-api/deno.js:35914:36
at Array.forEach ()
at node_modules/browserify-sign/browser/index.js (file:///www/server/meeting-api/deno.js:35913:29)
at __require (file:///www/server/meeting-api/deno.js:11:50)
at node_modules/crypto-browserify/index.js (file:///www/server/meeting-api/deno.js:42229:16)
at __require (file:///www/server/meeting-api/deno.js:11:50)
at file:///www/server/meeting-api/deno.js:44534:41
主站已经备案了,meting作为二级域名主站,需要在其底部放备案号吗,如何放呢。
访问网址 会出现内部错误,可能与playlist的长度过长有关
作者你好,我有时可能需要使用 HEAD 方法只获取响应头而不获取文件内容,但响应的状态码是 404,例如:https://meting-ve.2333332.xyz/api?server=netease&type=url&id=1390417840
我是通过点击 README 文档中给出的 [Vercel 部署按钮](https://vercel.com/import/project?template=https://github.com/xizeyoupan/Meting-API),然后直接创建的。我刚才又尝试部署了一个,以下是访问 https://meting-api2.vercel.app/api 的报错信息:
Originally posted by @aoemon in #19 (comment)
Trace: TypeError: Cannot read properties of undefined (reading 'trackIds')
at get_playlist2 (file:///app/dist/deno.js:2393:31)
at async Object.handle2 [as handle] (file:///app/dist/deno.js:2493:16)
at async api_default (file:///app/dist/deno.js:2581:14)
at async file:///app/dist/deno.js:3952:5
at async file:///app/dist/deno.js:3996:7
at async file:///app/dist/deno.js:3898:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
at Hono.errorHandler (file:///app/dist/deno.js:3764:15)
at file:///app/dist/deno.js:2940:27
at async file:///app/dist/deno.js:3952:5
at async file:///app/dist/deno.js:3996:7
at async file:///app/dist/deno.js:3898:50
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
--> GET /api �[31m500�[0m 138ms
/test 是没问题的,不知道这是出了什么问题
https://meting-ve.2333332.xyz/api?server=netease&type=playlist&id=8712019924&r=0.004259443209829461
以上歌单只有一首歌曲,但存在一定概率意外获取到其他歌曲,返回的异常歌单数据大概在 10 首左右。
可以访问该链接,它会每隔 1 秒请求一次 https://meting-ve.2333332.xyz/api?server=netease&type=playlist&id=8712019924&r=0.004259443209829461 直到获取到的歌单歌曲数量大于 1 才会返回歌单数据,平均大概等待 10 秒左右会返回异常歌单数据。
经过多次尝试,我发现官方的服务似乎没有这个问题:https://api.i-meto.com/meting/api?server=netease&type=playlist&id=8712019924&r=0.004259443209829461
1,使用docker部署后如何将配置改为qq音乐呢我用的宝塔进入容器后如何修改找那个文件
2,想要使用api就复制api地址吗
3,不绑定域名直接ip+端口可以吗
谢谢解答,万分感谢。谢谢
想请问能支持spotify吗
root@miuzkle-nas-debian:/home/miuzkle/project/hexo_blog/source/self/meting-api# npm i
npm run build:all
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
added 158 packages, and audited 159 packages in 18s
35 packages are looking for funding
run npm fund
for details
5 vulnerabilities (2 moderate, 3 high)
To address all issues, run:
npm audit fix
Run npm audit
for details.
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.5.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.0
npm notice Run npm install -g [email protected] to update!
npm notice
[email protected] build:all
node esbuild.config.js
root@miuzkle-nas-debian:/home/miuzkle/project/hexo_blog/source/self/meting-api# ls
Dockerfile api assets dist node.js package-lock.json scripts test
README.md app.js deno.js esbuild.config.js node_modules package.json src vercel.json
root@miuzkle-nas-debian:/home/miuzkle/project/hexo_blog/source/self/meting-api# node node.js
Trace: TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.getAll (node:internal/url:527:13)
at Proxy. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1034:44)
at Proxy.get (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1067:23)
at HonoRequest.header (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/request.js:50:31)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/middleware/cors/index.js:26:47
at dispatch (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:24:17)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:7:12
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:237:21
at Hono.dispatch (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:248:7)
at Hono.fetch (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:39:19) {
code: 'ERR_INVALID_THIS'
}
at errorHandler (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:19:11)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:58:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:238:62
at async Server. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/server.js:48:20)
Trace: TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.has (node:internal/url:546:13)
at Proxy. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1034:44)
at new Response (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1227:33)
at new NodeResponse (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/fetch.js:24:1)
at Context.newResponse (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/context.js:106:14)
at Context.text (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/context.js:124:45)
at errorHandler (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:21:12)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:58:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:238:62 {
code: 'ERR_INVALID_THIS'
}
at Hono.errorHandler (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:19:11)
at Hono.handleError (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:185:19)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:246:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Server. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/server.js:48:20)
node:internal/url:527
throw new ERR_INVALID_THIS('URLSearchParams');
^
TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.getAll (node:internal/url:527:13)
at Proxy. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1034:44)
at Proxy.get (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1067:23)
at Server. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/server.js:53:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_INVALID_THIS'
}
Node.js v20.11.1
root@miuzkle-nas-debian:/home/miuzkle/project/hexo_blog/source/self/meting-api# node node.js
Trace: TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.getAll (node:internal/url:527:13)
at Proxy. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1034:44)
at Proxy.get (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1067:23)
at HonoRequest.header (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/request.js:50:31)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/middleware/cors/index.js:26:47
at dispatch (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:24:17)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:7:12
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:237:21
at Hono.dispatch (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:248:7)
at Hono.fetch (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:39:19) {
code: 'ERR_INVALID_THIS'
}
at errorHandler (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:19:11)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:58:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:238:62
at async Server. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/server.js:48:20)
Trace: TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.has (node:internal/url:546:13)
at Proxy. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1034:44)
at new Response (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1227:33)
at new NodeResponse (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/fetch.js:24:1)
at Context.newResponse (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/context.js:106:14)
at Context.text (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/context.js:124:45)
at errorHandler (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:21:12)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/compose.js:58:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:238:62 {
code: 'ERR_INVALID_THIS'
}
at Hono.errorHandler (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:19:11)
at Hono.handleError (file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:185:19)
at file:///home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/hono/dist/hono-base.js:246:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Server. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/server.js:48:20)
node:internal/url:527
throw new ERR_INVALID_THIS('URLSearchParams');
^
TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.getAll (node:internal/url:527:13)
at Proxy. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1034:44)
at Proxy.get (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@remix-run/web-fetch/dist/lib.node.cjs:1067:23)
at Server. (/home/miuzkle/project/hexo_blog/source/self/meting-api/node_modules/@hono/node-server/dist/server.js:53:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_INVALID_THIS'
}
Node.js v20.11.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.