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

The "Hello world" example fails #12719

Closed
2 of 12 tasks
Mann90 opened this issue Nov 21, 2017 · 2 comments · Fixed by RobotWebTools/ros3djs#250
Closed
2 of 12 tasks

The "Hello world" example fails #12719

Mann90 opened this issue Nov 21, 2017 · 2 comments · Fixed by RobotWebTools/ros3djs#250

Comments

@Mann90
Copy link

Mann90 commented Nov 21, 2017

Description of the problem

The "Hello world" example (https://threejs.org/docs/index.html#manual/introduction/Creating-a-scene) is broken in r88.

I got the error message in the Chrome DevTool console: 'three.js:35947 Uncaught SyntaxError: Unexpected number'.

Three.js version
  • Dev
  • [X ] r88
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)

helloworld.zip

@looeee
Copy link
Collaborator

looeee commented Nov 21, 2017

Checking line 35947 of your three.js file I see this:

this.aStartAngle = aStartAngle ||Â 0;

Not sure where the  came from, but removing it fixes the issue.

Perhaps we should change the tutorial to reference three.js this way, what do you think?
<script src="https://threejs.org/build/three.min.js"></script>

@mrdoob
Copy link
Owner

mrdoob commented Nov 22, 2017

#12634

@mrdoob mrdoob closed this as completed Nov 22, 2017
mvollrath added a commit to EndPointCorp/ros3djs that referenced this issue Jan 28, 2019
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

Successfully merging a pull request may close this issue.

3 participants