Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: TypeError: Cannot convert undefined or null to object #160

Closed
TobiasKrais opened this issue Mar 29, 2023 · 2 comments · May be fixed by #162
Closed

Error: TypeError: Cannot convert undefined or null to object #160

TobiasKrais opened this issue Mar 29, 2023 · 2 comments · May be fixed by #162

Comments

@TobiasKrais
Copy link
Member

TobiasKrais commented Mar 29, 2023

Wenn ich die aktuelle Installer Action (1.1) verwenden möchte, erhalte ich für das Addon MultiNewsletter folgenden Fehler:

Run FriendsOfREDAXO/installer-action@v1
  with:
    myredaxo-username: ***
    myredaxo-api-key: ***
    description: - Installer Action aktualisiert.
    version: 3.5.1
    cwd: .
Parsing yaml from package.yml
Fetch package.yml from redaxo.org for addon multinewsletter
Using login: ***
Error: TypeError: Cannot convert undefined or null to object
/home/runner/work/_actions/FriendsOfREDAXO/installer-action/v1/dist/index.js:36212
    return Object.values(packageYml.files).some(file => file.version === version);
                  ^

TypeError: Cannot convert undefined or null to object
    at Function.values (<anonymous>)
    at versionExists (/home/runner/work/_actions/FriendsOfREDAXO/installer-action/v1/dist/index.js:36212:19)
    at /home/runner/work/_actions/FriendsOfREDAXO/installer-action/v1/dist/index.js:36104:42
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

In Version 1.0.6 hat noch alles funktioniert.

@alxndr-w
Copy link
Member

@TobiasKrais ist das Problem für dich noch aktuell? Bei mir nicht. Falls doch, mach einfach wieder auf.

@alxndr-w alxndr-w closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants