Fixed
Headless CMS Plugin v1.0.10: Bug fix for sync error
September, 6
In version v1.0.8
of the Headless CMS Plugin, running the vtex cms sync
command would lead to the following error message: SyntaxError: Cannot use import statement outside a module.
This issue has been resolved in the latest release,v1.0.10
.
Headless CMS is currently only available for FastStore projects.
What needs to be done?
To update the Headless CMS plugin to v1.0.10
, follow the steps below:
-
Access the VTEX IO CLI and log in to your VTEX account:
Remember to replace the values between curly brackets according to your account name.
_10vtex login {account} -
Update the
@vtex/cli-plugin-cms
tov1.0.10
by running the following command:_10vtex plugins update -
Open your FastStore project.
-
Change to the
cms
folder and runvtex cms sync
. Once your changes are synced, you should see the following message:_10CMS synced successfully…