You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an error while we are executing the command sfcc-ci sandbox:realm:list when the list comes empty, maybe you should change this line:
if(list.length===0){
For this one:
if(typeoflist==='object'&&list.length===0){
Relevant log output
/Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/lib/sandbox.js:908
if (list.length === 0) {
^
TypeError: Cannot read properties of undefined (reading 'length')
at /Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/lib/sandbox.js:908:26
at /Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/lib/sandbox.js:371:13
at ensureValidToken (/Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/lib/ocapi.js:94:9)
at Request._callback (/Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/lib/ocapi.js:148:9)
at self.callback (/Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/node_modules/request/request.js:185:22)
at Request.emit (node:events:514:28)
at Request.<anonymous> (/Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/node_modules/request/request.js:1154:10)
at Request.emit (node:events:514:28)
at IncomingMessage.<anonymous> (/Users/ivanpersonal/Library/Application Support/fnm/node-versions/v18.17.1/installation/lib/node_modules/sfcc-ci/node_modules/request/request.js:1076:12)
at Object.onceWrapper (node:events:628:28)
Node.js v18.17.1
``
The text was updated successfully, but these errors were encountered:
sfcc-ci Version
2.11.0
NodeJS Version
v18.17.1
sfcc-ci Path
/Users/***/Library/Caches/fnm_multishells/4561_1693479051367/bin/sfcc-ci
Host OS Details
Description
There's an error while we are executing the command
sfcc-ci sandbox:realm:list
when the list comes empty, maybe you should change this line:For this one:
Relevant log output
The text was updated successfully, but these errors were encountered: