Arduino Nano works on laptop but not on psu

So (when connected to an external power supply) is it the Nano that is not working or just the infrared Led ?

Should be working yet it doesnt work at all

Thats the funny part, ive mesured the voltage on each part while connected to the external psu and everything is supplied as it should but the Arduino is not sending a signal to the motor driver

You never said where you have these connected. With a 5V charger, are you using a USB-C cable into the usb-c connecter? With a lab power supply, where are you connecting it?

If all info you have provided is correct, we have quite weird problem here.
Upload a sketch that just turns the motor and blinks onboard LED.
At least you have some feedback, if arduino is alive and if you have connection to motor driver.

With the Charger we obviously used the integrated usb c port of the Arduino and with the Lab psu we used the VIN pin.

Thats the weird part, i have uploaded a code that does just move the motor forwards and backwards with a delay and blinks the onboard LED and that code worked with the 5V charger

Quite a different story now.
So it not a harware /power supply problem at all but a code/operator problem

Time to post the code that work and the one that does not.

Well i have posted the code that works with the laptop so i dont see it being a code error just based on the power source

Good!
Go step ahead with that. Make it fire the ir transmitter instead of onboard LED and observe with android phone camera that it illuminates.
If that is ok, code the receiver to illuminate onboard LED when it receives signal.

i have uploaded a code that does just move the motor forwards and backwards with a delay and blinks the onboard LED and that code worked with the 5V charger

You have code that works with a PSU and USB, so obviously it's not a power supply problem. What else could it be if not the code?