2024-04-06, 07:03 PM
I was looking at potentially contributing to Jellyfin in the near future but I ran into issues getting a local serve spun up. Whenever I navigate to the homepage of my server I get uncaught runtime errors and from the console I get the stack trace below (note I removed any potential PII, but marked places where I removed such things). None of my libraries appear either which makes it pretty hard to see the changes I make. I know testing for 10.9 is well underway, so is this a bug or some additional feature coming in 10.9 I am not aware of?
Code:
{
"stack": "AxiosError@webpack-internal:///../node_modules/axios/lib/core/AxiosError.js:38:18\nsettle@webpack-internal:///../node_modules/axios/lib/core/settle.js:24:12\nonloadend@webpack-internal:///../node_modules/axios/lib/adapters/xhr.js:159:67\n",
"message": "Request failed with status code 404",
"name": "AxiosError",
"code": "ERR_BAD_REQUEST",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": null,
"Authorization": "MediaBrowser Client=\"Jellyfin%20Web\", Device=\"Firefox\", DeviceId=\"<my-device-id>\", Version=\"10.9.0\", Token=\"<token-here>\""
},
"method": "get",
"signal": {},
"url": "<localHost IP>/UserViews?userId=<my-user-id>"
},
"request": {},
"response": {
"data": "",
"status": 404,
"statusText": "Not Found",
"headers": {
"content-length": "0"
},
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": null,
"Authorization": "MediaBrowser Client=\"Jellyfin%20Web\", Device=\"Firefox\", DeviceId=\"<device-id-here>\", Version=\"10.9.0\", Token=\"<token-here>\""
},
"method": "get",
"signal": {},
"url": "<localHost IP>/UserViews?userId=<user-id-here>"
},
"request": {}
}
}