Hi everyone! I’ve been facing an issue trying to set up local development environment of Speckle.
So I’ve followed the instructions on this page. I’ve cloned the repository, making sure to use node v18, having docker set up, and followed the steps–from corepack enable
to yarn dev
.
However, during yarn dev
, I’ve always faced this error:
[@speckle/frontend-2]: [0] ERROR Pre-transform error: Failed to resolve entry for package "@speckle/viewer". The package may have incorrect main/module/exports specified in its package.json. (x10704)
the message would appear continuously, non-stop, and the speckle server never run (calling http://127.0.0.1:3000 will return nothing).
Here’s my current machine specification:
OS: Ubuntu 22.04.5 LTS x86_64
Host: ASUS TUF Gaming F15 FX506HC_FX506
Kernel: 5.15.0-125-generic
Uptime: 2 hours, 31 mins
Packages: 2021 (dpkg), 25 (snap)
Shell: bash 5.1.16
Resolution: 1600x900, 1920x1080, 1920x1
DE: GNOME 42.9
WM: Mutter
WM Theme: Adwaita
Theme: Yaru-dark [GTK2/3]
Icons: Yaru [GTK2/3]
Terminal: terminator
CPU: 11th Gen Intel i5-11400H (12) @ 4.
GPU: NVIDIA GeForce RTX 3050 Mobile
GPU: Intel TigerLake-H GT1 [UHD Graphic
Memory: 6131MiB / 15727MiB
What do you think went wrong? Did I miss something, some extra steps to do? Have you ever found an issue like this too?
Thank you in advance!