title: How to solve " DeprecationWarning: 'GLOBAL' is deprecated, use "when deploy node application with passenger+nginx
body: <ol>
  <li>My node application can run normally when I was in development mode. Simply use "npm start" to run it and I could visit my app through "<a href="http://localhost:3000" rel="nofollow noreferrer">http://localhost:3000</a>"</li>
  <li>But when I deploy my node application with nginx+passenger, I meet this error,the detailed information is list as below.</li>
  <li><p>I notice the key information must be:</p>
  
  <blockquote>
    <p>"DeprecationWarning: 'GLOBAL' is deprecated, use 'global'"</p>
  </blockquote>
  
  <p>but I don't know what does it refer to, because I can't found 'GLOBAL' in my code files;</p></li>
  <li>I am sure the passenger was successfully installed and worked normally, because I could run other simple node application through it but not my app, I don't know why......</li>
  <li>I have struggled for the problems for many many hours and searched google for answers, hope you can give me some useful information.</li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/0N87B.png" alt="the error info"></p>
  
  <h2>Information</h2>
  
  <blockquote>
    <p>Web application could not be started<br>
      An error occurred while starting the web application: it did not write a startup response in time. Please read this article for more information about this problem.</p>
  
  <pre><code>Raw process output:
  
  (node:12671) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
  Error ID
  ef585c1b
  Application root
  /var/www/microblog/myblog
  Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
  development
  User and groups
  uid=0(root) gid=0(root) groups=0(root)
  Environment variables
  XDG_SESSION_ID=55
  COMP_WORDBREAKS=    
  "'&gt;&lt;;|&amp;(:
  TERM=xterm-256color
  SHELL=/bin/bash
  SSH_CLIENT=27.46.7.216 5816 22
  SSH_TTY=/dev/pts/3
  USER=root
  </code></pre>
    
    <p>LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:<em>.tar=01;31:</em>.tgz=01;31:<em>.arj=01;31:</em>.taz=01;31:<em>.lzh=01;31:</em>.lzma=01;31:<em>.tlz=01;31:</em>.txz=01;31:<em>.zip=01;31:</em>.z=01;31:<em>.Z=01;31:</em>.dz=01;31:<em>.gz=01;31:</em>.lz=01;31:<em>.xz=01;31:</em>.bz2=01;31:<em>.bz=01;31:</em>.tbz=01;31:<em>.tbz2=01;31:</em>.tz=01;31:<em>.deb=01;31:</em>.rpm=01;31:<em>.jar=01;31:</em>.war=01;31:<em>.ear=01;31:</em>.sar=01;31:<em>.rar=01;31:</em>.ace=01;31:<em>.zoo=01;31:</em>.cpio=01;31:<em>.7z=01;31:</em>.rz=01;31:<em>.jpg=01;35:</em>.jpeg=01;35:<em>.gif=01;35:</em>.bmp=01;35:<em>.pbm=01;35:</em>.pgm=01;35:<em>.ppm=01;35:</em>.tga=01;35:<em>.xbm=01;35:</em>.xpm=01;35:<em>.tif=01;35:</em>.tiff=01;35:<em>.png=01;35:</em>.svg=01;35:<em>.svgz=01;35:</em>.mng=01;35:<em>.pcx=01;35:</em>.mov=01;35:<em>.mpg=01;35:</em>.mpeg=01;35:<em>.m2v=01;35:</em>.mkv=01;35:<em>.webm=01;35:</em>.ogm=01;35:<em>.mp4=01;35:</em>.m4v=01;35:<em>.mp4v=01;35:</em>.vob=01;35:<em>.qt=01;35:</em>.nuv=01;35:<em>.wmv=01;35:</em>.asf=01;35:<em>.rm=01;35:</em>.rmvb=01;35:<em>.flc=01;35:</em>.avi=01;35:<em>.fli=01;35:</em>.flv=01;35:<em>.gl=01;35:</em>.dl=01;35:<em>.xcf=01;35:</em>.xwd=01;35:<em>.yuv=01;35:</em>.cgm=01;35:<em>.emf=01;35:</em>.axv=01;35:<em>.anx=01;35:</em>.ogv=01;35:<em>.ogx=01;35:</em>.aac=00;36:<em>.au=00;36:</em>.flac=00;36:<em>.mid=00;36:</em>.midi=00;36:<em>.mka=00;36:</em>.mp3=00;36:<em>.mpc=00;36:</em>.ogg=00;36:<em>.ra=00;36:</em>.wav=00;36:<em>.axa=00;36:</em>.oga=00;36:<em>.spx=00;36:</em>.xspf=00;36:
        MAIL=/var/mail/root
       PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
        PWD=/var/www/microblog/myblog
        LANG=en_US.UTF-8
        NODE_PATH=/usr/share/passenger/node
        SHLVL=1
        HOME=/root
        LANGUAGE=en_US:
        LOGNAME=root
        SSH_CONNECTION=27.46.7.216 5816 123.57.243.29 22
        LESSOPEN=| /usr/bin/lesspipe %s
        XDG_RUNTIME_DIR=/run/user/0
        LESSCLOSE=/usr/bin/lesspipe %s %s
        _=/usr/bin/passenger
        OLDPWD=/var/www/microblog
       PASSENGER_LOCATION_CONFIGURATION_FILE=/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
        PASSENGER_USE_FEEDBACK_FD=true
        UID=0
        SERVER_SOFTWARE=nginx/1.10.1 Phusion_Passenger/5.0.30
        PASSENGER_DEBUG_DIR=/tmp/passenger.spawn-debug.XXXXu3bFF4
        IN_PASSENGER=1
        PYTHONUNBUFFERED=1
        RAILS_ENV=development
        RACK_ENV=development
        WSGI_ENV=development
        NODE_ENV=development
        PASSENGER_APP_ENV=development
        Ulimits
        Unknown</p>
  
  <pre><code>System metrics
  ------------- General -------------
  Kernel version    : 3.13.0-86-generic
  Uptime            : 1d 13h 59m 14s
  Load averages     : 0.07%, 0.07%, 0.06%
  Fork rate         : unknown
  
  ------------- CPU -------------
  Number of CPUs    :    1
  Average CPU usage :   0%  --   0% user,   0% nice,   0% system, 100% idle
    CPU 1           :   0%  --   0% user,   0% nice,   0% system, 100% idle
  I/O pressure      :   0%
    CPU 1           :   0%
  Interference from other VMs:   0%
    CPU 1                    :   0%
  
  ------------- Memory -------------
  RAM total         :    992 MB
  RAM used          :    224 MB (23%)
  RAM free          :    767 MB
  Swap total        :      0 MB
  Swap used         :      0 MB (-nan%)
  Swap free         :      0 MB
  Swap in           : unknown
  Swap out          : unknown
  ------------------------------------------------------------------------
  </code></pre>
  </blockquote>