Import Error (Help Needed): After Plasmic Sync

I made changes to some components on my Plasmic app, and after that the right next step for me was to run a plasmic sync.

The plasmic sync process:

  1. I was asked to upgrade this package which i selected “yes” for

  2. The react-web package got update and i was asked to upgrade the following packages (to which I accepted yes to):

  • react-aria
  • antd
  • plasmic-embed-css
  • plasmic-basic-components
  • lottie-react
  • loading-boundary
  • plasmic-tabs
  • react-awesome-reveal
  • plasmic-rich-components
  • antd5 hostless
  1. The last question was this:
    image
    And I answered “No” here

  2. After everything the sync was completed successfully

ERROR:
When i then try to access my application, i get this import errors:

It is a long list of similar errors

Basically about how two variables are not being exported from the plasmic/react-web package. And the files where all theses errors are coming from were created as a result of the completed plasmic sync.

So i honestly don’t know how to fix the importation issue.

Also when i search for the file in question, I see multiple created files in different locations and all of them have the import issue. See here;


All these files were created by the plasmic sync

Project Id: bZkmRHqpZgGUTSLe9r3ZuT

@devs_hub-hub can you update your @plasmicapp/react-web dependency to the latest version?
Run pnpm update @plasmicapp/react-web, delete the node_modules folder to make sure you don’t have any cache, and then run pnpm install (or yarn, depending on what you use)

The latest version now is 0.2.399

Thank you i just updated it and it worked now

1 Like