<p>If you (like me) were attempting to npm publish via GitHub Actions using `npm@latest` (currently v11.12.0) and saw an error message involving `--prefer-online` and `--prefer-offline`, reverting to npm@11.11.1 fixes the issue.</p><p>Related: <a href="https://github.com/npm/cli/issues/9133" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">github.com/npm/cli/issues/9133</span><span class="invisible"></span></a></p>
- Post #1028
- Next (End)
- Previous March 20, 2026 at 8:31:00 PM UTC
- Fri, 20 Mar 2026 20:31:27 GMT — Zach Leatherman
- Original on Fediverse