<p>You just need to change ownership of 'node'.
<a href="https://stackoverflow.com/questions/70931624/usr-bin-env-node-permission-denied">https://stackoverflow.com/questions/70931624/usr-bin-env-node-permission-denied</a></p>
<pre><code>sudo chown $USER /usr/bin/env/node
</code></pre>

CC BY-SA 4.0
2023-04-06T18:27:49.133Z
2023-04-06T18:27:49.133Z
PREEB
<p>I am trying to run the Lucid app. In /code/Week03/lucid directory, when I run npm install I get these errors:</p>
<pre><code>npm ERR! code 126
npm ERR! path /workspace/code/Week03/lucid/node_modules/utf-8-validate
npm ERR! command failed
npm ERR! command sh -c node-gyp-build
npm ERR! /usr/bin/env: 'node': Permission denied

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-04-06T11_15_43_098Z-debug.log
</code></pre>
<p>Any solution to this error?</p>

<plutus-pioneer-program>
Lucid npm throws error
# Lucid npm throws error

(Asked by: username_0 on 2023-04-06)

I am trying to run the Lucid app. In /code/Week03/lucid directory, when I run npm install I get these errors:
npm ERR! code 126
npm ERR! path /workspace/code/Week03/lucid/node_modules/utf-8-validate
npm ERR! command failed
npm ERR! command sh -c node-gyp-build
npm ERR! /usr/bin/env: 'node': Permission denied

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-04-06T11_15_43_098Z-debug.log

Any solution to this error?

**Tags:** plutus-pioneer-program

---

## 1 answers

### Answer by username_1 on 2023-04-06. Score: 1

You just need to change ownership of 'node'.
https://stackoverflow.com/questions/70931624/usr-bin-env-node-permission-denied
sudo chown $USER /usr/bin/env/node


---

