I am learning webpack-loader, and using csv-loader to load a csv file.
I have already install the csv-loader and add the rule. However, webpack log an
error: Cannot find module 'papaparse'.
How do this error happened?
I am learning webpack-loader, and using csv-loader to load a csv file.
I have already install the csv-loader and add the rule. However, webpack log an
error: Cannot find module 'papaparse'.
How do this error happened?
Indeed, it looks like papaparse
is declared as a dependency within csv-loader
which does not install by default after npm 3. You can just install it yourself using the following:
npm install --save-dev papaparse