Cannot delete imported components with "Value must not be undefined or null" error

I’ve added a new page from “Dark SaaS landing page” template and then decided to delete it, including all imported components. But Plasmic Studio fails with an error:

C: Value must not be undefined or null- All site components should be mapped but plasmic- react-aria -button was not found

Steps to reproduce:

  1. Added a new page from “Dark SaaS landing page” template, this also adds a bunch of react-aria components.
  2. Delete page.
  3. Delete button component.
  4. Select “React Aria” in imported components and delete the entire folder.

Project link: Plasmic

Figured this out: need to go to imported projects and remove the imported project first – this removes all imported components too. Would be great if we can have a better error for this! :folded_hands:

Hi @ian_bytchek, sorry for the late reply. It’s good you were able to resolve this and it should definitely have a better error message. I’ll create a ticket and see if we can improve this at some point.

1 Like