Closed kcs-santoshahire closed 1 month ago
Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏
Facing the same issue on linux. Any update on this issue?
The error most frequently occurs if you have not activated a Python virtual environment before starting the build.
The error most frequently occurs if you have not activated a Python virtual environment before starting the build.
I have activated the Python virtual environment
Then you need to figure out why it can't find aw_server
in the Python environment (what the check is for), after it has just been installed.
Then you need to figure out why it can't find
aw_server
in the Python environment (what the check is for), after it has just been installed.
basically the following command does not have any output which indicates it is not installed.
pip freeze | grep server
I'll try to figure out what is the main reason then update this thread.
@ErikBjare So the main reason that aw-server does not get installed is the following error
which is in aw-webui
submodule: aw-server/aw-webui/vue.config.js:42:2
I could fix the issue by changing line 49 from the following:
domain: import.meta.resolve('domain-browser'),
to
domain: path.resolve(__dirname, 'domain-browser'),
@MohammadAliAfsahi Which Nodejs version are you running? I don't think that occurs for Node 18+ (at least not for Node 20 in CI).
@MohammadAliAfsahi Which Nodejs version are you running? I don't think that occurs for Node 18+ (at least not for Node 20 in CI).
Yep. The main reason is Node version which is 16 in my case.
Should update the docs to mention needing Node v20+, since that's what we use in CI.
On Fri, May 10, 2024, 19:20 MohammadAliAfsahi @.***> wrote:
@MohammadAliAfsahi https://github.com/MohammadAliAfsahi Which Nodejs version are you running? I don't think that occurs for Node 18+ (at least not for Node 20 in CI).
Yep. The main reason is Node version which is 16 in my case.
— Reply to this email directly, view it on GitHub https://github.com/ActivityWatch/activitywatch/issues/1041#issuecomment-2104987701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKXDOXMWOYVZBLSZMAQMDDZBT6WDAVCNFSM6AAAAABFYUSFC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUHE4DONZQGE . You are receiving this because you were mentioned.Message ID: @.***>
I fixed the issue where the aw-server build failed silently, causing the later error: https://github.com/ActivityWatch/activitywatch/commit/0520dd0727f261214742c98398f5e471bf7c6b70
Will also update the docs.
Discussed in https://github.com/orgs/ActivityWatch/discussions/1039