Node modules not found error in VS Code

- First time developing using docker Question: Why am receiving node modules not found, error, how to fix this, what am I missing, I am running dev setup using docker, followed the steps in the documentation. not sure if this https://docs.twenty.com/contributor/local-setup/docker-setup#optional applies to my case
Welcome | Twenty - Documentation
Twenty is an Open Source CRM that provides flexibility, tailored to your business needs. It helps you break free from vendor lock-in and limitations, and provides the tools you need to harness the full potential of your data while ensuring a sleek and effortlessly intuitive design that teams will love to use.
No description
24 Replies
charles
charles13mo ago
Welcome | Twenty - Documentation
Twenty is an Open Source CRM that provides flexibility, tailored to your business needs. It helps you break free from vendor lock-in and limitations, and provides the tools you need to harness the full potential of your data while ensuring a sleek and effortlessly intuitive design that teams will love to use.
charles
charles13mo ago
especially Step 4 🙂
Muralidhar
MuralidharOP13mo ago
sorry for this @charles , am feeling very dumb rn, I've gone through step 4 before, I thought I did something wrong, how should I access files in this window....
No description
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Muralidhar
MuralidharOP13mo ago
Hi @BeardyWeird make front-start
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Muralidhar
MuralidharOP13mo ago
hey am available now @BeardyWeird
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Muralidhar
MuralidharOP13mo ago
@BeardyWeird no, am not sure what am missing, i think I'll try the new setup
charles
charles13mo ago
Hi @Muralidhar, we are done with the setup update, could you try it? On Windows, please use WSL and follow: https://docs.twenty.com/contributor/local-setup/yarn-setup It's likely that we still have issues with the setup, I can help you if you face issues
Muralidhar
MuralidharOP13mo ago
Hi @charles / @BeardyWeird I've set it up, the same docker way, am not sure, what am missing, am still have the issue of node modules not found,
No description
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
Muralidhar
MuralidharOP13mo ago
yes
charles
charles13mo ago
Mmmh, is the problem scoped to VSCode ? Can you ssh in the container and run yarn nx start twenty-front for exemple ? (Make docker-dev-sh to ssh in the container)
Muralidhar
MuralidharOP13mo ago
yes I believe this is part of docker setup, this is running front and server, am able to make changes, @charles / @BeardyWeird I shifted to yarn setup, i want to contribute, don't want to get stuck in setup phase now am receiving this 🥲 when I ran this cmd : make postgres-provision-on-macos-intel -e \e[32mStep [4/4]: Setting up database...\e[0m -e \e[32m=======================================================\e[0m cp: ./postgres/init.sql: No such file or directory psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: Connection refused Is the server running locally and accepting connections on that socket? -e \e[31m
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
charles
charles13mo ago
This should be fixed, could you try again? @Muralidhar I have just made a fresh new docker install and it's working smoothly. Please follow: - https://docs.twenty.com/contributor/local-setup/docker-setup and then: - https://docs.twenty.com/contributor/local-setup/ide-setup and you should be up in no time
Muralidhar
MuralidharOP13mo ago
Ok will try and let you know @charles
Muralidhar
MuralidharOP13mo ago
@charles / @BeardyWeird docker setup am still not able to view the files when i opened the container in vs code
No description
charles
charles13mo ago
@Muralidhar how do you run your docker?
Muralidhar
MuralidharOP13mo ago
@charles I opened the docker desktop app, then from the root of the project, I went through docker setups cmds, am I missing something?
No description
charles
charles13mo ago
Your containers seem healthy But I'm surprised that you are in ~ folder (here as your are connected as root, it's probably /root) you should have an /app folder at the root of your container
Unknown User
Unknown User13mo ago
Message Not Public
Sign In & Join Server To View
charles
charles13mo ago
@BeardyWeird if you have time, sure! I did it recently with no issues but I might have missed something
Want results from more Discord servers?
Add your server