stacktracejs / stacktrace.js

Generate, parse, and enhance JavaScript stack traces in all web browsers
https://www.stacktracejs.com/
MIT License
3.98k stars 282 forks source link

printStackTrace is not defined #122

Closed Aardvark71 closed 9 years ago

Aardvark71 commented 9 years ago

When I'm trying the very basics (reference to the rawgithub stacktrace.js and calling var trace = printStackTrace();.. (the basic example on http://www.stacktracejs.com) I get "Uncaught ReferenceError: printStackTrace is not defined" error.

I also see an error on the stacktrace.js file itself (Uncaught TypeError: Cannot read property 'polyfill' of undefined ; @stacktrace.js:12)...

Anything broke with the last version or am I just missing something obvious?

Aardvark71 commented 9 years ago

Oh... never mind... just installed stacktrace.js trough node packet manager (npm install stacktrace.js) and this gives me a completely different stacktrace.js file than the rawgithub ... Works for me now