Open MilanRadon opened 4 years ago
the same
If still relevant, I've been able to fix the problem by simply moving Viewer.js
and Viewers.js
from src/
into demo/src
and updating /removing all the references to xeokit-react
within the demo. This way, there is no dependency to the extra package and the babel parsing works like expected on the react files.
@MaximilianFranz @r06521601 today i solved this problem, first i switch my nodejs v16 to v12, then npm run build and download xeokit-sdk(source code) to src/build , change all import sdk way in viewer.js/viewers.js such as import { NavCubePlugin } from './xeokit-sdk/src/plugins/NavCubePlugin/NavCubePlugin'; last, switch to demo and npm run start! success!
I have a problem with starting project. What is wrong?