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

Errors when running locally #5

Open
donmccurdy opened this issue Nov 17, 2017 · 0 comments
Open

Errors when running locally #5

donmccurdy opened this issue Nov 17, 2017 · 0 comments

Comments

@donmccurdy
Copy link

Tried to get this running locally and ran into some errors.

Steps to reproduce:

  1. Clone / download project.
  2. npm i -g live-server && live-server .
  3. Open localhost:8080
  4. Errors in console.
Full output (text)
Document was loaded from Application Cache with manifest http://127.0.0.1:8080/snappytree.appcache
:8080/#seed=262&segments=6&levels=5&vMultiplier=2.36&twigScale=0.39&initalBranchLength=0.49&lengthFalloffFactor=0.85&lengthFalloffPower=0.99&clumpMax=0.454&clumpMin=0.404&branchFactor=2.45&dropAmount=-0.1&growAmount=0.235&sweepAmount=0.01&maxRadius=0.139&climbRate=0.371&trunkKink=0.093&treeSteps=5&taperRate=0.947&radiusFalloffRate=0.73&twistRate=3.02&trunkLength=2.4&trunkMaterial=TrunkType1&twigMaterial=BranchType6:1 Application Cache Checking event
:8080/#seed=262&segments=6&levels=5&vMultiplier=2.36&twigScale=0.39&initalBranchLength=0.49&lengthFalloffFactor=0.85&lengthFalloffPower=0.99&clumpMax=0.454&clumpMin=0.404&branchFactor=2.45&dropAmount=-0.1&growAmount=0.235&sweepAmount=0.01&maxRadius=0.139&climbRate=0.371&trunkKink=0.093&treeSteps=5&taperRate=0.947&radiusFalloffRate=0.73&twistRate=3.02&trunkLength=2.4&trunkMaterial=TrunkType1&twigMaterial=BranchType6:1 Application Cache NoUpdate event
(index):189 Live reload enabled.
(index):159 GET http://www.google-analytics.com/ga.js net::ERR_FAILED
(anonymous) @ (index):159
(anonymous) @ (index):160
glge-compiled-min.js:28 XHR finished loading: GET "http://127.0.0.1:8080/scene.xml".
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
glge-compiled-min.js:28 GLGE error: Couldn't link shader: Uniforms with the same name but different type/precision: worldInverseTranspose�
glge-compiled-min.js:28 GLGE error: Couldn't link shader: Uniforms with the same name but different type/precision: worldInverseTranspose�
glge-compiled-min.js:28 WebGL: INVALID_OPERATION: useProgram: program not valid
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
glge-compiled-min.js:28 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
a.getUniformLocation @ glge-compiled-min.js:28
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
2glge-compiled-min.js:28 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
a.getAttribLocation @ glge-compiled-min.js:28
a.Mesh.GLAttributes @ glge-compiled-min.js:28
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
glge-compiled-min.js:28 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
a.getAttribLocation @ glge-compiled-min.js:28
a.Mesh.GLAttributes @ glge-compiled-min.js:28
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
glge-compiled-min.js:28 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
a.getAttribLocation @ glge-compiled-min.js:28
a.Mesh.GLAttributes @ glge-compiled-min.js:28
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
glge-compiled-min.js:28 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
a.getAttribLocation @ glge-compiled-min.js:28
a.Mesh.GLAttributes @ glge-compiled-min.js:28
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
glge-compiled-min.js:28 Uncaught TypeError: Cannot read property 'itemSize' of undefined
    at a.Mesh.GLAttributes (glge-compiled-min.js:28)
    at a.Object.GLRender (glge-compiled-min.js:28)
    at a.Scene.render (glge-compiled-min.js:28)
    at a.Renderer.render (glge-compiled-min.js:28)
    at a.Document.XMLdoc.onLoad (main.js:345)
    at a.Document.finishedLoading (glge-compiled-min.js:28)
    at a.Document.loaded (glge-compiled-min.js:28)
    at XMLHttpRequest.d.onreadystatechange (glge-compiled-min.js:28)
a.Mesh.GLAttributes @ glge-compiled-min.js:28
a.Object.GLRender @ glge-compiled-min.js:28
a.Scene.render @ glge-compiled-min.js:28
a.Renderer.render @ glge-compiled-min.js:28
XMLdoc.onLoad @ main.js:345
a.Document.finishedLoading @ glge-compiled-min.js:28
a.Document.loaded @ glge-compiled-min.js:28
d.onreadystatechange @ glge-compiled-min.js:28
XMLHttpRequest.send (async)
a.Document.loadDocument @ glge-compiled-min.js:28
a.Document.load @ glge-compiled-min.js:28
(anonymous) @ main.js:357
ready @ jquery-1.4.4.min.js:29
u @ jquery-1.4.4.min.js:37
:8080/favicon.ico:1 GET http://127.0.0.1:8080/favicon.ico net::ERR_FAILED
:8080/favicon.ico:1 GET http://127.0.0.1:8080/favicon.ico net::ERR_FAILED

screen shot 2017-11-16 at 4 04 33 pm

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

1 participant