Error when adding new 'Run an AWS CLI Script' step

(Nathan Wambach) #1

Im trying to add a ‘Run an AWS CLI Script’ step to my project and it throws a javascript error after loading the configuration screen.

(Nathan Wambach) #3

This seems to be working again.

(Lawrence Wilson) #4

Hi Nathan,
Thanks for getting in touch and thank you for the update! I’m glad to hear that this is working for you now.

Kind regards,

(queil) #5

Hi @Lawrence_Wilson, actually I am getting the same error in the same circumstances:

Octopus v2018.11.1

TypeError: Cannot read property 'map' of undefined

map (/app/components/form/VariableSelect/VariableSelect.tsx:57:35)
beginWork (/node_modules/react-dom/cjs/react-dom.production.min.js:149:336)
e (/node_modules/react-dom/cjs/react-dom.production.min.js:182:349)
g (/node_modules/react-dom/cjs/react-dom.production.min.js:183:347)
p (/node_modules/react-dom/cjs/react-dom.production.min.js:184:366)
0;null!==a&&c;){c=!1;if(a.pendingWorkPriority===T||a.pendingWorkPriority>b)c=!0,a.pendingWorkPriority=b;null!==a.alternate&&(a.alternate.pendingWorkPriority===T||a.alternate.pendingWorkPriority>b)&&(c=!0,a.alternate.pendingWorkPriority=b);if(null===a["return"])if (/node_modules/react-dom/cjs/react-dom.production.min.js:188:389)
S (/node_modules/react-dom/cjs/react-dom.production.min.js:187:415)
enqueueSetState (/node_modules/react-dom/cjs/react-dom.production.min.js:140:181)
isMounted (/node_modules/react/cjs/react.production.min.js:12:343)
m (/app/components/BaseComponent/BaseComponent.tsx:29:22)


(Lawrence Wilson) #6

Hi @queil, Thanks for getting in touch! I’m sorry to hear you have bumped into this issue as well.

This was an issue which had affected Version 2018.11.1 of Octopus Server, you can resolve this problem by upgrading to at least version 2018.11.2.

For more information, please feel free to check out the corresponding github issue here.

I hope this has been helpful!

Kind regards,