Skip to content
#

node-js

nodejs logo

Node.js is a tool for executing JavaScript in a variety of environments. JavaScript had humble beginnings as a language that lived only in web browsers, but the Node.js project has expanded its reach and helped make it the most popular programming language in the world. Node.js extends the creative potential of people with web development experience, enabling a new generation of developers to create servers, command-line tools, desktop apps, and even robots.

Here are 6,260 public repositories matching this topic...

goldbergyoni
goldbergyoni commented Jan 26, 2020

Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.

You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.

At first, we want to collect ideas for best practices, solidify a list

shanekwheeler
shanekwheeler commented Dec 3, 2018

I am trying to run an express app through Visual Studio Code. I have a launch.json file with DEBUG defined like so:

        "env": {
             "DEBUG": "*"
        }

Here is a trimmed down version of my app.js file where you can see the bolded debug line that doesn't output to the debug console (Test 2). Test 1 before it outputs as expected. If I run this from the command li

aniketpanjwani
aniketpanjwani commented Nov 29, 2019

What is the problem?

I've succesfully installed Gitea using the one-click install on a fresh install of CapRover. When I try to install drone-gitea using the one-click Install, I get the following error at the 7th step: "Failed: Error: Request failed with status code 500" .

If applicable, content of captain-definition file:

N/A

Steps to reproduce the problem:

  1. Install Gitea
math10
math10 commented Oct 13, 2016

XMLElement.js:4 Uncaught TypeError: Cannot read property 'prototype' of undefined

"dependencies": {
    "@angular/common": "^2.1.0",
    "@angular/compiler": "^2.1.0",
    "@angular/compiler-cli": "^2.1.0",
    "@angular/core": "^2.1.0",
    "@angular/forms": "^2.1.0",
    "@angular/http": "^2.1.0",
    "@angular/platform-browser": "^2.1.0",
    "@angular/platform-browser-dynamic": "^2.1.0",
christianbundy
christianbundy commented Jan 11, 2020

Background: I have a pull request into a repository where the npm module isn't up-to-date with master, and I'd like to test out my branch in a module that depends on it through a bunch of different deep dependencies. It seems like patch-package would be a great solution for this.

Problem: When I append .patch to my GitHub URL it gives me a patch, but when I pass it to patch -p1 it

abea
abea commented Sep 26, 2019

With apos-workflow enabled, the page reorganize modal's Trash rows (when you expand pages with children) isn't aligned to be clear about the relationship. If the Trash row is part of the "Service" page context (in the screenshot), it probably should be aligned with that page's children, possibly shaded red as the "true" trash at the bottom.

![Screen_Shot_2019-09-26_at_3_36_26_PM](https://user-i

danguilherme
danguilherme commented Sep 28, 2017

Expose a method to show the help string whenever I want to, like it being the default command of my program.

Program would be something like:

program
  .version(package.version)
  .action(() => program.showHelp())
  .command('real command')
  .action((args, options, logger) => /* do stuff */);
program.parse(process.argv);

// ./myprog
/* ... prints help ... */

I

Simpey
Simpey commented Nov 18, 2019
var pgsql = require('pdf-bot/src/db/pgsql')

module.exports = {
  api: {
    token: 'api-token'
  },
  db: pgsql({
    database: 'pdfbot',
    username: 'pdfbot',
    password: 'pdfbot',
    port: 5432
  }),
  webhook: {
    secret: '1234',
    url: 'http://localhost:3000/webhooks/pdf'
  }
}

Can you change pls "username" to "user" cause it's the the correct option ther

michaelisvy
michaelisvy commented Jul 24, 2019

hi,
thanks a lot for the great work on mysql2!

When learning how to use mysql2, it took me a while to figure out how to call mysql2 from an automated test because I was not sure which method is asynchronous.
Would it be useful to add an example like the below in the documentation?

const mysql = require('mysql2/promise');
describe('Simple database connection", () => {
 
DocumentServer
zjs-apple
zjs-apple commented Apr 30, 2020

When i Installing Document Server for Linux on CentOS7.5.
Reference:https://helpcenter.onlyoffice.com/server/linux/document/linux-installation-centos.aspx
In the end,the document server is ok,
but When I test editing files,
ws://XXXX/5.5.1-76/doc/b81fdff747a247929253f4701a92bc521588227954180/c/208/zp1umjpc/websocket
This link has been pending.
Centos7.5:port all open,firewall is closed.
Wha

obeyda
obeyda commented Dec 12, 2017

This isn't really an issue, this is just a request

I am trying to learn how to build microservices with CQRS, ES, reactive programming and messaging, I have a good understanding of the theoretical part but there isn't much hands-on examples about this subject.
Reactive Trader Cloud is the most complete app that I could find which implements all these concepts (and much more), I am

benoitvidis
benoitvidis commented Apr 22, 2020

Expected Behavior

The configuration sample given on https://docs.kuzzle.io/core/2/plugins/plugin-context/errors-manager/ should work out of the box (BTW, the code in the sample at the bottom of this page seems incorrect too).

Current Behavior

PluginImplementationError: [kuzzle-plugin-auth-passport-local] errors field in manifest.json badly formatted: Error configuration file : 
bug
exp-dev-dj
exp-dev-dj commented Aug 13, 2019

'http-outbound'/'https-outbound' events return undefined response statusCode if client uses request, request-promise or any other http libraries that do not use callback when making http.request. You mention this in the code comment (https://github.com/RuntimeTools/appmetrics/blob/master/probes/http-outbound-probe.js#L91), but there is no explanation on work-around for popular http libraries

nodepress
qingfengming
qingfengming commented Sep 23, 2018

npm install error : 依赖的包(ssh://github.com/surmon-china/mongoose-paginate.git)不存在

i@mingbai:~/node/nodepress$ npm install
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/surmon-china/mongoose-paginate.git
npm ERR! 
npm ERR! Permission denied (publickey).
npm ERR! fatal: 无法读取远程仓库。
npm ERR! 
npm ERR! 请确认您有正确的访问权限并且仓库存在。
npm ERR! 
npm ERR! ex
rixx
rixx commented May 28, 2019

LDAP search should be configurable – not all companies store their primary employee information in a field called mail, which is currently hardcoded at lib/model/db/company.js

Created by Ryan Dahl

Released May 27, 2009

Organization
nodejs
Website
nodejs.org/en
Wikipedia
Wikipedia
You can’t perform that action at this time.