Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited title
Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

SXA CLI Cannot read properties of null - Error while creating a new theme(reading '1')

added 385 characters in body
Source Link
Samke11
  • 389
  • 4
  • 14

I am getting this error when I am trying to create a new theme using SXA CLI. enter image description here

? Enter your login sitecore\admin
? Enter your password [hidden]
? Specify theme path. Root is Themes folder(format <RootFolderName/ChildFolderName>) Test Tenant\SiteTest
? Do you want to set up theme config file? yes
C:\Users\samed\AppData\Roaming\npm\node_modules\@sxa\CLI\util\serverRequests.js:25
                    _c8a‍.g.console.log(chalk.bold.red(body.match(/<li>([\d\w\s\.]*)<\/li>/)[1]))

TypeError: Cannot read properties of null (reading '1')

I was searching on the Google, and there is some post about adding the user role to the sitecore\admin, and the name of the role is sitecore\PowerShell Extensions Remoting

Is that a fix, or there is something else that can be done

I am getting this error when I am trying to create a new theme using SXA CLI. enter image description here

I was searching on the Google, and there is some post about adding the user role to the sitecore\admin, and the name of the role is sitecore\PowerShell Extensions Remoting

Is that a fix, or there is something else that can be done

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 <RootFolderName/ChildFolderName>) Test Tenant\SiteTest
? Do you want to set up theme config file? yes
C:\Users\samed\AppData\Roaming\npm\node_modules\@sxa\CLI\util\serverRequests.js:25
                    _c8a‍.g.console.log(chalk.bold.red(body.match(/<li>([\d\w\s\.]*)<\/li>/)[1]))

TypeError: Cannot read properties of null (reading '1')

I was searching on the Google, and there is some post about adding the user role to the sitecore\admin, and the name of the role is sitecore\PowerShell Extensions Remoting

Is that a fix, or there is something else that can be done

Source Link
Samke11
  • 389
  • 4
  • 14

SXA CLI - Error while creating a new theme

I am getting this error when I am trying to create a new theme using SXA CLI. enter image description here

I was searching on the Google, and there is some post about adding the user role to the sitecore\admin, and the name of the role is sitecore\PowerShell Extensions Remoting

Is that a fix, or there is something else that can be done