Open fulup-bzh opened 9 years ago
Same error.
It is possible to turn around this issue by adding 'use strict' in all your modules while not enforcing --use_strict at command level. I found out few other modules that I use 'ie: Jison' that are incompatible with global --use_strict.
This being said, I love the --use_strict that save me a huge amount of time in debug. Hopefully soon every published NodeJS module will enforce it.
No my issue was triggered by using 'use strict' in the module
This is not a critical issue, but hopefully someone is going to fix it. Software developers need everything '--use_strict', 'trace', 'debug', .... Debugger is an other key component that does not work with '--use_strict'
Looks like its been fixed in a fork :
+1
+1
+1
I use traceback since now a while. But my new NodeJS Policy moved to "--strict_mod" everywhere. In fact I really think that this should be NodeJS default policy, but that's an other story.
Unfortunately "traceback" fail when run in "strict_mode" here after the error. frame.type = frame.getTypeName() ^ TypeError: Cannot read property 'constructor' of undefined at CallSiteGetTypeName (native)