Got to say, its a major issue that code copied right off the README does not work. Anyway, after fixing the code, it appears pocketbase.exe downloads correctly, but the error says:
Error: Could not find pocketbase.exe anywhere in path C:\Users\toryb\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.7\x64\win32
Which is imply not true, ls C:\Users\toryb\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.7\x64\win32 reveals pocketbase.exe is right there in the folder.
First it complained with this code:
this fixed that error:
Got to say, its a major issue that code copied right off the README does not work. Anyway, after fixing the code, it appears pocketbase.exe downloads correctly, but the error says:
Which is imply not true,
ls C:\Users\toryb\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.7\x64\win32
revealspocketbase.exe
is right there in the folder.