<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error while update npm-package]]></title><description><![CDATA[<p dir="auto">Good morning,</p>
<p dir="auto">on my WSL-Ubuntu also on my VPS I get an error while I would like to update an app with cloudron-cli.</p>
<p dir="auto">It said to me, that I should update the npm package of cloudron-cli</p>
<pre><code>sudo npm install -g cloudron@4.13.1

changed 121 packages, and audited 122 packages in 4s

13 packages are looking for funding
  run `npm fund` for details

2 vulnerabilities (1 moderate, 1 high)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

----
sudo npm audit fix --force
----

npm WARN using --force Recommended protections disabled.
npm ERR! code ENOLOCK
npm ERR! audit This command requires an existing lockfile.
npm ERR! audit Try creating one first with: npm i --package-lock-only
npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-01-22T06_06_38_189Z-debug-0.log
</code></pre>
<p dir="auto">I have no clue what can I do to solve this problem.</p>
]]></description><link>https://forum.cloudron.io/topic/6365/error-while-update-npm-package</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 20:15:23 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6365.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Jan 2022 06:10:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error while update npm-package on Mon, 24 Jan 2022 04:13:37 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a></p>
<p dir="auto">My problem solved by deleting the package-lock.json. After that I can update this app and all works good.</p>
<p dir="auto">Thank you very much.</p>
]]></description><link>https://forum.cloudron.io/post/42297</link><guid isPermaLink="true">https://forum.cloudron.io/post/42297</guid><dc:creator><![CDATA[roru2k20]]></dc:creator><pubDate>Mon, 24 Jan 2022 04:13:37 GMT</pubDate></item><item><title><![CDATA[Reply to Error while update npm-package on Sat, 22 Jan 2022 15:01:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/42231">Error while update npm-package</a>:</p>
<blockquote>
<p dir="auto">not all automatic security warnings issued by npm are relevant</p>
</blockquote>
<p dir="auto">I would even say : basically no automatic security warning issued by npm is relevant...</p>
]]></description><link>https://forum.cloudron.io/post/42241</link><guid isPermaLink="true">https://forum.cloudron.io/post/42241</guid><dc:creator><![CDATA[mehdi]]></dc:creator><pubDate>Sat, 22 Jan 2022 15:01:44 GMT</pubDate></item><item><title><![CDATA[Reply to Error while update npm-package on Sat, 22 Jan 2022 08:48:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roru2k20" aria-label="Profile: roru2k20">@<bdi>roru2k20</bdi></a> are you by any chance running the npm install command withing a repository which contains a package.json or so?</p>
<p dir="auto">Also which nodejs and npm versions are you using?</p>
<p dir="auto">Further it is not clear to me, if the install or the audit fix fails. The latter should not be run when installing the cli, this is something you would run as a developer developing the package. We are updating the cli package as we see fit, not all automatic security warnings issued by npm are relevant, so no worries.</p>
]]></description><link>https://forum.cloudron.io/post/42231</link><guid isPermaLink="true">https://forum.cloudron.io/post/42231</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sat, 22 Jan 2022 08:48:55 GMT</pubDate></item></channel></rss>