@julian But then I get the following, because it's not looking in the right place for the package.json:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /usr/bin/nodebb/nodebb-plugin-btcsso/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/usr/bin/nodebb/nodebb-plugin-btcsso/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-05-16T09_24_17_811Z-debug-0.log