twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Cannot find module './cli.js'

Open jackyoung022 opened this issue 1 year ago • 2 comments

Bug Description

When I was following the docs to deploy twenty by Docker, there was this Error in my machine: I tried in MacOS and CentOS, same issue.

jackyoung022 avatar Jan 04 '24 10:01 jackyoung022

I'm also getting this same issue on MacOS Screenshot 2024-01-04 at 3 37 34 AM

johnyang33 avatar Jan 04 '24 11:01 johnyang33

image

I have encountered the same issue on WSL (Ubuntu 20.04.5 LTS), but not on Docker. It was the local setup.

From me, it was fixed by resetting the workspace to the original by git reset --hard then execute yarn nx database:init twenty-server again.

It was perfectly working fine yesterday with the same setup, so I guess some left-over caches can cause a problem?

I will come back to this issue to see how to reproduce the issue and solve it properly.

Jeong-Min-Cho avatar Jan 05 '24 02:01 Jeong-Min-Cho

We updated the NX setup so this probably shouldn't occur anymore with yarn nx

FelixMalfait avatar Jan 17 '24 16:01 FelixMalfait