Electron – Uncaught Error: Cannot find module ‘axios’

Hits: 765

re-check if modul installed.

yarn add axios //or npm install axios --save

add plugin/modul in the webpack.renderer.config.js, like

let whiteListedModules = ['vue','axios','vue-electron', 'vue-router', 'vuex', 'vuex-electron','element-ui']