Glimpse / Home

Project Glimpse: Node Edition - Spend less time debugging and more time developing.
http://node.getglimpse.com
Other
252 stars 9 forks source link

TypeError: Cannot assign to read only property 'createGzip' of object '#<Object>' #115

Closed hbakhtiyor closed 7 years ago

hbakhtiyor commented 7 years ago

Node: 8.0.0 @glimpse/glimpse: 0.20.9

Getting error when i just start app.

/demo/node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js:228
                            pkg[prop] = this.instruCbReg(config, prop, pkg[prop], newPath);
                                      ^

TypeError: Cannot assign to read only property 'createGzip' of object '#<Object>'
    at AsyncTrack.instrument (/demo/node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js:228:39)
    at Module.asyncTrackRequire [as require] (/demo/node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js:112:26)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/demo/node_modules/request/request.js:8:12)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
mike-kaufman commented 7 years ago

Thanks for reporting this @hbakhtiyor. Currently, we don't support node 8.0. We do support node 4.x through 7.x inclusive though.

We'll let you know when we have things running smoothly on node 8.

bonesoul commented 7 years ago

same error.

mike-kaufman commented 7 years ago

This has been fixed with latest release of glimpse - version 0.22.11. We also support node 8.0 & 8.1 now (but not async/await). See release notes here: http://node.getglimpse.com/updates/v0_22.11/.

Please let us know if you encounter any issues.