Error: Cannot find module 'range-parser'

Thanks to everyone who has supported me to come this far. I have been able to update 2 apps to Meteor-1.6. Now it is time to deploy them on a server and I am getting these errors. What’s to be made right?

tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
tar: bundle/programs/server/npm/node_modules/meteor/reywood_publish-composite/node_modules/eslint-config-airbnb/node_modules/eslint-plugin-import/node_modules/eslint-module-utils/node_modules/pkg-dir/node_modules/find-up/node_modules/pinkie-promise/node_modules/pinkie/readme.md: time stamp 2017-11-16 17:05:29.785 is 31855.09341567 s in the future
tar: bundle: time stamp 2017-11-16 17:05:48 is 31873.308375869 s in the future
Sending build context to Docker daemon  159.6MB
Step 1/6 : FROM abernix/meteord:node-8.4.0-base
# Executing 1 build trigger
 ---> Using cache
 ---> 8770b8c8da39
Step 2/6 : RUN mkdir /built_app
 ---> Using cache
 ---> df0b9f9aa295
Step 3/6 : COPY ./ /built_app
 ---> Using cache
 ---> c9a97d4c548d
Step 4/6 : ENV ROOT_URL=https://rabonni.com
 ---> Using cache
 ---> e34165f78551
Step 5/6 : ENV MONGO_URL=mongodb://mongodb:27017/schoolapps
 ---> Using cache
 ---> 37147f160af4
Step 6/6 : RUN cd  /built_app/programs/server &&     npm install --unsafe-perm
 ---> Using cache
 ---> fed22eb6171b
Successfully built fed22eb6171b
Successfully tagged mup-schoolapps:build
schoolapps
Total reclaimed space: 0B
[xxx.xxx.xxx.xxx] - Prepare Bundle: SUCCESS

Started TaskList: Configuring App
[xxx.xxx.xxx.xxx] - Pushing the Startup Script
[xxx.xxx.xxx.xxx] - Pushing the Startup Script: SUCCESS
[xxx.xxx.xxx.xxx] - Sending Environment Variables
[xxx.xxx.xxx.xxx] - Sending Environment Variables: SUCCESS

Started TaskList: Start Meteor
[xxx.xxx.xxx.xxx] - Start Meteor
using image
removing last
Image mup-schoolapps:latest
Volume
Removing docker containers. Errors about nonexistent endpoints and containers are normal.
schoolapps
Error response from daemon: endpoint schoolapps not found
Error: No such container: schoolapps-frontend
Error response from daemon: endpoint schoolapps-frontend not found
Error: No such container: schoolapps-nginx-letsencrypt
Error response from daemon: endpoint schoolapps-nginx-letsencrypt not found
Error: No such container: schoolapps-nginx-proxy
Error response from daemon: endpoint schoolapps-nginx-proxy not found
Finished removing docker containers
8f28042a7a4d0fb0ac47d085560c96d569b7c549277cbf88d51baf3ce9dfc345
Ran abernix/meteord:node-8.4.0-base
[xxx.xxx.xxx.xxx] - Start Meteor: SUCCESS
[xxx.xxx.xxx.xxx] - Verifying Deployment
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
=> Starting meteor app on port:80
/built_app/programs/server/node_modules/fibers/future.js:280
                                                throw(ex);
                                                ^

Error: Cannot find module 'range-parser'
    at Function.Module._resolveFilename (module.js:489:15)
    at Function.Module._load (module.js:439:25)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/built_app/programs/server/npm/node_modules/meteor/staringatlights_fast-render/node_modules/connect/node_modules/send/lib/send.js:7:18)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
=> Starting meteor app on port:80
/built_app/programs/server/node_modules/fibers/future.js:280
                                                throw(ex);
                                                ^
To see more logs type 'mup logs --tail=100'

[xxx.xxx.xxx.xxx] x Verifying Deployment: FAILED

        -----------------------------------STDERR-----------------------------------
        odule._compile (module.js:573:30)
            at Object.Module._extensions..js (module.js:584:10)
            at Module.load (module.js:507:32)
            at tryModuleLoad (module.js:470:12)
            at Function.Module._load (module.js:462:3)
        => Starting meteor app on port:80
        /built_app/programs/server/node_modules/fibers/future.js:280
                                                        throw(ex);
                                                        ^

        Error: Cannot find module 'range-parser'
            at Function.Module._resolveFilename (module.js:489:15)
            at Function.Module._load (module.js:439:25)
            at Module.require (module.js:517:17)
            at require (internal/module.js:11:18)
            at Object.<anonymous> (/built_app/programs/server/npm/node_modules/meteor/staringatlights_fast-render/node_modules/connect/node_modules/send/lib/send.js:7:18)
            at Module._compile (module.js:573:30)
            at Object.Module._extensions..js (module.js:584:10)
            at Module.load (module.js:507:32)
            at tryModuleLoad (module.js:470:12)
            at Function.Module._load (module.js:462:3)

        => Redeploying previous version of the app

        -----------------------------------STDOUT-----------------------------------

        To see more logs type 'mup logs --tail=100'

        ----------------------------------------------------------------------------

C:\Programs\contract\schoolapps\.deploy>

Looks like you’re missing the npm range-parser package - is it in your package.json?

@robfallows do I need to install it in my project? I thought it’s the mup setup that is suppose to handle it.

Hmm - don’t know - I’ve never used mup, but the fact that it’s occurring when the app starts, makes it look like a missing npm dependency.

@robfallows. Thanks. I’ll give it a shot.