# Error rc=226, can't install any nodes. EROFS?

**URL:** <https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203>\
**Category:** General\
**Created:** [6 March 2023 23:22 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203 "2023-03-06T23:22:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoryD](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@CoryD](https://discourse.nodered.org/u/CoryD)\
**Post date:** [6 March 2023 23:22 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203/1 "2023-03-06T23:22:28Z")

</div>

Hi, I'm getting this error when trying to install _any_ nodes:

```auto
2023-03-06T23:19:39.233Z Install : node-red-contrib-timerswitch 1.4.0

2023-03-06T23:19:29.415Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-timerswitch@1.4.0
2023-03-06T23:19:44.776Z [err] npm
2023-03-06T23:19:44.779Z [err]  
2023-03-06T23:19:44.781Z [err] ERR!
2023-03-06T23:19:44.782Z [err]  
2023-03-06T23:19:44.784Z [err] code
2023-03-06T23:19:44.786Z [err] EROFS
2023-03-06T23:19:44.791Z [err] npm
2023-03-06T23:19:44.793Z [err]  
2023-03-06T23:19:44.795Z [err] ERR!
2023-03-06T23:19:44.797Z [err]  
2023-03-06T23:19:44.798Z [err] syscall
2023-03-06T23:19:44.800Z [err] open
2023-03-06T23:19:44.802Z [err] npm
2023-03-06T23:19:44.804Z [err]  
2023-03-06T23:19:44.808Z [err] ERR!
2023-03-06T23:19:44.812Z [err] path /.npm/_cacache/tmp/51acc654
2023-03-06T23:19:44.819Z [err] npm ERR! 
2023-03-06T23:19:44.834Z [err] errno -30
2023-03-06T23:19:44.863Z [err] npm
2023-03-06T23:19:44.865Z [err]  
2023-03-06T23:19:44.868Z [err] ERR!
2023-03-06T23:19:44.870Z [err]  
2023-03-06T23:19:44.872Z [err] rofs
2023-03-06T23:19:44.873Z [err] EROFS: read-only file system, open '/.npm/_cacache/tmp/51acc654'
2023-03-06T23:19:44.875Z [err] npm 
2023-03-06T23:19:44.877Z [err] ERR! rofs Often virtualized file systems, or other file systems
2023-03-06T23:19:44.879Z [err] npm
2023-03-06T23:19:44.881Z [err]  
2023-03-06T23:19:44.883Z [err] ERR!
2023-03-06T23:19:44.891Z [err] rofs that don't support symlinks, give this error.
2023-03-06T23:19:44.991Z rc=226

```

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [6 March 2023 23:36 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203/2 "2023-03-06T23:36:44Z")

</div>

What computer and operating system are you running?

Is the filesystem in fact read-only? - If you create a file in your home directory and reboot, is the file still there?

---

<div class="post-metadata">

**Author:** ![CoryD](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@CoryD](https://discourse.nodered.org/u/CoryD)\
**Post date:** [7 March 2023 17:10 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203/3 "2023-03-07T17:10:43Z")

</div>

So Node-RED is installed on my Advantech Adam 6717, which is running Linux. I was able to install nodes before, but have not been able to ever since I was required to chang ssh permissions in my Windows .ssh folder, file "known\_hosts" (see image). Is this what caused it? If so, how can I fix this? Thanks!

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/47bdade25310c338b3dae56867808f1926e2f365.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [7 March 2023 17:46 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203/4 "2023-03-07T17:46:04Z")

</div>

It seems unlikely, but isn't it possible to delete (or perhaps rename) known\_hosts, connect again and find out?

---

<div class="post-metadata">

**Author:** ![CoryD](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@CoryD](https://discourse.nodered.org/u/CoryD)\
**Post date:** [9 March 2023 04:32 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203/5 "2023-03-09T04:32:19Z")

</div>

Thanks jbudd! It turned out that the file system was in fact read-only. Setting it to read-write fixed it!

---

<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:** [23 March 2023 04:33 UTC](https://discourse.nodered.org/t/error-rc-226-cant-install-any-nodes-erofs/76203/6 "2023-03-23T04:33:14Z")

</div>

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