0

I am trying to use Papaparse to parse a csv file with vue but I am having trouble installing it. I am using npm to install papaparse and I use the command: npm install papaparse However, npm gives me these warnings: WARN uiv@0.11.11 requires a peer of bootstrap@^3.3.7 but none was installed. and WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}). From this, I assume it needs me to use bootstrap but on papaparse, it states that it does not require any dependencies? How can I properly install papaparse so that I may use it on my vue project?

AJ Goudel
  • 339
  • 5
  • 14
  • 1
    Do you have any other packages installed? You might have better luck asking on the issues page https://github.com/mholt/PapaParse/issues. – Asking Questions Dec 27 '17 at 16:47
  • You can ignore the second warning. The `fsevents` package is not being installed because is for MacOS only (https://github.com/npm/npm/issues/12497). – yuriy636 Dec 27 '17 at 18:50

1 Answers1

0

I only added the papaparse.min.js file to my web project and added to the bundleConfig, compile and

Papa.parse

worked instantly.

Only be careful with the routes where the file was saved.

David Castro
  • 1,773
  • 21
  • 21