Module not found: Error: Can't resolve 'stream' in 'C:\dev\jszip-test\node_modules\jszip\lib'

28,663

After reading this post I found out that the stream package was missing from my project.

You can install it by running the following command:

npm i stream
Share:
28,663
Ricardo Rocha
Author by

Ricardo Rocha

🧐 Who is this man? 💻 Full Stack Web Developer and in love with javascript and everything around. 👨‍💻 Works daily with C#, angular, and SQL and likes it! ✨ Deep learning enthusiastic, especially if works with javascript 😀 📚 Learn addicted. 🤓 Proud nerd! 🎷 Saxophone player.

Updated on July 09, 2022

Comments

  • Ricardo Rocha
    Ricardo Rocha almost 2 years

    I'm using jszip v3.2.1 in an angular 7 application. When I build my project (running, for example, npm start) I'm getting the following error:

    ERROR in ./node_modules/jszip/lib/readable-stream-browser.js

    Module not found: Error: Can't resolve 'stream' in 'C:\dev\jszip-test\node_modules\jszip\lib'

    How can I solve this problem?

  • Mohamad Al Asmar
    Mohamad Al Asmar over 4 years
    it is a bug in "readable-stream" itself, it is missing package stream in the dependencies.