stacktracejs / error-stack-parser

Extract meaning from JS Errors
https://www.stacktracejs.com/#!/docs/error-stack-parser
MIT License
456 stars 52 forks source link

error: StackFrame is not a constructor, when I installed a new verison #77

Closed fengshengbing closed 2 years ago

fengshengbing commented 2 years ago

ERROR TypeError: StackFrame is not a constructor 10:58:23 TypeError: StackFrame is not a constructor 10:58:23 at Object. (/**/node_modules/error-stack-parser/error-stack-parser.js:76:24)

what's wrong? the new version has changed the usage?

MrJxy commented 2 years ago

same problem

neekychan commented 2 years ago

same problem

Yumwey commented 2 years ago

same problem

MyCodeMyWorld commented 2 years ago

same problem

maxzhaobing commented 2 years ago

same problem

rduu0001 commented 2 years ago

also happen to me. I have tried to modify require('stackframe') to require('stackframe').default. it seems to work

hustlz commented 2 years ago

same problem

guxiansheng1991 commented 2 years ago

same problem

hustlz commented 2 years ago

image

this line lead error

dupeiduo commented 2 years ago

same problem

tlongzou commented 2 years ago

I found commit is already fix this problem, but not release for 2.x.x version, pls release, THX @eriwen

owen800q commented 2 years ago

Same issue

1166544 commented 2 years ago

Same issue

leegocode commented 2 years ago

Same issue

dupeiduo commented 2 years ago

solved

owen800q commented 2 years ago

@dupeiduo May I know is the fix already released on npm?

eriwen commented 2 years ago

I just released error-stack-parser 2.1.2 to solve this issue: https://www.npmjs.com/package/error-stack-parser/v/2.1.2

Please update and let me know if you still have any troubles.

owen800q commented 2 years ago

@eriwen Working now