Closed ghost closed 1 year ago
Hey, you're awesome! Thanks for keeping up with reporting bugs! I'll check this out and get a fix out tonight
Hey @make-believe-agency , this is a strange bug. I'm going to need a bit more info from you.
The Text file busy
message is generated when something tries to modify an executable while its executing [1]. I've gotten someone else to successfully install the project on an older version of macOS so I'm thinking this issue could potentially be related to the way your systems configured but I'm not sure yet. Could you try adjusting line 6
at osintbuddy/frontend/Dockerfile
to RUN netstat && lsof && yarn build
and send me a screencast of that?
[ui build-stage 6/6] RUN yarn build:
0 0.393 yarn run v1.22.19
0 0.450 $ craco build
0 0.487 env: can't execute 'node': Text file busy
0 0.501 error Command failed with exit code 126.
0 0.501 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 126
Older versions of mac use python 2.7 which was discontinued in 2021, my version and onwards seem to use python 3, and I see "pip" and not "pip3" in the above. You'd have to consider the fact you just asked me to publicise my network and running processes on github, no thanks.
Older versions of mac use python 2.7 which was discontinued in 2021, my version and onwards seem to use python 3, and I see "pip" and not "pip3" in the above. You'd have to consider the fact you just asked me to publicise my network and running processes on github, no thanks.
I understand, could potentially make this a bit harder to fix though. I'll take a look at the logs above, thanks for posting them! Also, does pip3 resolve the issue? My understanding is the issue is with the node image
edit:
Might be worth trying with a different image like node:18
, maybe a npm run build
instead. I'll spend some more time looking into this but there doesn't seem to be too many similar issues
It installs fine on another machine running macOS 10.15.7
It does work for me on macOS Ventura (13.4, Build 22F66) I have python Python 3.10.9 that was installed using Anaconda and am using Docker Desktop (Docker version 23.0.5, build bc4487a)
This is as of the latest commit.
Hey @make-believe-agency , I think I've found a potential fix, can you try pulling the latest changes and running:
docker compose build ui
docker compose up
This related issue was created 2 days ago: https://github.com/nodejs/docker-node/issues/1912
If this change doesn't work I suggest trying node:18
next. This seems to be an issue with some specific node alpine images on macOS/Windows that have popped up recently
Describe the bug Install fails on other machines
To Reproduce Steps to reproduce the behavior:
Expected behavior Osintbuddy to install correctly
Screenshots See comments
Desktop (please complete the following information):
Additional context Yarn config in .env incorrect