# Plexamp Headless Raspberry Pi 5 ERROR

**URL:** <https://forums.plex.tv/t/plexamp-headless-raspberry-pi-5-error/862586>\
**Category:** Plex Labs\
**Tags:** plexamp\
**Created:** [December 11, 2023, 11:53pm UTC](https://forums.plex.tv/t/plexamp-headless-raspberry-pi-5-error/862586 "2023-12-11T23:53:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_T](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tony_t/32/311528_2.png) [@Tony\_T](https://forums.plex.tv/u/Tony_T)\
**Post date:** [December 11, 2023, 11:53pm UTC](https://forums.plex.tv/t/plexamp-headless-raspberry-pi-5-error/862586/1 "2023-12-11T23:53:09Z")

</div>

Just upgraded to a Raspberry Pi5, and getting this error:  
(works on my Pi4)

```auto
pi@pi5:~/plexamp $ node js/index.js
node:internal/modules/cjs/loader:1302
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: Module did not self-register: '/home/pi/plexamp/treble/linux-arm64/treble.node'.
    at Module._extensions..node (node:internal/modules/cjs/loader:1302:18)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at 32983 (/home/pi/plexamp/js/index.js:2:408700)
    at a (/home/pi/plexamp/js/index.js:2:3313864)
    at 90493 (/home/pi/plexamp/js/index.js:2:402859)
    at a (/home/pi/plexamp/js/index.js:2:3313864)
    at 59825 (/home/pi/plexamp/js/index.js:2:387070) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.13.0

```

---

<div class="post-metadata">

**Author:** ![tgp-2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tgp-2/32/276306_2.png) [@tgp-2](https://forums.plex.tv/u/tgp-2)\
**Post date:** [December 12, 2023, 3:11am UTC](https://forums.plex.tv/t/plexamp-headless-raspberry-pi-5-error/862586/2 "2023-12-12T03:11:40Z")

</div>

not a pi5-specific issue … 18 is default node version for current Pi OS, and Plexamp headless uses node 16 … you’ll need to either downgrade to node 16 manually or reinstall headless using one of the available install scripts that takes care of this for you

---

<div class="post-metadata">

**Author:** ![Tony\_T](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tony_t/32/311528_2.png) [@Tony\_T](https://forums.plex.tv/u/Tony_T)\
**Post date:** [December 12, 2023, 12:45pm UTC](https://forums.plex.tv/t/plexamp-headless-raspberry-pi-5-error/862586/3 "2023-12-12T12:45:17Z")

</div>

Thanks,. Been awhile since I installed on the Pi4 (Bullseye), and I _thought_ I had to upgrade node to v16 back then. Saw the Pi5 (Bookworm) was on node v18, knew Plexamp headless needed node v16, but thought it was \>= v16, didn’t even consider a downgrade of node was needed.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 11, 2024, 12:45pm UTC](https://forums.plex.tv/t/plexamp-headless-raspberry-pi-5-error/862586/4 "2024-03-11T12:45:54Z")

</div>

Closed on March 11, 2024, 12:45pm UTC

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