The item <name>is in the default namespace xmlns="http://www.w3.org/ns/widgets". Typically, in xpath, to select an item in the namespace, you need to register a prefix pointing to the namespace uri and use this prefix in xpath.
gulp-xml-editor, GitHub , , " XML- ":
gulp.src("./manifest.xml")
.pipe(xeditor([
{path: '//xmlns:name', text: 'new names'},
], 'http://www.w3.org/ns/widgets'))
.pipe(gulp.dest("./dest"));