Questions tagged [sxa-cli]

SXA CLI is a useful command-line tool to automatize tasks for an SXA project. Questions that are related CLI om Sitecore SXA context can use this tag

Filter by
Sorted by
Tagged with
1 vote
1 answer
167 views

Cannot read properties of null (reading '1')

I am getting this error when I am trying to create a new theme using SXA CLI. ? Enter your login sitecore\admin ? Enter your password [hidden] ? Specify theme path. Root is Themes folder(format <...
user avatar
  • 349
1 vote
0 answers
19 views

Error on sxa watch [Cannot read property 'jsPath' of undefined]

I set up my project with Creative Exchange Live using SXA CLI, the command "sxa build" works but when I try to use "sxa watch" or "sxa upload" I have this below. I ...
user avatar
  • 11
0 votes
0 answers
35 views

Synchronizing theme changes with Creative Exchange Live

I set up my project with Creative Exchange Live using SXA CLI, everything works when I use "sxa watch" my files are well compiled and send to the server. The issue is when I try to get the ...
user avatar
  • 11
3 votes
3 answers
384 views

SXA CLI skips uploading pre-optimized-min.css.map, says "Incorrect File Name."

On Sitecore 10.1, we have a pretty standard SXA CLI setup. in gulp\config.js the following settings are set for Css handling. css: { path: ['styles/**/*.css','styles/**/*.css.map'], ...
user avatar
  • 24.4k
4 votes
1 answer
344 views

How to I use file based Scriban template development with SXA Creative Exchange?

We're in the process of establishing a new SXA solution. As part of that work we've established the necessary folder structure and procedures to use the SXA CLI to build and upload our theme (later, ...
user avatar
  • 24.4k
0 votes
0 answers
156 views

Creative Exchange Live Gulp task returning not authenticated

We're using Creative Exchange Live gulp task to upload FE Assets but at the moment it is keep failing by giving 403 error status message. I have followed the Sitecore documentation on setting up at ...
user avatar
  • 1
3 votes
1 answer
147 views

Serialized version contained a blank language value!

I am trying to serialize some Sitecore items from the Sitecore instance running in my docker container. So I try this: dotnet sitecore ser pull This works most of the time. But occasionally I get an ...
user avatar
  • 53
2 votes
2 answers
375 views

Caching issue with the pre-optimized-min file in Sitecore SXA 9.3

We are facing a caching issue for the pre-optimized-min file generated by the Sitecore cli gulp task. As this task adds/updates the file in the Sitecore, which only updates the timestamp of the file. ...
user avatar
2 votes
2 answers
410 views

SXA CLI not executing

I have installed the latest SXA CLI (@sxa/CLI) on a development computer. When I run "sxa init" I get: SyntaxError: The requested module 'file:///D:/XXXXx/AppData/Roaming/npm/node_modules/@...
user avatar
2 votes
1 answer
222 views

Unable to upload files with larger than 100kb using Creative Exchange/CLI

I have created a new theme using the CLI and have it connected to my local instance of Sitecore. This all mostly works without any issues. I have my settings to upload source files (SASS, CSS and JS). ...
user avatar
  • 13.7k
1 vote
1 answer
240 views

How to create project for SXA themes in Helix-Habitat solution in SXA 9.3?

We are creating a new project with Sitecore SXA 9.3. This project will have multiple sites and multiple themes also. We are creating a new solution by following Helix Principles. So let's say we have ...
user avatar
1 vote
0 answers
65 views

Why is the SXA CLI tooling not open source like JSS? [closed]

The Sitecore SXA CLI tooling lives in its own npm repository and does not seem to be open source like the Sitecore JSS tooling. Is there a reason why this is the case? It is not that much of a problem ...
user avatar