Posts in 2021
-
Most votes on node.js questions 2
May 01, 2021 in FAQ
Most votes on node.js questions 2. #11 Do I commit the package-lock.json file created by npm 5? #12 Using async/await with a forEach loop #13 How do I debug Node.js applications? #14 What is the purpose of Node.js module.exports and how do you use it? #15 How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X) #16 Read environment variables in Node.js #17 How to fix npm throwing error without sudo #18 Check synchronously if file/directory exists in Node.js #19 How to get GET (query string) variables in Express.js on Node.js? #20 map function for objects (instead of arrays)
Read all the top votes questions and answers in a single page. #11: Do I commit the package-lock.json file created by npm 5? (Score: 1775) Created: 2017-05-26 Tags: node.js, git, npm, version-control, lockfile npm 5 was released today and one of the …
-
Most votes on node.js questions 10
May 01, 2021 in FAQ
Most votes on node.js questions 10. #91 Grunt watch error - Waiting…Fatal error: watch ENOSPC #92 How to write a test which expects an Error to be thrown in Jasmine? #93 Local dependency in package.json #94 Fastest way to copy a file in Node.js #95 TypeScript getting error TS2304: cannot find name ' require' #96 Express.js - app.listen vs server.listen #97 How to download a file with Node.js (without using third-party libraries)? #98 Heroku + node.js error (Web process failed to bind to $PORT within 60 seconds of launch) #99 Cannot install packages using node package manager in Ubuntu #100 How can I wait In Node.js (JavaScript)? l need to pause for a period of time
Read all the top votes questions and answers in a single page. #91: Grunt watch error - Waiting…Fatal error: watch ENOSPC (Score: 531) Created: 2013-05-25 Last updated: 2017-02-02 Tags: node.js, gruntjs Why do I get the Waiting...Fatal error: …
-
Most votes on node.js questions 1
May 01, 2021 in FAQ
Most votes on node.js questions 1. #1 What's the difference between tilde(~) and caret(^) in package.json? #2 How do I pass command line arguments to a Node.js program? #3 Find the version of an installed npm package #4 What is the –save option for npm install? #5 What's the difference between dependencies, devDependencies and peerDependencies in npm package.json file? #6 How to decide when to use Node.js? #7 How to update each dependency in package.json to the latest version? #8 How to exit in Node.js #9 Writing files in Node.js #10 How can I update NodeJS and NPM to the next versions?
Read all the top votes questions and answers in a single page. #1: What's the difference between tilde(~) and caret(^) in package.json? (Score: 3892) Created: 2014-03-12 Last updated: 2021-01-11 Tags: node.js, npm, package.json, semantic-versioning …
-
Most votes on nginx questions 9
May 01, 2021 in FAQ
Most votes on nginx questions 9. #81 Nginx: Job for nginx.service failed because the control process exited #82 Is GridFS fast and reliable enough for production? #83 How to configure Docker port mapping to use Nginx as an upstream proxy? #84 Nginx fails to load css files #85 nginx - read custom header from upstream server #86 Assigning vhosts to Docker ports #87 Nginx variables similar to SetEnv in Apache? #88 nginx + uwsgi: – unavailable modifier requested: 0 – #89 Deploying Django with gunicorn and nginx #90 What regular expression engine does Nginx use?
Read all the top votes questions and answers in a single page. #81: Nginx: Job for nginx.service failed because the control process exited (Score: 87) Created: 2016-03-08 Last updated: 2019-10-10 Tags: nginx I got a problem which I have been trying …
-
Most votes on nginx questions 8
May 01, 2021 in FAQ
Most votes on nginx questions 8. #71 How does a Node.js "server" compare with Nginx or Apache servers? #72 "configuration file /etc/nginx/nginx.conf test failed": How do I know why this happened? #73 node.js itself or nginx frontend for serving static files? #74 WSGI vs uWSGi with Nginx #75 How to serve all existing static files directly with NGINX, but proxy the rest to a backend server. #76 What are the benefits of using Nginx in front of a webserver for Go? #77 How to configure nginx to enable kinda 'file browser' mode? #78 How do I rewrite URLs in a proxy response in NGINX #79 What does force_ssl do in Rails? #80 Upstream / downstream terminology used backwards? (E.g. nginx)
Read all the top votes questions and answers in a single page. #71: How does a Node.js "server" compare with Nginx or Apache servers? (Score: 97) Created: 2016-08-08 Last updated: 2020-10-29 Tags: javascript, node.js, apache, nginx, …
-
Most votes on nginx questions 7
May 01, 2021 in FAQ
Most votes on nginx questions 7. #61 413 Request Entity Too Large - File Upload Issue #62 Default nginx client_max_body_size #63 Nginx: stat() failed (13: permission denied) #64 How to correctly link php-fpm and Nginx Docker containers? #65 Redirecting EC2 Elastic Load Balancer from HTTP to HTTPS #66 Docker Networking - nginx: [emerg] host not found in upstream #67 What is the point of uWSGI? #68 How to add a response header on nginx when using proxy_pass? #69 Are you trying to mount a directory onto a file (or vice-versa)? #70 nginx the "ssl" directive is deprecated, use the "listen … ssl"
Read all the top votes questions and answers in a single page. #61: 413 Request Entity Too Large - File Upload Issue (Score: 114) Created: 2014-06-19 Last updated: 2014-06-19 Tags: php, nginx, apache2 I am trying to upload 30MB file on my server and …
-
Most votes on nginx questions 6
May 01, 2021 in FAQ
Most votes on nginx questions 6. #51 Dealing with nginx 400 "The plain HTTP request was sent to HTTPS port" error #52 nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size #53 API gateway vs. reverse proxy #54 How to redirect single URL in Nginx? #55 SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch #56 nginx upload client_max_body_size issue #57 Tuning nginx worker_process to obtain 100k hits per min #58 How do I restart nginx only after the configuration test was successful on Ubuntu? #59 Nginx not picking up site in sites-enabled? #60 nginx- duplicate default server error
Read all the top votes questions and answers in a single page. #51: Dealing with nginx 400 "The plain HTTP request was sent to HTTPS port" error (Score: 126) Created: 2012-01-07 Tags: nginx I’m running a Sinatra app behind …
-
Most votes on nginx questions 5
May 01, 2021 in FAQ
Most votes on nginx questions 5. #41 React-router and nginx #42 Nginx Different Domains on Same IP #43 How to start nginx via different port(other than 80) #44 Possible reason for NGINX 499 error codes #45 nginx server_name wildcard or catch-all #46 How to edit nginx.conf to increase file size upload #47 nginx error "conflicting server name" ignored #48 How can query string parameters be forwarded through a proxy_pass with nginx? #49 Prevent nginx 504 Gateway timeout using PHP set_time_limit() #50 nginx: [emerg] "server" directive is not allowed here
Read all the top votes questions and answers in a single page. #41: React-router and nginx (Score: 137) Created: 2017-05-13 Last updated: 2017-05-13 Tags: nginx, react-router I am transitioning my react app from webpack-dev-server to nginx. When I go …
-
Most votes on nginx questions 4
May 01, 2021 in FAQ
Most votes on nginx questions 4. #31 Nginx reverse proxy causing 504 Gateway Timeout #32 Why is nginx responding to any domain name? #33 How to run Nginx within a Docker container without halting? #34 Setup nginx not to crash if host in upstream is not found #35 How do you change the server header returned by nginx? #36 Locate the nginx.conf file my nginx is actually using #37 Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk #38 duplicate MIME type "text/html"? #39 Why does Unicorn need to be deployed together with Nginx? #40 How to redirect a URL in Nginx
Read all the top votes questions and answers in a single page. #31: Nginx reverse proxy causing 504 Gateway Timeout (Score: 152) Created: 2014-06-27 Last updated: 2018-09-26 Tags: nginx, reverse-proxy, proxypass, http-status-code-504 I am using Nginx …
-
Most votes on nginx questions 3
May 01, 2021 in FAQ
Most votes on nginx questions 3. #21 What's the difference of $host and $http_host in Nginx #22 nginx showing blank PHP pages #23 How can I tell if my server is serving GZipped content? #24 Nginx serves .php files as downloads, instead of executing them #25 Have nginx access_log and error_log log to STDOUT and STDERR of master process #26 nginx: send all requests to a single html page #27 How to redirect to a different domain using NGINX? #28 What does upstream mean in nginx? #29 NGINX to reverse proxy websockets AND enable SSL (wss://)? #30 NGINX: upstream timed out (110: Connection timed out) while reading response header from upstream
Read all the top votes questions and answers in a single page. #21: What's the difference of $host and $http_host in Nginx (Score: 187) Created: 2013-03-14 Tags: configuration, nginx, http-headers In Nginx, what’s the difference between …