AlexanderMac / http-z

Parse/build HTTP message to/from model
MIT License
18 stars 6 forks source link

Error.captureStackTrace is not a function #39

Closed FrancYescO closed 4 years ago

FrancYescO commented 4 years ago

using it in vuejs any HttpZError exception will throw in Error.captureStackTrace is not a function

AlexanderMac commented 4 years ago

http-z is server-side package for now and it doesn't work on the client (or works with bugs). How do you build it for client? Using webpack?

FrancYescO commented 4 years ago

Yes

AlexanderMac commented 4 years ago

Then the problem is in Webpack, how it bundles node.js modules. Wait until the official client bundle will be created: #31