library icon indicating copy to clipboard operation
library copied to clipboard

URGENT: Build error due too an upgrade of the dependency `ts-custom-error`

Open anthony-bt opened this issue 3 years ago • 4 comments

Describe the bug A dependency has been updated some days ago and now an error occurs at the build.

Error: node_modules/ts-custom-error/dist/custom-error.d.ts:3:45 - error TS2304: Cannot find name 'ErrorOptions'.
constructor(message?: string, options?: ErrorOptions);

To Reproduce Install these libraries in Angular project but maybe without you can get the error.

"@zxing/browser": "0.1.1",
"@zxing/library": "0.19.1",
"@zxing/ngx-scanner": "3.5.0"

If the default dependency "ts-custom-error": "3.3.0" is installed then the library will not compile in my project. But if I force the installation of the previous version "ts-custom-error": "3.2.2" all will work well.

anthony-bt avatar Oct 25 '22 13:10 anthony-bt

Same problem Here! thanks for the quick solution. I downgraded

ettorepane avatar Oct 25 '22 14:10 ettorepane

Same problem!

hermancarrasco avatar Oct 25 '22 14:10 hermancarrasco

Stale issue message

github-actions[bot] avatar Apr 29 '24 09:04 github-actions[bot]