You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started getting this error recently. I believe that it is from the library createerror that is a dependency. How can I fix it?
TypeError: Cannot assign to read only property 'name' of function 'function Constructor(messageOrOptionsOrError, preserveError) {
if (preprocess) {
va...<omitted>... }'
at createError (/home/dev/web-node-server/server/node_modules/createerror/lib/createError.js:125:13)
at Object.<anonymous> (/home/dev/web-node-server/server/node_modules/httperrors/lib/HttpError.js:48:34)
at Module._compile (module.js:571:32)
at loader (/home/dev/web-node-server/server/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/dev/web-node-server/server/node_modules/babel-register/lib/node.js:154:7)