Kibana missing Axios dependence

Hello,

I am trying to install the latest version of the entreprise kibana plugins and I find myself facing this error.

FATAL Error: Cannot find module ‘axios’

log [08:18:36.544] [fatal][root] { Error: Cannot find module ‘axios’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/share/kibana/plugins/readonlyrest_kbn/server/routes/lib/connectors/sideServer.js:4:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Module._compile (/usr/share/kibana/node_modules/pirates/lib/index.js:99:24)
at Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Object.newLoader [as .js] (/usr/share/kibana/node_modules/pirates/lib/index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/share/kibana/plugins/readonlyrest_kbn/server/routes/lib/connectors/saml/samlSideServer.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:778:30) code: ‘MODULE_NOT_FOUND’ }

FATAL Error: Cannot find module ‘axios’

Are there any dependencies missing in your package?

{
“name”: “readonlyrest_kbn”,
“version”: “1.19.3”,
“ror_version”: “enterprise-1.19.3_es7.6.1”,
“ror_build_time”: “Fri, 20 Mar 2020 17:28:16 GMT”,
“ror_valid_for_days”: “99999”,
“license”: “Beshu Limited, All rights reserved”,
“private”: true,
“description”: “ReadonlyREST security plugin for Elasticsearch and Kibana”,
“main”: “index.js”,
“kibana”: {
“version”: “7.6.1”
},
“dependencies”: {
“atob”: “^2.0.3”,
“boom”: “^7.1.1”,
“brace”: “^0.10.0”,
“crypto-js”: “^4.0.0”,
“grant-hapi”: “^4.6.1”,
“hapi”: “^17.5.3”,
“hapi-auth-cookie”: “9.1.0”,
“hapi-passport-saml”: “2.0.0”,
“joi”: “^10.2.2”,
“jsonwebtoken”: “^8.3.0”,
“lodash”: “4.17.15”,
“quick-lru”: “^4.0.1”,
“replace-prefix”: “^0.0.1”,
“uuid”: “^3.0.1”,
“yamljs”: “^0.2.9”,
“yar”: “^9.1.0”
}

Yes this is a CI error, didn’t add the axios dep. This is fixed in the new release 1.19.4