attempt to workaround https://github.com/npm/npm/issues/1341