16.2.1-alpha.1: Module not found: Error: Can't resolve 'jszip' in \node_modules\devextreme\client_exporter
See original GitHub issueI’m getting the following error with 16.2.1-alpha.1
ERROR in ./~/devextreme/client_exporter/excel_creator.js
Module not found: Error: Can't resolve 'jszip' in 'C:\temp\test-issue\node_modules\devextreme\client_exporter'
@ ./~/devextreme/client_exporter/excel_creator.js 15:12-28
@ ./~/devextreme/client_exporter.js
@ ./~/devextreme/viz/core/export.js
@ ./~/devextreme/viz/chart_components/base_chart.js
@ ./~/devextreme/viz/chart.js
@ ./~/devextreme-angular2/ui/chart.js
@ ./~/devextreme-angular2/index.js
@ ./src/app/app.module.ts
@ ./src/app/index.ts
@ ./src/main.ts
@ multi main
I’m using angular-cli
with this setup:
// angular-cli.json
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/devextreme/dist/js/dx.all.js"
],
// app.module.ts
imports: [
BrowserModule,
(...)
DevExtremeModule
],
In 16.1.7
this works fine.
I also tried to change the scripts
section of angular-cli.json
to
// angular-cli.json
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/devextreme/dist/js/jszip.min.js",
"../node_modules/devextreme/dist/js/dx.all.js"
],
but the problem remains.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Module not found: Error: Can't resolve 'stream' in 'C:\dev\jszip ...
After reading this post I found out that the stream package was missing from my project. You can install it by running the...
Read more >JSZip problem updating to wijmo 5.20191... in Angular project
Module not found : Error: Can't resolve 'stream' in This issue is not because of wijmo. It is because of the Angular >6...
Read more >jszip - npm
A library for creating, reading and editing .zip files with JavaScript, with a lovely and simple API. See https://stuk.github.io/jszip for all ...
Read more >dxDataGrid - Can't resolve 'stream' error occurs in Angular ...
Module not found : Error: Can't resolve 'stream' in 'D:\Projects\PaxSinica-CMS\paxsinica-cms\node_modules\jszip\lib'.
Read more >How to use JSZip
Create .zip files using JavaScript. Provides a simple API to place any content generated by JavaScript into a .zip file for your users....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am still getting this issue in version 18.1.3 ?
I’m getting same error in 18.1.6 for command devextreme-bundler