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
2 votes
2 answers
45 views

Pre-optimized-min file named with GUID Sitecore SXA 10.2

We use Unicorn in our project, and we are saving the pre-optimized-min.yml files in source control. Here is the exclude predicate we have for this file: <exclude childrenOfPath="/sitecore/...
1 vote
1 answer
103 views

How do I disable minification for pre-optimized-min items in my theme?

Sitecore/SXA 10.2 I find it very difficult to know exactly which part of my code is broken when the theme scripts are mangled beyond my comprehension. What can I do to improve this experience? Take ...
  • 17.3k
1 vote
1 answer
272 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 <...
  • 349
1 vote
0 answers
40 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 ...
  • 11
0 votes
0 answers
55 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 ...
  • 11
3 votes
3 answers
547 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'], ...
  • 24.7k
4 votes
1 answer
475 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, ...
  • 24.7k
0 votes
0 answers
241 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 ...
  • 1
3 votes
1 answer
213 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 ...
  • 65
2 votes
2 answers
512 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. ...
2 votes
2 answers
589 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/@...
3 votes
1 answer
310 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). ...
  • 13.7k
1 vote
1 answer
252 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 ...
1 vote
0 answers
68 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 ...