logseq-plugin-gpt3-openai icon indicating copy to clipboard operation
logseq-plugin-gpt3-openai copied to clipboard

Illegal Logseq plugin package.what's wrong?

Open 20130216 opened this issue 5 months ago • 1 comments

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?

20130216 avatar Sep 05 '24 12:09 20130216