shaoruu / mine.js

:mount_fuji: A voxel world built with JS/TS/RS. (formerly mc.js) (maybe mine.ts? or even mine.rs?)
https://github.com/voxelize/voxelize
MIT License
308 stars 32 forks source link

When I execute yarn run init in ubuntu, I get an error, and I don't know how to deal with it. #19

Closed SiriusXT closed 3 years ago

SiriusXT commented 3 years ago

When I execute ’yarn run init‘ in ubuntu, I get an error, and I don't know how to deal with it. 图片

shaoruu commented 3 years ago

Remember to make a copy of .env.sample and rename it as .env.

My bad for not putting it on the README 😅

SiriusXT commented 3 years ago

Thank you very much, this problem has been solved, but some new problems have been encountered, 图片 图片

shaoruu commented 3 years ago

Can you send me the output for docker ps? Seems like you already have something running on port 5432.

SiriusXT commented 3 years ago

Can you send me the output for docker ps? Seems like you already have something running on port 5432.

图片

SiriusXT commented 3 years ago

Can you send me the output for docker ps? Seems like you already have something running on port 5432.

When i kill postgres, 图片 The docker port does not seem to be mapped

shaoruu commented 3 years ago

yarn, then yarn run init seems to work for me. What if you reclone the repo?