Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start error #19

Open
MilanRadon opened this issue Mar 4, 2020 · 3 comments
Open

Start error #19

MilanRadon opened this issue Mar 4, 2020 · 3 comments

Comments

@MilanRadon
Copy link

MilanRadon commented Mar 4, 2020

I have a problem with starting project. What is wrong?
Snímek obrazovky 2020-03-04 v 12 46 39

@r06521601
Copy link

the same

@MaximilianFranz
Copy link

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.

@OrangeCat3
Copy link

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants