-
Notifications
You must be signed in to change notification settings - Fork 85
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
trouble getting a dev environment set up #1145
Comments
I'm also seeing errors. Let's resolve this and make sure there's a test that runs on every merge (and blocks merging) that ensures that the commands listed in the README will successfully build and start the app for developers. We'll have to remember to change the instructions if they must change. These instructions falling out of date is probably our most tenacious regression. Requirements:
The fewer steps in the instructions, the better. Ideally it's just npm install, npm run start. |
Connected: #1146 |
A partial solution here is to set Another partial solution is to run all our tests and build checks on M1 Mac in CI, so that we see any issues. (M1 is supported now by github actions.) |
Good news, I got it working on Mac. Like @holmesworcester said in Quiet-Team, switching to the exact version of node in the README helped. I decided to try my Linux box as well. I got a different error:
Here's the log: 2023-01-10T00_28_30_827Z-debug-0.log.txt I'm not sure why it's complaining about a proxy. This Linux box and the Mac are on the same wifi network at my house. I never need a proxy. Any ideas for me? |
@siepra @EmiM @vinkabuki have you seen this? |
@pdurbin just googling it seems like something that can happen for strange reasons sometimes, maybe due to something you did in the past with node. See this comment, for example: https://stackoverflow.com/a/32316770/5081055 -- does that fix work? Or do any of the other fixes in that thread seem to fit your case? I'm going to move this out of the sprint for now because i think it's likely not a problem with the repo on our end. It could be but let's rule out a few things first. |
Scratch that, I'm getting the exact same error when I clone the repo and attempt the install steps on Debian (bullseye) on my Chromebook. And @josephlacey is getting another error related to downloading files. |
@pdurbin can you confirm you're in the |
let's try using 16.14.2 and corresponding npm |
And if you run into the SOCKET_TIMEOUT error, @siepra says: See: https://stackoverflow.com/questions/51434006/how-to-fix-timeout-for-packages-on-npm-install |
Oddly I just tried to reproduce this error on commit b599a1b with node 16.14.0 and npm 8.3.1, but it all compiled and started fine with
I reran all the steps above on the same commit with node 16.14.2 and npm 8.5.0, and that also compiled and started fine. If the errors we all got were related to timeouts, it could have been the fact that we were on video calls during the process. Seems like a strange problem to contend with, but I guess one to be mindful of. As per the linked StackOverflow post, I installed pnpm and reran the Quiet install process. I wouldn't say there was a noticeable difference in the time for each step, but there's data to show it makes a difference in general. It might be worth using If that does make a difference, it might be worth including a suggest to use There could have been other upstream issues, but that's only speculative. |
Thanks for the chatter here. I got a new laptop (and now have a different problem which I reported in #1213) and plan to focus my energy on getting a dev environment working there so I'm closing this issue. |
@holmesworcester encouraged me to work on an issue but I'm having trouble getting a dev environment set up. I'm on macOS 10.14.6
I'm on b599a1b on the "develop" branch and following packages/desktop/README.md
npm install
went fine.Here's the error:
Here's the log mentioned in the error:
2023-01-08T18_29_29_059Z-debug-0.log.txt
The text was updated successfully, but these errors were encountered: