-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript Error occurred in the main process ... agent not running #26
Comments
@sclose-netexpat Apologies for the issue. This is due to a permissions issue on a couple file locations. Our next maintenance release is planning to address this error message so that it's friendly and more informative. In the meantime, please make sure the user running the Drata Agent (not administrator) can read and write to at least the following files on the Windows machines:
Also, to ensure automatic updates are successful upon the next release, you may also want to confirm that the user (not administrator) can install the upgrade at the Drata Agent installation location with read/write access to the install folder:
Let me know if that helps. Thanks! |
Thank you ! |
Hello @mnrdrata ! How are you? I have the same error mentioned in this thread, however I have done the search in the Logs to validate the error and it mentions the following: “Unexpected token ' ', “ ‘... is not valid JSON’. How could I solve this development, as I am not very clear which JSON file it refers to, as the app-data.json is found as JSON file normally. |
Hi there,
Several users are experiencing the same issue on Windows 10 and 11. The agent is not running, and when started manually, it displays the following error:
Uninstalling and reinstalling the agent does not resolve the issue. Any idea how to fix ?
Thank you for your support
The text was updated successfully, but these errors were encountered: