node-js

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...
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
Clean up README
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:
- Install Gitea
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",
-
Updated
Feb 13, 2020 - JavaScript
we want to use swagger integrated with API document under aws-serverless-express framework, so any document/guideline to follow?
if we follow some code rule to define the API method then generate the API document and show in swagger it is perfect
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
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.

.action(() => program.showHelp())
.command('real command')
.action((args, options, logger) => /* do stuff */);
program.parse(process.argv);
// ./myprog
/* ... prints help ... */
I
Typo in docs
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
Checklist
Please ensure the following tasks are completed before filing a bug report.
- Read and understood the [Code of Conduct][code-of-conduct].
- Searched for existing issues and pull requests.
Description
Description of the issue.
The following code produces an array whose shape does not match what I'd expect:
I love the library and it has been very helpful for me.
Recently, my implementation of speakeasy.totp
failed a penetration test. I wrote a writeup on my findings (with a code sample to show how common this can happen with a bad implementation+configuration).
The issue: please improve the documentation (especially arou
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", () => {
-
Updated
Oct 29, 2019 - JavaScript
-
Updated
Jun 2, 2020 - JavaScript
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
-
Updated
Jul 19, 2019 - TypeScript
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
-
Updated
Oct 27, 2018 - JavaScript
-
Updated
Jun 5, 2020 - Python
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 :
'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
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
-
Updated
Jun 1, 2020 - C++
-
Updated
Apr 11, 2019 - JavaScript
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
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