xenobytezero / editorjs-default-toolpack

0 stars 2 forks source link

Could not find package editorjs-default-toolpack #1

Open lenybernard opened 7 months ago

lenybernard commented 7 months ago

Hi,

As official plugin looks not maintained anymore and outdated, I try to use your @xenobytezero/strapi-plugin-react-editorjs fork but I've the error :

Failed to load Toolpack Could not find package editorjs-default-toolpack

I installed the plugin and this toolpack repo like this :

{
  "dependencies": {
    "@xenobytezero/editorjs-default-toolpack": "xenobytezero/editorjs-default-toolpack#main",
    "@xenobytezero/strapi-plugin-react-editorjs": "xenobytezero/strapi-plugin-react-editorjs#dev/custom",
  }
}

and try with many different config but I always have the same error (Could not find package <package name>)

//config/plugins.js
module.exports = ({ env }) => ({
  editorjs: {
    config: {
      toolpack: '@xenobytezero/editorjs-default-toolpack'
    }
  }
});

Thank you for your help.

xenobytezero commented 7 months ago

Hey there,

You might be better off installing the packages via your package manager of choice rather than pulling down the Git repos, the branches are in a state of flux usually. They aren't on npmjs, and are hosted here on Github Packages, so you will need to set that up