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

Illegal Logseq plugin package.what's wrong? #140

Open
20130216 opened this issue Sep 5, 2024 · 1 comment
Open

Illegal Logseq plugin package.what's wrong? #140

20130216 opened this issue Sep 5, 2024 · 1 comment

Comments

@20130216
Copy link

20130216 commented Sep 5, 2024

I followed your instructions exactly:

First run npm i and npm run build

In logseq load the plugin folder dist from the package.json file above using the npm run build command,

Install the plugin for local logseq by loading the dist folder.

The following error alerts occur:

instrument.js:191 ERROR: [PluginLocal][19:46:11] loadParse package config error #/Users/wingzheng/Desktop/github/logseq-zotero/logseq-plugin-gpt3-openai/dist/package.json IllegalPluginPackageError: Parse package config error #/Users/wingzheng/Desktop/github/logseq-zotero/logseq-plugin-gpt3-openai/dist/package.json
at br._preparePackageConfigs (file:///Applications/Logseq.app/Contents/Resources/app/js/lsplugin.core.js:2:94927)
at async br.load (file:///Applications/Logseq.app/Contents/Resources/app/js/lsplugin.core.js:2:98913)
at async vr.register (file:///Applications/Logseq.app/Contents/Resources/app/js/lsplugin.core.js:2:103590)
at async vr.register (file:///Applications/Logseq.app/Contents/Resources/app/js/lsplugin.core.js:2:102645)

Also remind:

Illegal Logseq plugin package.

What went wrong after a day of incomprehension?

@briansunter
Copy link
Owner

I updated the instructions to use pnpm, could you try that?

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

No branches or pull requests

2 participants