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
16
questions
0
votes
0
answers
36
views
npm sxa command installation error
I am using Visual Professional 2022, with Sitecore 10.0
I am trying to install SXA for themes. But when I run the command
npm install -g @sitecore/sxa-cli --force
It's installing the required files ...
0
votes
1
answer
231
views
Error on push of sitecore CLI : Executed action can only be performed by Sitecore Administrators
I have sitecore instance on virtual machine, and I am trying to pull and push with my admin credentials only.
But still receiving following error:
2
votes
2
answers
93
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
174
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 ...
1
vote
1
answer
421
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 <...
1
vote
0
answers
63
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 ...
0
votes
0
answers
76
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 ...
3
votes
3
answers
672
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'],
...
4
votes
1
answer
593
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, ...
0
votes
0
answers
287
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 ...
3
votes
1
answer
275
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 ...
2
votes
2
answers
614
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
740
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
371
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). ...
1
vote
1
answer
272
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
69
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 ...