Unexpected error when updating imported project

Getting an unexpected error after syncing the latest push from our main project.

Updating to the latest release produces this error. It stays in this “not being able to save” state indefinitely

Relevant links:

  • My sub-project: Plasmic
  • Main Project (from where I’m importing the project): Plasmic

Hey @henry_gillis,

We are working on a fix for this issue, sorry for the trouble. It should be up later today.

Hi @icaro_guerra thanks for having a look. I’m still getting the same error. Or are you still working on this?

Hey @henry_gillis, can you try hard refreshing the studio page and try again?

Hi @icaro_guerra I just tried refreshing and importing multiple times but always getting the same error. Steps to reproduce: click on little triangle, then I get the error and infinite “saving…” state


Also, when previewing the artboard in new window, I get this error message:

[host-app-error] Code component ‘SliderBase’ was not found in the current host app. Evaluating https://host.plasmicdev.com/static/comp__Y0K16U4svK Evaluating https://host.plasmicdev.com/static/render__OlpLYF1r2aADG9 Evaluating https://host.plasmicdev.com/static/comp__OlpLYF1r2aADG9 Evaluating https://host.plasmicdev.com/static/render__K7nQFNBlA48v Evaluating https://host.plasmicdev.com/static/comp__K7nQFNBlA48v.tsx Evaluating https://host.plasmicdev.com/static/script_Dcf030DetailseiteObjekt.tsx Loading ./script_Dcf030DetailseiteObjekt.tsx

Sorry about this @henry_gillis, I am looking into this again.

For this second error about SliderBase, this is caused because both projects are sharing a code component SliderBase but they don’t share the same host, meaning that one of the projects don’t have access to this code component.

Hey @henry_gillis,

Could you try upgrading again after refreshing the page?

Nice, the sync worked @icaro_guerra . Thanks for your help!

Another question regarding the synce:
Is it possible to sync a specific branch of a project, or only the main one?

It is possible. If you’re using codegen, you can do plasmic sync -p ID@branch_name

Is it possible in Plasmic, in this view for example?

Oh, it’s not currently possible in Plasmic