Closed
Description
Description
I cannot access the details of any of the NPM packages being published from my server from the web UI. Url: /mp3three/-/packages/npm/@steggy%2Fhome-assistant/22.33.13
The published docker container seems fine, currently all of my npm packages are giving 500 errors. I am able to interact with them just fine via yarn (install, upgrade, etc), and there are no issues deleting the packages from the site management screen. Every time that I load the page giving me the 500 error, I get this line in the logs:
...s/context/context.go:232:HTML() [E] [62f40b0b] Render failed: template: package/metadata/npm:5:27: executing "package/metadata/npm" at <.PackageDescriptor.Properties>: can't evaluate field Properties in type interface {}
This is an an example package.json
that was published with one of the packages:
{
"author": {
"name": "mp3three"
},
"name": "@steggy/home-assistant",
"displayName": "Home Assistant",
"license": "MIT",
"version": "22.33.13",
"scripts": {
"postinstall": "npx hass-type-generate"
},
"main": "./src/index.js",
"typings": "./src/index.d.ts",
"dependencies": {
// ...
},
"peerDependencies": {}
}
Gitea Version
gitea/gitea:latest docker image (1.17.0)
Can you reproduce the bug on the Gitea demo site?
- Still waiting on demo site email to sign up
Log Gist
No response
Screenshots
Git Version
No response
Operating System
Debian > Docker > Gitea
How are you running Gitea?
gitea/gitea:latest as of the time of opening this issue
Database
MySQL