Skip to content

Error with Angular 8 #21

Open
Open
@ikretinin

Description

@ikretinin

Hello!
I tried to update Angular version to 8 and encountered an error:
ERROR in ./node_modules/exceljs/dist/es5/csv/csv.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\exceljs\dist\es5\csv' ERROR in ./node_modules/exceljs/dist/es5/utils/utils.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\exceljs\dist\es5\utils' ERROR in ./node_modules/exceljs/dist/es5/xlsx/xlsx.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\exceljs\dist\es5\xlsx' ERROR in ./node_modules/fast-csv/lib/index.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib' ERROR in ./node_modules/fast-csv/lib/formatter/index.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\formatter' ERROR in ./node_modules/fast-csv/lib/formatter/formatter_stream.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\formatter' ERROR in ./node_modules/fast-csv/lib/formatter/formatter.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\formatter' ERROR in ./node_modules/fast-csv/lib/parser/index.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\parser' ERROR in ./node_modules/fast-csv/lib/parser/parser_stream.js Module not found: Error: Can't resolve 'fs' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\parser' ERROR in ./node_modules/fast-csv/lib/extended.js Module not found: Error: Can't resolve 'os' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib' ERROR in ./node_modules/exceljs/dist/es5/utils/stream-buf.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\exceljs\dist\es5\utils' ERROR in ./node_modules/fast-csv/lib/formatter/index.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\formatter' ERROR in ./node_modules/fast-csv/lib/formatter/formatter_stream.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\formatter' ERROR in ./node_modules/fast-csv/lib/formatter/formatter.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\formatter' ERROR in ./node_modules/fast-csv/lib/parser/index.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\parser' ERROR in ./node_modules/fast-csv/lib/parser/parser_stream.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\fast-csv\lib\parser' ERROR in ./node_modules/jszip/lib/readable-stream-browser.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\ikretinin\Documents\Lm.Vacuum\GMCS.LM.Vacuum.Web\ClientApp\node_modules\jszip\lib'

How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions