omg... Frank, your original post does not indicate that you read the docs, only a book. the natural way of education about a new library is to read docs first. second, it is always the best way to seed a hint and point to the official documentation together. so you don't have to relie on more or less subjective opinions, but to use them to improve your own understanding of the docs.
In respect of that all your helpers including Ben did a great job: personal explanation in a varariety plus examples plus the link to official documentation. you should be thankful to all of them. I'm sure, in abscence of explanational posts and examples, Ben would have contributed more to your education. And i'm sure there are more ppl who read this thread and didn't post anything, because all has been said already. In general, if someone tells you to read the docs, want you to contribute youreself to a better understanding, beyond a specific aspect. besides there is a common sense about how to ask questions, and honestly, you did this one not very well. at last: a good tone is the grain of a community. more of such reactions, and be sure, soon noone will want to support beginners anymore, because noone like to be insulted even less by a rookie. Great job anyone, never thought about package,json in so many different ways :) for me it was always a package descriptor, pretty much like pom.xml in maven or gemspec in ruby. which seems so common to me, that i didn't though someone would have real struggles to understand it. Greets greelgorke Am Donnerstag, 27. März 2014 04:07:55 UTC+1 schrieb Frank Z: > > But Ben, you didn't try to help me. It would be an unearned "Thank You" if > I said Thanks. I cleared was asking for specific information on a specific > subject, and like many people on websites like stack overflow, you just > send me over to the documentation; which is ridiculous frankly. If you > asked someone how to put a lid on a blender and they tossed you a 50 page > manual, you'd be justified to tell them to go to F*cking Hell. > > These other kind people took the time to try to address my specific > problem in their own words, you didn't. It wouldn't be fair to THEM for me > to thank your laziness. > > > On Wed, Mar 26, 2014 at 10:05 PM, Ben Taber <[email protected]<javascript:> > > wrote: > >> Wow, a simple "Thank you, but I've read those docs and I'm still confused >> about x, y, and z" would have sufficed. Instead you've insulted me for >> trying to help, and the people who authored or contributed to those docs >> that "suck". >> >> Personally, I found the combination of those two pieces of documentation, >> plus a bit of experimentation, to be very helpful in grasping the concepts. >> >> Good luck figuring it out. >> >> Ben >> >> >> On Wednesday, March 26, 2014 3:21:21 PM UTC-6, Frank Z wrote: >> >>> Everyone has been helpful except Ben. Just pointing me to >>> documentation...Shame. I've been to those sites and their explanations >>> suck, that's why I'm here! >>> >>> Otherwise, thank you Angel Java Lopez, Matt, and Aria Stewart for trying >>> your best to answer my questions! >>> >>> >>> On Wed, Mar 26, 2014 at 3:44 PM, Ben Taber <[email protected]> wrote: >>> >>>> node's docs on how modules are loaded, and how package.json files are >>>> looked up >>>> http://nodejs.org/docs/latest/api/modules.html >>>> >>>> npm's docs on the fields in package.json >>>> https://www.npmjs.org/doc/json.html >>>> >>>> Read through both and you should have a pretty good understanding. >>>> >>>> >>>> On Wednesday, March 26, 2014 8:49:42 AM UTC-6, Frank Z wrote: >>>>> >>>>> I bought a book on Node.js since I'm teaching myself backend >>>>> development, and in this book the author talks about the importance of >>>>> package.json files. He emphasizes that it's great for keeping track of >>>>> module dependencies in a json format, and installing them all at once >>>>> using >>>>> "npm install" in a terminal. So far so good... >>>>> >>>>> But how do I assign my package.json to a particular node.js file? Just >>>>> stick it in the same folder??? Does it not clash with the package.json >>>>> file >>>>> that comes with locally installed npm modules? Do I just make the Name >>>>> key >>>>> in the json file the exact same as my js file? >>>>> >>>>> Maybe the package.json is simply for putting your project on npm? >>>>> >>>>> I'm totally confused.... >>>>> >>>>> Would be cool if there was a node.js expert I could chat with over >>>>> skype. I'm so lost. >>>>> >>>> -- >>>> -- >>>> Job Board: http://jobs.nodejs.org/ >>>> Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List- >>>> Posting-Guidelines >>>> You received this message because you are subscribed to the Google >>>> Groups "nodejs" group. >>>> To post to this group, send email to [email protected] >>>> >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> >>>> For more options, visit this group at >>>> http://groups.google.com/group/nodejs?hl=en?hl=en >>>> >>>> --- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "nodejs" group. >>>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>>> topic/nodejs/RK3EL4f2GUM/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "nodejs" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/nodejs/RK3EL4f2GUM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
