ZCLI Error | Community
Skip to main content

ZCLI Error

  • October 9, 2023
  • 2 replies
  • 0 views

Colin15

I still have a lot of issues when trying to run zcli themes:preview on my local editor. I constantly get the same error and i dont know how to fix it. I got it working once but then the whole website didn't look how its supposed to look so it didnt trigger all the files. Is there a solution for both these problems because i dont want to keep editing all my code in the zendesk editor itself.
Thanks in advance
Colin

2 replies

Colin15
  • Author
  • October 9, 2023

Hi, 

Thanks for the reply. I use Visual Studio Code on Windows 11 , ZCLI version:  @zendesk/zcli/1.0.0-beta.36 win32-x64 node-v20.4.0 .

When I try to run "zcli themes:preview" i get this error: "TypeError: Cannot read properties of undefined (reading 'split')" 


Colin15
  • Author
  • October 9, 2023

We have tried to check/delete every usage of split but we cant find anything. We run into the same problem while using the copenhagen theme.