Comments (8)
Nevermind upped npm and it worked.
from ya-csv.
Thanks for posting the first bug report anyway :-)
from ya-csv.
Hi,
I have the same kind of error and even if i update npm it does not work anymore ?
require('ya-csv')
Error: Cannot find module 'ya-csv'
at Function._resolveFilename (module.js:299:11)
at Function._load (module.js:245:25)
at require (module.js:327:19)
at [object Context]:1:1
at Interface. (repl.js:150:22)
at Interface.emit (events.js:42:17)
at Interface._onLine (readline.js:132:10)
at Interface._line (readline.js:387:8)
at Interface._ttyWrite (readline.js:564:14)
at ReadStream. (readline.js:52:12)
from ya-csv.
Can you please let me know which versions of node.js and npm are you using?
from ya-csv.
Hi and thanks for your reply.
I use nodejs 0.4.2 installed via n (https://github.com/visionmedia/n) and npm 0.3.15
I use ya-csv for a project and everythings worked well but i don' t know what is the problem and when it appears.
I tried to moved to nodejs 0.2.6 this morning but npm 0.3.15 seems not to be compatible with it ?
Thanks,
from ya-csv.
It seems like the package.json for ya-csv is missing a 'main' key, as specified by the node.js module documentation. I added this line to package.json of ya-csv 0.1.5 to get it working:
"main" : "./lib/ya-csv",
My copy of the package.json file resided at:
/usr/local/lib/node/.npm/ya-csv/0.1.5/package/package.json
from ya-csv.
Thanks, fixed and version 0.1.6 published to the npm registry
from ya-csv.
Many thanks, it work for me.
from ya-csv.
Related Issues (20)
- Why do you support only linux or darwin?
- How to catch error HOT 4
- createCsvStreamRead readStream set to undefined?
- Add ability to parse strings HOT 1
- Don't crash when passed a binary file HOT 5
- Last field is set as undefined if it is empty
- publish 0.9.3 to npm HOT 2
- csv files with single quotes fail HOT 1
- Add unicode support! HOT 3
- Option to make escaping optional
- Improvement: Allow periods in column names for property grouping HOT 1
- Writing to a file/stream breaks because writableStream does not have the setEncoding method HOT 2
- How to read a csv file if it's residing in a password protected location? HOT 1
- reader.pause() doesn't seem to work HOT 1
- how to run this project ? HOT 1
- There is no clear way to close a CsvFileWriter HOT 1
- Escaped Quotes at the end of a chunk are incorrectly ignored.
- Console.loged reader out put for a large file, and got "... 924 more items" instead of the other items. HOT 9
- Support writing object records
- column
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ya-csv.