24104: bugfixes to npm extension install