API版本: <运行的云音乐 API 的版本号, 对应 package.json 里面的 version>
4.11.1
出现问题
<请清晰描述出现的问题,不要使用xxx不行之类的模糊不清的语句,我没有读心术>
按照教程部署到vercel后,访问出现500错误
这是日志,应该是一个只读问题导致的(日志堆在一起了)
Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: EROFS: read-only file system, open '/var/task/anonymous_token'","reason":{"errorType":"Error","errorMessage":"EROFS: read-only file system, open '/var/task/anonymous_token'","code":"EROFS","errno":-30,"syscall":"open","path":"/var/task/anonymous_token","stack":["Error: EROFS: read-only file system, open '/var/task/anonymous_token'"," at Object.openSync (node:fs:590:3)"," at Object.writeFileSync (node:fs:2202:35)"," at start (/var/task/app.js:8:8)"," at Object.<anonymous> (/var/task/app.js:16:1)"," at Module._compile (node:internal/modules/cjs/loader:1198:14)"," at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)"," at Module.load (node:internal/modules/cjs/loader:1076:32)"," at Function.Module._load (node:internal/modules/cjs/loader:911:12)"," at Module.require (node:internal/modules/cjs/loader:1100:19)"," at Module.Hook._require.Module.require (/var/task/___vc/__launcher.js:2160:44)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: EROFS: read-only file system, open '/var/task/anonymous_token'"," at process.<anonymous> (file:///var/runtime/index.mjs:1250:17)"," at process.emit (node:events:525:35)"," at emit (node:internal/process/promises:140:20)"," at processPromiseRejections (node:internal/process/promises:274:27)"," at processTicksAndRejections (node:internal/process/task_queues:97:32)"]}
Unknown application error occurred
Runtime.Unknown
在部署时看见了两个警告,不清楚是不是与此有关
WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
--
07:47:50.677 | > Installing Builder: @vercel/node@2.5.10
07:47:54.637 | Warning: Detected "engines": { "node": ">=12" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
这个错误似乎和https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1795异常的相似
环境
出现问题
<请清晰描述出现的问题,不要使用xxx不行之类的模糊不清的语句,我没有读心术>
按照教程部署到vercel后,访问出现500错误
这是日志,应该是一个只读问题导致的(日志堆在一起了)
在部署时看见了两个警告,不清楚是不是与此有关
重现步骤
<请清晰描述重现步骤,调用的接口链接和参数以及命令行错误信息,最好贴上截图(命令行错误信息和接口返回内容)>
期待效果
<请清晰描述现在的效果和期待的效果>