Currently, I am facing an issue in my project where after deleting and re-installing node_modules to resolve errors, the definition of 'Papa' is missing. As a result, when npm updated the node modules again, Angular 2 is unable to find 'Papa.'
I attempted to solve this by adding
import {} from '../../papaparse.min.js'
to reference the location of the papaparse file, but unfortunately, this did not work.
Do I need to add a specific module to my app.module again? I initially used the npm install papaparse
command to install papaparse.