Monzo Credit Card Pot Sync

What node version do you have installed looks like old 12.x?

Lets install the latest node version

curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_23.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs

Then to confirm the latest node version

node -v

While you are installing it would be worthwhile installing build-essentials

sudo apt install build-essential

See if this one works in your case

export PATH="/home/admin/.local/bin:$PATH"
source ~/.profile

So very tired now.

it should be 23 not 24. Tried to edit that quick but not quick enough

sudo rm /etc/apt/sources.list.d/nodesource.list
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_23.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

Did you change the code? I copied it, ran it, came back and it’s different now.

In any event, it didn’t work.

Also, I have to go off and do life stuff so I can’t dedicate more time to this. It’ll have to wait until the weekend.

Yeah it just needs

curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg

then it should allow you to update and install.

then thats all done

Okay, I’ve done that, done the sudo apt-get update, the sudo apt-get install nodejs.

Then I do npm install:

node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.30’ not found (required by node)

node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.29’ not found (required by node)

I definitely need to go now, I’ll check back on this later!!

Ok, i’ve finally made it back home, and been able to install this on my Raspberry Pi via Docker.
My issue is that I can’t “log in” to my Monzo account because of the “localhost” url as i’m connecting via different machine on the network (my Pi is headless).
Same goes for Truelayer. All down to the “localhost” url I think

Any suggestions or a fix?

I managed to do it once by just amending the URL when it loads to the IP of the device I clicked the link on. Should load the page.

If I do that, I get:

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

You can set the environment variable POT_SYNC_LOCAL_URL to something other than http://localhost:1337 before running the app to change this.

That doesn’t mean anything to me. Sorry. Any guidance would be appreciated.