question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Library not working at all

See original GitHub issue

Subject of the issue

Library not working at all

Description

I have installed the package onto my server via npm - without any errors. I tried importing the plugin into my project. However, when doing $.csv.toArray(csv) I get the console error below. I then tried to open the example site provided. Same result: the library does not work and outputs said console error.
Am I doing something wrong or what else is up?

Environment

  • Platform: Browser
  • Version: Chrome 50
  • Usage: Load from file

Steps to reproduce

  • opened example site

Expected behaviour

  • examples should work…

Actual behaviour

  • examples do not work
  • console error message:

Uncaught TypeError: Cannot read property ‘toArray’ of undefined

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
evanplaicecommented, Jan 23, 2018

Awesome, I’m glad you got it working and appreciate your patience. It has been a while since I looked at the example code. I didn’t realize how out-of-date they were.

I’ll keep an eye out to see if anybody else has issues. I have experienced a weird stale cache issue with NPM once before. Hopefully, this isn’t the same sort of thing.

0reactions
evanplaicecommented, Jan 23, 2018

Is there anything preventing you from deleting the jquery-csv directory altogether? It sounds like you’re still running from an outdated version.

If you installed via npm, do npm remove --save jquery-csv && npm install --save jquery-csv.

The NPM version shouldn’t matter. NPM 5+ is just a new feature introduced in the latest major release. If you have mocha installed globally, you can still run the tests using mocha test/test.js. Or, if you install the devDependencies you can run them using npm run mocha test/test.js. I just make it a habit to avoid telling users to install any extras unless they plant to contribute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix App Library Not Working on iPhone
If your iPhone supports Face ID, press the Volume Up button, press the Volume Down button, and then press and hold the Side...
Read more >
App Library not working on iPhone? How to fix it!
You might experience a time when your App Library may stop working on iPhone. 1. Restart your iPhone 2. Check for iOS update...
Read more >
Creative Cloud Libraries panel stopped working
After reinstalling Creative Cloud desktop app, the Creative Cloud Libraries panel stopped working. Learn how to fix this problem.
Read more >
Troubleshoot the Unable to Connect to the Library Error
If you can't connect to the in-game library, it is likely due to a network connection issue.
Read more >
How To Fix Steam Library Sharing Not Working Issue?
If you are getting the “Steam Library Sharing Not Working” issue, the first thing you should do is to re-authorise your shared library....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found