Closed oDinZu closed 2 years ago
I removed all product data and still received the same error.
I do grep -rnw . -e 'plugin::strapi-stripe.strapi-stripe-product'
I get:
./src/api/tag/content-types/tag/schema.json:39: "target": "plugin::strapi-stripe.strapi-stripe-product",
I discover this even after plugin is removed:
note, i removed the plugin and product from Strapi; I thought maybe the product image was still in database somehow, so I deleted it also from Strapi.
"strapi_stripe_product": {
"type": "relation",
"relation": "manyToOne",
"target": "plugin::strapi-stripe.strapi-stripe-product",
"inversedBy": "tags"
}
Removing that code allowed me to start my server without strapi-stripe :hankey: . I will create my own plugin.
I think this needs to be raised with the plugin https://github.com/manishkatyan/strapi-stripe
Looks like its not cleaning up on removal,
But would say it's more the plugin then been a strapi issue 😊
strapi-stripe@2.4.1
On uninstalling this plugin, I received an error on
yarn develop
after yarn install and yarn build. I add the plugin back and error goes away.Error: Error on attribute strapi_stripe_product in model tag(api::tag.tag): Unknown target plugin::strapi-stripe.strapi-stripe-product
at Function.Database.init (/home/name/nodes/strapi/dashboard/node_modules/@strapi/database/lib/index.js:77:33) this plugin doesn't remove the database tables or am I missing something?