Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jun 19 2021 12:31
    @texas2010 banned @therichaverma
  • Jun 19 2020 20:05
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:26
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Aug 17 2019 01:43
    @bjorno43 banned @linkin-park
  • Jun 20 2019 21:20
    @bjorno43 banned @shenerd140
  • May 10 2019 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 2019 19:47
    @mstellaluna banned @zhonghuacx
  • Apr 25 2019 17:12
    @mstellaluna banned @cmal
  • Jan 08 2019 22:00
    @mstellaluna banned @dertiuss323
  • Dec 15 2018 23:36
    @mstellaluna banned @18835579411
  • Dec 13 2018 23:57
    @mstellaluna banned @brandon6190
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:13
    User @bjorno43 unbanned @androuino
Jason Luboff
You don't need the --save flag, just running npm i module_Name will add it as a dependency. Generally though, one would use nodemon as a global dependency instead of a local/dev dependency
Well it fails to do PATH hook , just checked the PATH env. (ill write a bash hook for this now :( )
The node_modules/.bin/ hook is not been added to PATH (as mentioned in the man page).
Using Ubuntu 16.04 LTS.
Will also do npm update as mentioned by @krisb1220
still the same after npm update
Kris Baillargeon
@linkin-park try this
sudo npm install -g --force nodemon
you tried to start it using npm run dev ?
why not nodemon myServer.js ?
I've never used anything else besides that command to interact with Nodemon
Don't do global install.
Make it local and Dev-dependency aka --save-dev and try @krisb1220
Kris Baillargeon
@linkin-park I run on windows
I've never had a problem :P
instead of doing --save-dev try using --only=dev
--dev and --save dev were being deprecated -- that might be the issue
What error are you gettig @linkin-park ?
When I tried running npm run dev it threw an error
$ npm run dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\krisb\Desktop\Projects\MyMongoProject\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\krisb\Desktop\Projects\MyMongoProject\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\krisb\AppData\Roaming\npm-cache\_logs\2020-05-12T17_51_08_693Z-debug.log
Kris Baillargeon
Got it? @linkin-park
Did it work?
Kris Baillargeon
What about it? :P @linkin-park
Have you tried just using the nodemon [server file].js command?
That should run it with no problem
well the --save-dev is not deprecated
Kris Baillargeon
It's in the process of being deprecated -- I was just spitballing
It might only be --dev , actually
i will go with my hook for now :(
or -g for global if required.
btw Window give malware for free.
Kris Baillargeon
@linkin-park I can't run Linux on my machine
Not a single distro works
It's big dumb
what are you talking? @krisb1220
Kris Baillargeon
Hey guys, I made a PDF version of the Mongoose Guide that's fully formatted with code/syntax highlighting. I wanted to have it in a good format that was easily viewable on my phone.. I'm pretty sure I'm not the only one :P
Feel free to use an distribute as you wish :)
MongoDB Guide.epub <--Kindle/EReader
Mongoose Guide.pdf <--- PDF
nice @krisb1220
Have it on github :)
Is having overload function beneficial? in a language like javascript.
Nodejs,express and others are filled with overloaded functions
Sorry this must come across as a real newbie question. Is it impossible to build on say Signal or Riot OS. To cherry pick on the back-end only the desired features?

Hi, how to Pass Data from React Native to Passport.js FacebookTokenStrategy Callback?

any help would be much appreciated.

Xarri Jorge
Wallup folks? Anyone built a Next frontend with an express backend? I'm starting a project and want to use the setup but could use some details.
Riz Syed

Hi all - I am writing a socket server and have multithreaded it, but I am having a few issues.

Here is the chat client: https://dpaste.org/zB6e

Here is the chat server: https://dpaste.org/ThZN

Here is the server socket: https://dpaste.org/rOq4

Can anyone tell me why, in the chat client, the print statement on line 43 is not called after the method receive_message() is called?

Jagdish Mallige
Caleb David
Hello guys, I have asked a question on stackoverflow regarding updating nested mongodb arrays and objects using mongoose. I'll be glad if anyone can help me out. Here's the link:
https://stackoverflow.com/questions/62415636/updating-mongoose-nested-array-of-mixed-types. Thank you.
Jake Giri
Hey guys i'm in very very deep confusion and dwelling over a choice.
I'm planning to build a live streaming project like twitch.tv so it will be big project. Which will suit more out of React or Angular from the performance and effectiveness's perspective (not learning curve)?
It was known that for project with much dynamic content, react is suitable but as ivy is introduced in reacent update of Angular it seems it is not losing to react anymore in the context of speed in dynamic-content context.
I expect (and i will really appreciate) other experienced developers opinion who has good knowledge of both REact and angular
Kaz Baig
@JakeDVirus Unless you have really intense perf needs, which it doesn't sound like you do, it's more about dev preference here