Error: Can't resolve 'stream' in .... papaparse
Asked Answered
M

1

8

Im getting this error using ngx-papaparse in angular. It was working, I then tried adding jquery to my project, and in the process was warned of security issues, so I followed instructions and tried npm audit fix. In the process something seems to have gone awry and now I'm getting...

ERROR in ./node_modules/papaparse/papaparse.min.js Module not found: Error: Can't resolve 'stream' in '/mnt/c/Users/j2wil/Documents/CodingDojo/projects/Scouts/public/node_modules/papaparse

I've tried a number of things including removing node_modules and npm install. Also deleting packages.json and reinstalling. But I keep seeing the same error.

Meadowlark answered 7/6, 2018 at 17:21 Comment(1)
seems to be related to github.com/mholt/PapaParse/issues/517Dying
A
9

I had the similar issue. Please try installing the stream package.

npm install stream --save
Austerity answered 15/10, 2018 at 9:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.