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 79,199 public repositories matching this topic...
Is there a way to hide the icon of a BrowserWindow on Windows?
Actual:
<img width="68" alt="Screen Shot 2020-02-08 at 11 27 35 AM" src="https://user-images.githubusercontent.com/438516/74090907-194fc800-4a
Section/Content To Improve
Section "Config order of precedence".
Suggested Improvement
The current implementation of
test-source-map fails on Windows 10. Looking at the test file, there is a special case for Windows that is not being met under certain conditions. I believe it has to do with how git is configured to handle line endings on checkout but I still need to confirm
C:\Users\jasne\Projects\node>Release\node test\parallel\test-source-map
assert.js:93
throw new AssertionError(obj);
^
If you follow the readme procedure, the following error will occur in the first npm install express.
saveError ENOENT: no such file or directory, open '/xxx/xxx/package.json'
As you know, the cause is package.json does not exist.
Other users seem to have a similar error, so it seems better to add npm init to the readme.
Or I thought it would be nice to bring a link `Please follow
-
Updated
Feb 19, 2020 - JavaScript
-
Updated
Feb 19, 2020 - CSS
NW.JS 0.42.1 MAC OS
-
Main window options:
"window": {
"title": "",
"fullscreen": true,
"kiosk": false,
"position": "center",
"resizable": false,
"min_width": 1920,
"min_height": 1080
} -
nw.Window.open(url,{width:400,height:300});
-
the new window is openned, but with fullscreen.
-
Updated
Feb 19, 2020
Issue Summary
In Safari 13.0.4 on macOS 10.15.2, the 'Upload routes YAML' button triggers a file browser that only allows selection of files ending in .yml. These are not accepted by the application, which requires a .yaml extension. This results in routes not being uploadable with Safari.
To Reproduce
- In Safari, click the 'Upload routes YAML' button in Labs.
This doesn'
What's going wrong?
I discovered this default behavior of PM2 by trial and error:
-outlogs and-errlogs will default to output in~/.pm2/logs, unless and only unless they are [rerouted](http://pm2.keymetrics.io/docs/usage/lo
Check List
Please check followings before submitting a new feature request.
- I have already read Docs page
- I have already searched existing issues
Feature Request
New to Hexo and finding some inadequacies in some of the documentation.
- Under Helpers List Tags (and other
list_helpers) the "style"
AI/ML API Examples
We have some documentation about using IBM Watson: https://github.com/sahat/hackathon-starter#ibm-watson
It would be great if we have one or more working API examples using Watson or ML/AI APIs that are provided by other companies such as Microsoft or AWS.
The documentation for the HTTP exceptions in packages/common/exceptions/ is incorrect:
- The default return format for specific HTTP exceptions is
{ statusCode, error }, not{ statusCode, message }(this leads to #4044, but it may be a breaking change and it can wait); - The
statusCodein the result cannot be overwritten as described; - A proper explanation for the
messageargument
https://eslint.org/docs/rules/func-call-spacing
When calling a function, developers may insert optional whitespace between the function’s name and the parentheses that invoke it.
Option: "never" (default) disallows space between the function name and the opening parenthesis.
Examples of incorrect code for this rule with the default "never" option:
/*eslint func-call-spacin- Are you nativefying a public website? Yes
- Feature request? Have you looked at
nativefier --helpto see if an existing option could fit your needs? Yes - OS:
Windows 10 - Error message / stack trace (if any):
Resource interpreted as Document but transferred with MIME type text/csv: "https://www.example.com/wp-admin/admin-ajax.php?action=export_appointments".
I'm trying to export cs
Describe the bug
The browser autofill the username and password when create a new user:
<img width="925" alt="Screenshot
This issue (webtorrent/webtorrent#1685) mentioned a nice resource that shows how to integrate WebTorrent with various JS video libraries.
https://qiita.com/mehdi/items/22ba55ae30bdcedd0746
Would be nice to add updated versions of these examples to the docs.
parseISO v2 documentation currently states
The previous
parseimplementation was renamed toparseISO.
parse v2 documentation currently states
Old
parsewas renamed totoDate. Now parse is a new function which parses a string using a provided format.
I think considering the sentence is to divert people who have previously been using v1 parse to the correct v2 equivalent, it only
Too wide (and falsy) segregation of GraphQL Types and Resolvers
The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.
This can ensure some users that custom types cannot have own field resolvers which is false.
In fact, much of fields which can have own resolvers
When trying to call XLSX.utils.json_to_sheet() I get the following error: o.hasOwnPropert is not a function
This most likely related to this issue.
If specify non-existed file with --file option, mocha throw expection.
./bin/mocha --file non-existed
/Users/mocha/node_modules/yargs/yargs.js:1163
else throw err
^
Error: Cannot find module '/Users/mocha/non-existed'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25
For historical reasons, the expectations object passed to t.throws() and t.throwsAsync() was not allowed to be undefined.
Now that we've simplified these assertions, we should allow expectations to be both undefined and null. See here:
https://github.com/avajs/ava/blob/55a3649000611900ba6dfbf94faefa6372a70e79/lib/assert.js#L76
This will cause some of our tests to fail, so th
Task
Update projects in this repository to use Go 1.13
i.e. https://github.com/openfaas/faas/search?l=Dockerfile&q=%22%3A1.12%22
https://github.com/openfaas/faas/blob/master/.travis.yml#L5
https://github.com/openfaas/faas/search?l=Dockerfile&q=%22%3A1.11%22
Note: do not search and replace blindly, there are instances of alpine:3.11 which are completely unrelated. This task requ
Thanks for the great library. The docs mention using the nodejs10.x lambda runtime. But your package indicates anything above 10.13 is supported. Maybe its worth changing the docs to 10.13 or greater.
具体报错如下图
F:\github\myStudy\node\lesson6>mocha
test/main.test.js
1) should equal 0 when n === 0
2) should equal 1 when n === 1
3) should equal 55 when n === 10
√ should throw when n > 10
√ should throw when n < 0
√ should throw when is not Number
3 passing (35ms)
3 failing
- test/main.test.js should equal 0 when n === 0:
AssertionError: e


the solution given in the guide here https://www.freecodecamp.org/forum/t/freecodecamp-challenge-guide-cash-register/16012
fails in a situation like
the change due is calculated as 3.01-3, which results in