You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to incorporate this package into my project, but I'm having trouble implementing it. I installed it with npm install zotero-plugin-toolkit, confirmed its version (zotero-plugin-toolkit@4.0.7), and imported it like below:
import{ZoteroToolkit}from"zotero-plugin-toolkit";
Now, when I try to build the package with the import statement, I'm met with a long list of type incompatibility error stack trace that involves both react and zotero-plugin-toolkit.
This issue disappears if the zotero-plugin-toolkit import statement is removed.
Would it be possible to get support on this?
My react version is 18.3.1.
The text was updated successfully, but these errors were encountered:
Errors like error TS2304: Cannot find name 'WeakRef'. might indicate that you are on a lower version of the TS server, or you have not configured it as expected. Could try:
Upgrade the TS server
Check the current TS server (workspace v.s. global, if you are using IDE like VSCode)
Check the current tsconfig of the project, e.g. compilerOptions > lib.
Hello,
I'd love to incorporate this package into my project, but I'm having trouble implementing it. I installed it with
npm install zotero-plugin-toolkit
, confirmed its version (zotero-plugin-toolkit@4.0.7
), and imported it like below:Now, when I try to build the package with the import statement, I'm met with a long list of type incompatibility error stack trace that involves both
react
andzotero-plugin-toolkit
.This issue disappears if the
zotero-plugin-toolkit
import statement is removed.Would it be possible to get support on this?
My react version is 18.3.1.
The text was updated successfully, but these errors were encountered: