node
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 18,914 public repositories matching this topic...
Bug report
Describe the bug
When running next using Yarn 2 and visiting a page in the browser that doesn't exist, the 404 error page never shows up. Instead it loads forever ("waiting on localhost...") and then eventually errors with ERR_EMPTY_RESPONSE.
But the terminal shows that the page was compiled:
[ event ] build page: /next/dist/pages/_error
[ wait ] compiling ...
-
Updated
Jul 15, 2020
There is no "pre-deploy" hook listed here as an option at https://pm2.keymetrics.io/docs/usage/deployment/. It should also be mentioned that this hook will run BEFORE git pull occurs, e.g. you may want to suggest to users to put git reset --hard as the pre-deploy hook in case their files such as yarn.lock change frequently, or localization occurs.
Looks closely related to #779
I'm submitting a...
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Middleware is being called for every endpoint a request route could potentially match.
lint the jsdoc
I'm getting bit with failing documentation builds because I'm writing docstrings that JSDoc doesn't like (specifically, TS-style). But there's no linting happening before getting to Netlify.
We may be able to make JSDoc just check the syntax and exit (and make it part of the lint scripts).
This is moot if we want to move forward with maintaining our own TS types (for which there is an op
Spurred by conversation in avajs/ava#2449 and avajs/ava#1485 we'd like for our assertions to return booleans. true when they pass, false when they fail. This does not apply to the throws() and throwsAsync() assertions.
Failing assertions will fail the test, but do not throw exceptions. This means your test does not stop executing. Usua
e.g. isPassportNumber, etc.
-
Updated
Jul 5, 2020 - JavaScript
There's a section about Uninstall existing npm, but the recommendations for upgrading are scattered in the issues.
The relationship between node, npm and nvm is not clear and it's not obvious if upgrading npm should be done through nvm or at least in a way that doesn't break nvm.
On Windows10 machine, following README installation instructions:
c:\code\mean>npm start
[email protected] start c:\code\mean
concurrently -c "yellow.bold,green.bold" -n "SERVER,BUILD" "nodemon server" "ng build --watch"
[SERVER] [nodemon] 1.18.9
[SERVER] [nodemon] to restart at any time, enter rs
[SERVER] [nodemon] watching: .
[SERVER] [nodemon] starting node server
[SERVER] ../.
-
Updated
Jul 16, 2020 - JavaScript
Node version (or tell us if you're using electron or some other framework):
12.1.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.8.3
Operating system:
Windows
Description of the bug:
sed is applied only once by line:
original archive:
import [COMPONENTNAME]Base from './[COMPONENTNAME]Base';
`const [COMPONENTNAME] = styled( [COMPONENTNAME]
Is there an overview, how the config object for the constructors of the neural network are defined?
This would be interesting:
- Has brain.NeuralNetwork and brain.recurrent.RNN the same config attributes?
- What is the description of the inputSize attribute?
Thank you for the great work with this library, it is realy amazing!
I have a feeling that most people use async/await in new code, and none of the examples use it.
Also, from browsing random issues, better tests will be written using this structure. For example #543 is caused by not using async/await in tests.
// This passes!
it("should reset", async () => {
request(app)
.get("/reset")
.expect(205);
});
-
Updated
Jul 16, 2020 - TypeScript
There are two mentions of a reactide.config.js file in the README:
The component tree works out-of-the-box by finding the entry point to your React application that you provide inside the reactide.config.js file.
Go to the reactide.config.js file and change the .html and .js entry points to the relative path of your respective files.
But I could not find any examples or documentation
Nock has two APIs:
- The part that faces the developer writing tests – the public interface
- The part that faces the HTTP client library – the mock surface, for lack of a better name
The mock surface is implemented in a few places:
- A couple functions in
common.jswhich are the mockhttp(s).getandhttp(s).requestcalls request_overrider.js, the mock response- `intercept.
root@syzoj-test-vm:~/syzoj-ng-app# commitizen init cz-conventional-changelog --yarn --dev --exact
Attempting to initialize using the npm package cz-conventional-changelog
yarn add v1.19.0
[1/4] Resolving packages...
[2/4] Fetching packages...
error Incorrect integrity when fetching from the cache
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
root@
I'm submitting a ...
- bug report
- [ X] feature request
- question
PostGraphile version: 4.4.4
postgraphile should honor variables in query string as defined in https://github.com/graphql/express-graphql#http-usage when the query is provided as post body.
with the following exampl
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
Update documentation
Hi there!
Thanks for submitting an issue to Protractor.
To help us help you better, please do the following before submitting an issue:
- Review the questions section of CONTRIBUTING.md.
- Make sure you are not asking a usage or debugging question. If you are, use [StackOverflow](http://stackoverflow.com/
Hello,
Im new with node, its possible to you improve instalation docs for 'standalone' server installation ?
How to install latest node, npm, and dependencie to run n8n with
npm install n8n -g
example: im running ubuntu 16.04.
It would be great if all of these projects included a devcontainer dir & docker file so that they can be run without any machine setup or config
I have a project that is in a monorepo and uses yarn right now.
I'm considering migrating to pnpm for the monorepo, as well as all other projects I contribute to, as I have a small SSD as local storage (and with Windows...). However, it would be ideal if there was compatibility between yarn's workspaces and pnpm, so that we don't have to jump "all in" to it.
To this end, yarn allows packages
Created by Ryan Dahl
Released May 27, 2009
- Organization
- nodejs
- Website
- nodejs.org/en
- Wikipedia
- Wikipedia


Right now we have a pretty decent list of environment variables to detect different terminals that support colors. However, it is often not exactly known from what version on these terminals actually support the colors, if that's detectable and how many colors these support.
I would like to start a list of different terminals / CIs and other things including their corresponding environment vari