From ac2835d7529f405b5f59b7c5e89f054389f03393 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Sat, 29 Feb 2020 10:01:40 +0100 Subject: [PATCH] Fix jszip build error ERROR in ./node_modules/jszip/lib/readable-stream-browser.js Module not found: Error: Can't resolve 'stream' in '/home/niklas/Projekte/finanztopf/node_modules/jszip/lib' [ERROR] An error occurred while running subprocess ng. https://github.com/DevExpress/devextreme-angular/issues/776 --- tsconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index ffe0123..0da4699 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,12 @@ "lib": [ "es2018", "dom" - ] + ], + "paths": { + "jszip": [ + "node_modules/jszip/dist/jszip.min.js" + ] + } }, "angularCompilerOptions": { "fullTemplateTypeCheck": true,