I made it work by replacing /Game/StarterContent/Shapes/Shape_Cube.Shape_Cube
with /Engine/BasicShapes/Cube
.
I found the new path by dragging a cube from the Place Actors panel into the Viewport, right-clicking the cube, and selecting the option “Reference Viewer…”. This brought up a browser-like window where the URL represented the path.