A JavaScript error occurred in the main process - ENOENT, binaries\build\Release\keytar.node not found

Try these approaches:

  1. Delete the robot and execution logs from the robot/Studio machine.
  2. Go to Control Panel → Programs → Apps and Features → Uninstall the UiPath Platform Installer (if exists) and UiPath Studio

After the UiPath Studio/Robot uninstallation, delete the below folders if exists:

  • The settings in the folders %PROGRAMDATA%\UiPath, %LOCALAPPDATA%\UiPath, and %APPDATA%\UiPath
  • The packages folder %USERPROFILE%\.nuget\packages
  • From the NuGet cache folder %LOCALAPPDATA%\NuGet\v3-cache delete all of its content
  • The Assistant processes folder in the Windows Start menu %APPDATA%\Microsoft\Windows\Start Menu\Programs\UiPath Assistant Automations and %APPDATA%\Microsoft\Windows\Start Menu\Programs\UiPath Assistant Processes
  • The content from the %temp% folder → the files or folders which are not allowed to be deleted, just Skip
  • Restart the robot/Studio machine
  • Install again the UiPath Studio/Robot using this installer https://download.uipath.com/versions/23.10.6/UiPathStudio.msi
  • Reconnect your robot to Orchestrator and check if the error is still there
1 Like