Build Issue

I pulled the v1.1.0 code and tried running npx nx build twenty-server, but the terminal gets stuck—it doesn't proceed further, and I can't even stop the process. I can only close the terminal to get out of it.
No description
12 Replies
Prastoin
Prastoin2mo ago
Please try clearing npx cache npx nx reset Also use latest 1.1 patch version
Jay Patel
Jay PatelOP2mo ago
I'm currently on v1.0.0 — can I upgrade directly to v1.1.3 instead of going through v1.1.0 ?
Prastoin
Prastoin2mo ago
yes you can, patch should never introduce new upgrade commands
Jay Patel
Jay PatelOP2mo ago
Now, I'm seeing the following unexpected file changes when I start or build the project. (Currently I switched to v1.0.0 as of now)
No description
Jay Patel
Jay PatelOP2mo ago
I've also cleaned the cache and run nx reset, but the terminal still gets stuck in v1.0.0 as well.
Prastoin
Prastoin2mo ago
What's your blocking error overall ? Please use latest 1.0 patch version Have you updated twenty shared ?
Jay Patel
Jay PatelOP2mo ago
No, I haven't updated the shared. What's your blocking error overall ?..- Try to build the project, and the terminal gets stuck without any error.
Jay Patel
Jay PatelOP2mo ago
It keeps going without any updates.
No description
Prastoin
Prastoin2mo ago
Ah yes sorry, interverted help topics in my head Could you please try: - git checkout v1.1.3 - git reset --hard origin/v1.1.3 ( please save any unstaged updates in a stash or whatever ) - yarn cache clear - yarn - npx nx reset - npx nx build twenty-shared --verbose
Jay Patel
Jay PatelOP2mo ago
No description
Jay Patel
Jay PatelOP2mo ago
Fixed with the below steps: npx nx reset rm -rf packages/twenty-shared/src/workflow rm -rf packages/twenty-shared/workflow rm -rf packages/twenty-shared/dist/workflow rm -rf node_modules dist .nx yarn install npx nx build twenty-shared --skip-nx-cache --verbose
Prastoin
Prastoin2mo ago
Cool ! enjoy the coding

Did you find this page helpful?