I am currently working on setting up the development environment in WSL2 based on the instructions provided in the documentation. However, as I do not have prior experience in backend development, I am struggling with some issues. I sincerely appreciate your patience as I continue to seek guidance.
Objective
I am trying to set up the Speckle Server for local development in WSL2 following the official documentation.
Issue
When I follow the setup steps, I encounter the following issue:
[@speckle/server]: Node.js v18.20.7
[@speckle/server]: [server] [nodemon] app crashed - waiting for file changes before starting…
Environment details:
Yarn version: 4.5.0
Node.js version: v18.20.7
At this point, the process does not proceed any further, and I am unsure of what I might be misunderstanding or what needs to be fixed.
Example
If needed, I can provide additional logs or any relevant configuration files.
I would greatly appreciate any insights you can provide on what might be causing this issue and how I can resolve it. If you have any suggestions or steps I should follow, I would be very grateful for your assistance.
First of all, I sincerely appreciate your detailed and helpful response. I followed your instructions carefully, but as shown in the attached screenshot, I encountered an error with red text, and the process did not proceed any further.
I would like to ask for your advice on what additional topics I should study to resolve this issue and gain a better understanding of the process. Should I focus more on Docker, Nginx, or other backend-related knowledge?
As our company is considering adopting the Speckle Server internally, I am exploring backend development to better support this initiative. Any guidance on where to start or which resources to refer to would be greatly appreciated.
It appears that the packages/shared package has not been built correctly. The yarn build step should be run from the directory at the root of the speckle-server repository (This is the directory containing yarn.lock, for example).
You can inspect that a packages/shared/dist directory has been created and populated with files after running the above command.