Francisco Carvalho
Results
2
comments of
Francisco Carvalho
trafficstars
"Error: Must use import to load ES Module" when importing 'react-force-graph-2d' in a NextJS project
> This works for me. > > ``` > const ForceGraph3D = dynamic(() => import('react-force-graph-3d'), { > ssr: false, > }) > ``` this works partially but breaks forward refs...
Managed to compile after doing the following: ``` apt-get install libc++-dev wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" | sudo tee -a /etc/apt/sources.list...