# Dockerized EACCESS

**URL:** <https://discourse.nodered.org/t/dockerized-eaccess/35624>\
**Category:** General\
**Created:** [9 November 2020 18:23 UTC](https://discourse.nodered.org/t/dockerized-eaccess/35624 "2020-11-09T18:23:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chura](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chura/32/32051_2.png) [@Chura](https://discourse.nodered.org/u/Chura)\
**Post date:** [9 November 2020 18:23 UTC](https://discourse.nodered.org/t/dockerized-eaccess/35624/1 "2020-11-09T18:23:05Z")

</div>

I'm trying to install a module from the UI, I get this error which is not to informative.  
When doing this from the shell, using npm install, it is working, but for some reason not persist trough docker recycling.

9 Nov 20:16:45 - [info] Installing module: node-red-contrib-openhab-v2, version: 2.0.3  
9 Nov 20:16:49 - [warn] [openhab2-controller:Openhab] ERROR {"type":"error","status":401}  
9 Nov 20:16:49 - [warn] Installation of module node-red-contrib-openhab-v2 failed:  
9 Nov 20:16:49 - [warn] ------------------------------------------  
9 Nov 20:16:49 - [warn] npm ERR! code EACCES  
npm ERR! syscall open  
npm ERR! path /data/.npm/\_cacache/tmp/d1093d0e  
npm ERR! errno -13  
npm ERR!  
npm ERR! Your cache folder contains root-owned files, due to a bug in  
npm ERR! previous versions of npm which has since been addressed.  
npm ERR!  
npm ERR! To permanently fix this problem, please run:  
npm ERR! sudo chown -R 1000:1000 "/data/.npm"

9 Nov 20:16:49 - [warn] ------------------------------------------  
9 Nov 20:16:49 - [error] Error: Install failed

Even simple upgrade fail

* * *

2020-11-09T18:30:52.402Z Install : node-red-contrib-telegrambot 8.7.1

2020-11-09T18:30:52.879Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-telegrambot@8.7.1  
2020-11-09T18:30:55.995Z [err] npm  
2020-11-09T18:30:55.995Z [err] ERR! code EACCES  
2020-11-09T18:30:55.995Z [err] npm ERR! syscall open  
2020-11-09T18:30:55.995Z [err] npm ERR!  
2020-11-09T18:30:55.996Z [err] path /data/.npm/\_cacache/tmp/562bfdb7  
2020-11-09T18:30:55.996Z [err] npm  
2020-11-09T18:30:55.996Z [err] ERR! errno  
2020-11-09T18:30:55.996Z [err] -13  
2020-11-09T18:30:56.000Z [err] npm  
2020-11-09T18:30:56.000Z [err] ERR!  
2020-11-09T18:30:56.000Z [err] npm ERR!  
2020-11-09T18:30:56.000Z [err] Your cache folder contains root-owned files, due to a bug in  
2020-11-09T18:30:56.000Z [err] npm ERR! previous versions of npm which has since been addressed.  
2020-11-09T18:30:56.000Z [err] npm ERR!  
2020-11-09T18:30:56.000Z [err]  
2020-11-09T18:30:56.000Z [err] npm ERR!  
2020-11-09T18:30:56.001Z [err] To permanently fix this problem, please run:  
2020-11-09T18:30:56.001Z [err] npm ERR!  
2020-11-09T18:30:56.001Z [err] sudo chown -R 1000:1000 "/data/.npm"  
2020-11-09T18:30:56.018Z rc=243

How can I achieve either persistence to shell install or make it install properly from the UI ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 January 2021 18:23 UTC](https://discourse.nodered.org/t/dockerized-eaccess/35624/2 "2021-01-08T18:23:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
