Error message “Invalid Assignment Left-Hand Side”

Scenario

when trying to fetch or deploy theme or extension a error message “Invalid Assignment Left-Hand Side” will  occur.

Solution

  1. Run this command: npm install xmlbuilder@11.0.0
  2. To ensure xmlbuilder@11.0.0 has overwritten the previous version, run: npm list xmlbuilder
  3. If the preceding command returns any version other than xmlbuilder@11.0.0, we need to install version 11.0.0 in the directory where the version is not correct.
    For example, if the preceding command returns version information that shows a version other than xmlbuilder@11.0.0 within one of the folders in the node_modules directory, go to that folder and run this command: npm install xmlbuilder@11.0.0
  4. To ensure xmlbuilder@11.0.0 has overwritten the previous version, run: npm list xmlbuilder

Leave a comment

Your email address will not be published. Required fields are marked *