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

Cannot read property '1' of null #3

Open
alessioalex opened this issue Jun 25, 2014 · 5 comments
Open

Cannot read property '1' of null #3

alessioalex opened this issue Jun 25, 2014 · 5 comments

Comments

@alessioalex
Copy link

$ node tracegl.js server-test.js
[trace.GL] See your code.
[trace.GL] WebGL trace UI: http://0.0.0.0:2000

c:\Users\avladutu\Desktop\node_tests\tracegl-impl\tracegl.js:4023
n = define.factory[k].toString().match(/\/\/CHANNEL\n([\s\S]*)\/\/CHANNEL/)[1]
                                                                           ^
TypeError: Cannot read property '1' of null
    at mkHead (c:\Users\avladutu\Desktop\node_tests\tracegl-impl\tracegl.js:4023:84)
    at instrument (c:\Users\avladutu\Desktop\node_tests\tracegl-impl\tracegl.js:4029:20)
    at Module.m._compile (c:\Users\avladutu\Desktop\node_tests\tracegl-impl\tracegl.js:41:12)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at Function.require (module.js:380:17)
    at nodeLoader (c:\Users\avladutu\Desktop\node_tests\tracegl-impl\tracegl.js:53:10)
    at Object./trace/trace_server (c:\Users\avladutu\Desktop\node_tests\tracegl-impl\tracegl.js:28:65)
@alessioalex
Copy link
Author

I get this every time I run tracegl.

@vedran-maestral
Copy link

I confirm this issue

@iamisti
Copy link

iamisti commented Dec 26, 2014

I'm getting it as well. Every time I run it, it says
"Cannot ready property '1' of null"

@devfacet
Copy link

Use this fork https://github.com/cmfatih/tracegl

@JogoShugh
Copy link

@cmfatih thank you! it worked.

I was able to run the original code on Ubuntu 14.0.4, but I needed to use your fork to get it to run in Windows 7.

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.

5 participants