Code Monkey home page Code Monkey logo

Comments (8)

thejefflarson avatar thejefflarson commented on July 24, 2024

Nevermind upped npm and it worked.

from ya-csv.

koles avatar koles commented on July 24, 2024

Thanks for posting the first bug report anyway :-)

from ya-csv.

ouvanous avatar ouvanous commented on July 24, 2024

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.

koles avatar koles commented on July 24, 2024

Can you please let me know which versions of node.js and npm are you using?

from ya-csv.

ouvanous avatar ouvanous commented on July 24, 2024

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.

alimony avatar alimony commented on July 24, 2024

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.

koles avatar koles commented on July 24, 2024

Thanks, fixed and version 0.1.6 published to the npm registry

from ya-csv.

ouvanous avatar ouvanous commented on July 24, 2024

Many thanks, it work for me.

from ya-csv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.