Deluze / electron-vue-template

Simple Vue3 + Electron starter template in TypeScript, including ViteJS and Electron Builder
MIT License
534 stars 104 forks source link

Build successful but Electron app is missing at least a JS module arsr #62

Open AFASFD opened 1 month ago

AFASFD commented 1 month ago

error:ENOENT mssql not found in ......\app.asar

const sql = require("mssql");

Deluze commented 1 month ago

Ensure that package is installed correctly using npm.

But why are you installing an MSSQL client? Keep in mind that Electron is completely client-sided, so everyone with access to the app can read the code.