Closed monicasenapati closed 7 years ago
You don't need to clone. If you want to use as a module use npm install --save json2csv inside your project and if you want to use via the CLI, use -g instead.
Do you mean to run it by Npm install -g json2csv in the terminal directly?
Because I tried that. But when I run the command json2csv - h, it says that no such file or directory.
On Sep 29, 2016 8:01 PM, Ilya Radchenko notifications@github.com wrote:
You don't need to clone. If you want to use as a module use npm install --save json2csv inside your project and if you want to use via the CLI, use -g instead.
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zemirco/json2csv/issues/143#issuecomment-250633267, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUVUmTw7l65WesYSrcCc1IxG67Cq0O2xks5qvF95gaJpZM4KKkZJ.
Yes, I do that. On running the install command this is what I get.
/usr/local/bin/json2csv -> /usr/local/lib/node_modules/json2csv/bin/json2csv.js /usr/local/lib $B(&(!(!(B json2csv@3.7.0
But on running json2csv -h, it says that "/usr/bin/env: $B!F(Bnode$B!G(B: No such file or directory"
I am running this in the terminal on Ubuntu.
Thanks & regards,
Monica
From: Ilya Radchenko notifications@github.com Sent: 29 September 2016 19:35:30 To: zemirco/json2csv Cc: Senapati, Monica (UMKC-Student); Author Subject: Re: [zemirco/json2csv] installation of json2csv (#143)
[asciicast]https://asciinema.org/a/er5pbr1b8ljkkpgr2z40nc8c3
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zemirco/json2csv/issues/143#issuecomment-250637358, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUVUmVxCo1G7V2F92UPaOK_0NHsqa-sYks5qvGdigaJpZM4KKkZJ.
What version of node?
I just found out that nodejs wasn't installed. I didn't realise it needed something called node. The fact is I am new to this area, so I am not aware of these prerequisites.
However, I installed nodejs. And tried installing json2csv again. It worked.
And my node version is v4.2.6.
I have attached the debug logs from when there was a problem with the installation, just in case.
Thank you for your time.
From: Ilya Radchenko notifications@github.com Sent: 29 September 2016 20:24:17 To: zemirco/json2csv Cc: Senapati, Monica (UMKC-Student); Author Subject: Re: [zemirco/json2csv] installation of json2csv (#143)
What version of node?
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zemirco/json2csv/issues/143#issuecomment-250643255, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUVUmdNSRQYlWmFb2a9gJK1ioms5wxyeks5qvHLRgaJpZM4KKkZJ.
I have cloned this on my system. But when I install it via terminal using the following command npm install json2csv --save it shows an error. I am unable to install and run it via command line.