<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">postinstall script not executed</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">postinstall script should be executed.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<ol dir="auto">
<li>Set up a VM you can trash later (the package modifies your global configuration)</li>
<li>Create directory <code class="notranslate">/opt/iobroker</code>, enter it</li>
<li>run <code class="notranslate">npm i iobroker@latest</code> as root</li>
</ol>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>OS: Debian Buster</li>
<li>Node: 15.5.1</li>
<li>npm: 7.3.0</li>
</ul>
<h3 dir="auto">Current Behavior:</h3>

<p dir="auto">I'm making a global cli tool that asks you for your language preference upon install but since NPM 7 it doesn't run the postinstall script anymore</p>
<h3 dir="auto">Expected Behavior:</h3>

<p dir="auto">In NPM 6 it works just fine</p>
<h3 dir="auto">Steps To Reproduce:</h3>

<p dir="auto">npm i -g dnd</p>
<h3 dir="auto">Environment:</h3>

<p dir="auto">macOS Big Sur, npm 7</p>