T
Twenty2mo ago
piket23

Not able to run the server

I run the command : NODE_OPTIONS="--max-old-space-size=4096" npx nx start twenty-server . I prefixed it with NODE_OPTIONS to accomodate it enough ram for its running, it ran but after some time this error was thrown, I checked it then I found in package.json the main command is pointing to right file path: dist/src/main.js but the error says it is finding in dist/main.js. Help me with this.
No description
3 Replies
Prastoin
Prastoin2mo ago
Hello Npx commands aren't listed in the package JSON script entry Looks like you're having hard time building the twenty server for some reason Does this occur all the time ?
piket23
piket23OP2mo ago
I have tried building it several times: first the virtual box size was not enough so I incremented that then node js size I incremented I followed each instruction again and then got stuck again at the last point.
Prastoin
Prastoin2mo ago
It seems like you don't have enough space to install all the required dependencies for the server to work I would recommend keeping increasing the available disk space until you're able to run a complete successful yarn installation

Did you find this page helpful?