Library not working at all
See original GitHub issueSubject 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:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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 usingnpm run mocha test/test.js
. I just make it a habit to avoid telling users to install any extras unless they plant to contribute.