-
Notifications
You must be signed in to change notification settings - Fork 83
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
unable to get examples to work #151
Comments
@hchou-godaddy I just tried this myself and didn't experience any problems. Let's see if we can figure out what's different on your system. What operating system are you using? (I'm on MacOS.) Give this a try... From the root folder of the repository, run From the root folder of the repository, run From the root folder of the repository, run In the browser tab for the demos, see if you can successfully run the "Hello World" demo. If the demo gets stuck on the "loading" screen, open the browser console and look for errors. (If this happens it's usually because you've failed to add your Cognito Identity Pool ID to the application's code.) |
Hello! You can try this branch which removed build tools, and runs all examples as plain JavaScript right in the browser: This is simpler for end users so they don't encounter issues, plus will be easier for maintainers without having to worry about build tools breaking. Furthermore, TypeScript support is improved in this branch that is continued from the previous one, in case you need type support for the Babylon host code. I am currently investigating the Babylon 5/6 bug, then we can merge these changes. If you are using Three.js, no issues. |
Followed the instructions for the babylon demo folder. it says go to root folder to run
npm install
and thennpm run start-babylon
. Two browser tabs open up, but when clicking on any of the demo links get lots of compile error like this:ERROR in ./packages/amazon-sumerian-hosts-babylon/src/Babylon.js/HostObject.js 8:0-64
Module not found: Error: Can't resolve '@babylonjs/core/Loading/sceneLoader' in '/Users/username/pp/amazon-sumerian-hosts/packages/amazon-sumerian-hosts-babylon/src/Babylon.js'
Are there some missing instructions?
The text was updated successfully, but these errors were encountered: