Also, if I may add something, your question sucks. It clearly shows that you didn't even try to create a folder and a package.json file to see what `npm install` does. People here are not your personal army of minions fetching knowledge for you. If you want to be respected and/or considered, you should follow simple rules that have always applied on tech lists.
- Clearly state what your problem is - Explain what you tried and how it failed - Some useful information about the context of your problem Your original question sounded to me like "I read the first chapter of a book and now I'm asking around because reading the whole book is too long". If I had seen your post first, you'd probably have got a LetMeGoogleThatForYou link from me. In this regard, even Ben's answer was nicer. Also, trying to point out that people in a mailing list do not following your understanding of the netiquette is a big failure most of the time. I'm doing it right now because your behaviour leaves no doubt. Please try and do things before asking. On Thursday, 27 March 2014 04:07:55 UTC+1, Frank Z wrote: > > 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.
