elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.64k stars 8.23k forks source link

kbn-ui-shared-deps-npm is running in development mode on distributions #170068

Open jbudz opened 1 year ago

jbudz commented 1 year ago

Browser logs:

You are currently using minified code outside of NODE_ENV === "production". This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) to ensure you have the correct code for your production build. [kbn-ui-shared-deps-npm.dll.js:1180:16979](http://localhost:5601/68595/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js)
    __kbnSharedDeps_npm__ http://localhost:5601/68595/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:1180
    __kbnSharedDeps_npm__ http://localhost:5601/68595/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:1180
    __kbnSharedDeps_npm__ http://localhost:5601/68595/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:1180

Can be reproduced by node scripts/build or downloading a snapshot and checking the browser console.

elasticmachine commented 1 year ago

Pinging @elastic/kibana-operations (Team:Operations)

tsullivan commented 8 months ago

We're seeing this log message picked up and forward into reporting logs, for dashboard PDF/PNG reports, as well.