Meteor deploy - Browserslist: caniuse-lite is outdated

Hello,

I’m having a problem deploying my site.
The following error appears after running the “mup.cmd deploy” command:

{
  "name": "Projet_Perso",
  "private": true,
  "scripts": {
    "start": "meteor run",
    "test": "meteor test --once --driver-package meteortesting:mocha",
    "test-app": "TEST_WATCH=1 meteor test --full-app --driver-package meteortesting:mocha",
    "visualize": "meteor --production --extra-packages bundle-visualizer"
  },
  "dependencies": {
    "@babel/runtime": "^7.3.4",
    "bcrypt": "^3.0.6",
    "caniuse-lite": "^1.0.30000989",
    "meteor-node-stubs": "^0.4.1",
    "moment": "^2.24.0",
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
    "simpl-schema": "^1.5.5"
  },
  "meteor": {
    "mainModule": {
      "client": "client/main.js",
      "server": "server/main.js"
    },
    "testModule": "tests/main.js"
  },
  "devDependencies": {
    "@fortawesome/fontawesome-free": "^5.9.0"
  }
}

Another topic deals with the same subject but it is not solved:

1 Like

they are in readable-stream npm package.
I checked my Meteor 1.8.1 project, there are 2 version of readable-stream:

  • 2.3.6
  • 3.4.0

I think the version 2.3.6 is out date and causes the problem.
meteor npm ls readable-stream

2 Likes

├─┬ @google-cloud/storage@2.5.0
│ ├─┬ concat-stream@2.0.0
│ │ └── readable-stream@3.4.0 
│ ├─┬ duplexify@3.7.1
│ │ └── readable-stream@2.3.6  deduped
│ ├─┬ hash-stream-validation@0.2.1
│ │ └─┬ through2@2.0.5
│ │   └── readable-stream@2.3.6  deduped
│ └─┬ through2@3.0.1
│   └── readable-stream@2.3.6  deduped
├─┬ bcrypt@3.0.6
│ └─┬ node-pre-gyp@0.12.0
│   └─┬ npmlog@4.1.2
│     └─┬ are-we-there-yet@1.1.5
│       └── readable-stream@2.3.6  deduped
├─┬ meteor-node-stubs@0.4.1
│ ├── readable-stream@2.3.6 
│ ├─┬ stream-browserify@2.0.1
│ │ └── readable-stream@2.3.6  deduped
│ └─┬ stream-http@2.8.1
│   └── readable-stream@2.3.6  deduped
├─┬ mysql@2.17.1
│ └── readable-stream@2.3.6 
└─┬ react-markdown@4.1.0
  └─┬ html-to-react@1.3.4
    └─┬ htmlparser2@3.10.1
      └── readable-stream@3.4.0
1 Like

It’s just a warning and shouldn’t prevent the app from building or running.

2 Likes