This simple script suddenly stopped working on my MBP Monterey 15.5.1. However it still works in my mac mini Monterey 15.5 and my MBP Catalina. The script refuses to Change Directory (cd) no matter what I try. The result being the "npm run start" command is presented to the normal command line not the MagicMirror directory. Thanks for any help/advice.
AppleScript:
tell application "Terminal"
activate
set shell to do script "cd MagicMirror"
delay 1
do script "npm run start" in shell
end tell[/CODE[ATTACH type="full"]2050866[/ATTACH][ATTACH type="full"]2050867[/ATTACH][ATTACH]2050866[/ATTACH]