T
Twentyβ€’4mo ago
arnavsaxena

Getting @swc/core@npm:1.5.20 couldn't be built successfully logs can be found here:

Hi, earlier we could remove yarn.lock, node-modules; run yarn and then the project could be restarted. Now, with the new version, after removing yarn.lock, removing node modules it is giving the swc error. Subsequently yarn nx start twenty-server fails. How to fix?
No description
4 Replies
Unknown User
Unknown Userβ€’4mo ago
Message Not Public
Sign In & Join Server To View
charles
charlesβ€’4mo ago
npx nx run {package}:{command} example: npx nx run twenty-front:start @arnavsaxena you should never delete yarn.lock πŸ™‚ Get back to the latest version of main and make sure you have no git diff, it should be working You can delete your node_modules, they will be re-installed by running yarn
arnavsaxena
arnavsaxenaβ€’4mo ago
It worked. The problem was : node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^ [Failed to process project graph. Fixed it with npx nx reset. Shouldn't have to remove yarn.lock πŸ˜„ Thank you so much for the prompt responses. Our team is rooting for you guys!
charles
charlesβ€’4mo ago
You are welcome!
Want results from more Discord servers?
Add your server