miru-project/miru-app
Voir sur GitHubExtension import: type 'Null' is not a subtype of type 'String' in type cast (@license)
Open
#307 ouverte le 21 nov. 2024
help wanted
Métriques du dépôt
- Stars
- (5 505 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Brief summary
I'm following the "getting started" guide to write my own extension: https://miru.js.org/en/developer/2-extension/
When doing that, I get an error when importing the extension:
type 'Null' is not a subtype of type 'String' in type cast
Steps to reproduce
- Create extension.js file
- Add meta data as described on https://miru.js.org/en/developer/2-extension/#write-metadata
- Import extension
- Get error
It fails when loading the "license" meta tag. This is missing from the documentation.
Miru version
v1.8.1-22-g8599d0d
Device
Debian Linux
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
- If this is an issue with a extension, I should be opening an issue in the extension repository.