!tWQrronYimmnpNiuPY:matrix.org

node

65 Members
General chat about the Node.js JavaScript runtime https://nodejs.org/1 Servers

Load older messages


SenderMessageTime
22 Nov 2020
@gitter_romeerez:matrix.orgRoman Kushyn (Gitter) @ljharb ya, really, I was wrong, because I use rarely (expressions in "()"), but never used [such] or such as standalone expressions, did you?
For example, sometimes I write (window as any).foo = footo debug something in console, but what use cases may be for [] or ``?
14:54:33
@gitter_ljharb:matrix.orgJordan Harband (Gitter)i occasionally have an array literal that i promptly forEach or map over14:55:13
@gitter_ljharb:matrix.orgJordan Harband (Gitter)backticks would be a tagged template literal, with a newline after the tag - not something i write, but something ASI can accidentally make happen14:55:44
@gitter_ljharb:matrix.orgJordan Harband (Gitter)the point isn’t whether you’re likely to want these patterns, it’s that it’s more to think about that can break your code.14:56:11
@gitter_ljharb:matrix.orgJordan Harband (Gitter)the rules you have to remember when using semicolons are simpler and fewer.14:56:21
23 Nov 2020
@gitter_sampathkumar27896:matrix.orgKeyboardScript (Gitter) joined the room.04:34:11
@gitter_sampathkumar27896:matrix.orgKeyboardScript (Gitter)Hi, all I want to build a video group chat application based on Selective forwarding unit(SFU) architecture using mediasoup , when I googled it I saw the terms webrtc, socket.io, mediasoup. I am beginner in node js. Could anyone tell me diff between webrtc, socket.io, mediasoup?04:34:13
@gitter_sampathkumar27896:matrix.orgKeyboardScript (Gitter) @all 04:34:29
24 Nov 2020
@gitter_roseberrypi:matrix.orgWilliam Roseberry (Gitter) joined the room.03:04:34
@gitter_roseberrypi:matrix.orgWilliam Roseberry (Gitter)

Is there a direct (or close enough) equivalent to C#'s Parallel.For() loop in JavaScript?

I'm wanting to do this something like this: Parallel.For(0, someArray.Count, i => resultArray[i] = someMethod(param1[i], param2[i]))

03:04:34
26 Nov 2020
@gitter_neeldvirus:matrix.orgJake (Gitter) joined the room.01:40:12
@gitter_neeldvirus:matrix.orgJake (Gitter)

Please help!
After adding passport strategy in my express app, and doing npm start i get following error in my console

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@6.14.8
3 info using node@v14.14.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle server@1.0.0~prestart: server@1.0.0
6 info lifecycle server@1.0.0~start: server@1.0.0
7 verbose lifecycle server@1.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle server@1.0.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/run/media/jakegiri/Volume 1/codingUdemy/fullStack/NWR_emaily_2/server/node_modules/.bin:/home/jakegiri/.local/bin:/home/jakegiri/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
9 verbose lifecycle server@1.0.0~start: CWD: /run/media/jakegiri/Volume 1/codingUdemy/fullStack/NWR_emaily_2/server
10 silly lifecycle server@1.0.0~start: Args: [ '-c', 'node index.js' ]
11 silly lifecycle server@1.0.0~start: Returned: code: 1  signal: null
12 info lifecycle server@1.0.0~start: Failed to exec start script
13 verbose stack Error: server@1.0.0 start: `node index.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:315:20)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:315:20)
13 verbose stack     at maybeClose (internal/child_process.js:1048:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid server@1.0.0
15 verbose cwd /run/media/jakegiri/Volume 1/codingUdemy/fullStack/NWR_emaily_2/server
16 verbose Linux 5.8.15-301.fc33.x86_64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
18 verbose node v14.14.0
19 verbose npm  v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error server@1.0.0 start: `node index.js`
22 error Exit status 1
23 error Failed at the server@1.0.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

I even tried

1- cleaning cache, deleting node_modules and package-lock.json and followed by npm install
2- npm config set unsafe-perm true

But i m still getting the same error. Please help me, already wasted hours on it

01:40:12
@gitter_skiv71:matrix.orgNeil Duffy (Gitter)experienced dev looking for extra work... 02:16:45
@gitter_itssamarth:matrix.orgSamarth Saxena (Gitter) joined the room.08:40:03
@gitter_itssamarth:matrix.orgSamarth Saxena (Gitter)

Hey guys,
I need some advice on interservice communication in micro-services
Right new we are making rest API calls but that is inefficient so I thought of migrating it to kafka for interservice communication.
But I have a problem suppose I got an API call from the user and one of my microservices is relaying on other microservice to return the data which I cannot fulfill using kafka.

Later on the data which I got from microservice 2 will then be processed and sent back to the user

08:40:04
@gitter_itssamarth:matrix.orgSamarth Saxena (Gitter)what is the optimal way to do it and how can I unblock this scenerio 08:40:37
@gitter_yukisakuravn:matrix.org@gitter_yukisakuravn:matrix.org left the room.09:19:45
27 Nov 2020
@chv:matrix.orgchv joined the room.10:04:25
@gitter_alderson-digital:matrix.orgalderson-digital (Gitter) joined the room.12:00:46
@gitter_alderson-digital:matrix.orgalderson-digital (Gitter)

Hi all,

I'm in the process of using the Janea library within an iOS app.

At present the AppDelegate.swift calls NodeRunner.m (as per the Janea documentation). Unfortunately, when the runner attempts to call node_start(argument_count,argv); the whole app dies and would appear to do so without providing any error messages.

Have any of you encountered anything similar?

Also, do any of you have any experience of using XCode / Janea within Bug Sur?

12:00:47
@gitter_sajid576:matrix.orgAbu Syeed Sajid Ahmed (Gitter)I want to make a system that whenever a data is written on mongodb database, my local database in flutter application will be automatically updated. How can i do that13:10:36
@gitter_hinell:matrix.orghinell (Gitter) joined the room.15:25:12
@gitter_hinell:matrix.orghinell (Gitter) Behold! New NodeJS 15.4.0 release brings a lot of new features. Checkout video announcement. 15:25:12
@gitter_hinell:matrix.orghinell (Gitter) (edited) ... New *NodeJS* `15.4.0` ... => ... New **NodeJS** `15.4.0` ... 15:25:23
@gitter_ljharb:matrix.orgJordan Harband (Gitter)15.4 isn’t out yet.16:57:24
@gitter_ljharb:matrix.orgJordan Harband (Gitter)and node doesn’t make any official announcements by video.16:57:40
@gitter_ljharb:matrix.orgJordan Harband (Gitter) @hinell no trolling. 16:59:34
@gitter_hinell:matrix.orghinell (Gitter) @ljharb Too bad... No way. 17:26:35
@gitter_hinell:matrix.orghinell (Gitter) @ljharb Nooooooooooo 17:36:23
28 Nov 2020
@gitter_peterishek:matrix.orgIsheke Peter (Gitter) Hey guys! I'm looking to hire blockchain developers and a software programmer anyone interested can hit me up. I'm creating a crypto utility marketplace and a smart contract for operation. A market for the stock and cryptocurrency or project development 08:49:16

There are no newer messages yet.


Back to Room List