Skip to content

Error: Invalid plugin github repository  #70

Description

@testdrivendavid

Hi.

Im trying to use the live-plugin-manager library to load my custom-made module(Typescript) from a public github repo during runtime. But it errors with the following:

/Users/david/WebstormProjects/send_help/node_modules/live-plugin-manager/dist/src/GithubRegistryClient.js:67
                throw new Error("Invalid plugin github repository " + repository);
                      ^

Error: Invalid plugin github repository dnhook123/modules#25c265c
    at GithubRegistryClient.<anonymous> (/Users/david/WebstormProjects/send_help/node_modules/live-plugin-manager/dist/src/GithubRegistryClient.js:67:23)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/david/WebstormProjects/send_help/node_modules/live-plugin-manager/dist/src/GithubRegistryClient.js:24:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
import {PluginManager} from 'live-plugin-manager';
const manager = new PluginManager();

const test = await manager.queryPackageFromGithub('dnhook123/modules#25c265c');

Index.js code

I've already found out that the github repo's like express.js works but mine do not. Do you know perhaps why?

My github error example: example error
The module i want to load in module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions