# electron-vue **Repository Path**: borderWusu/electron-vue ## Basic Information - **Project Name**: electron-vue - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-09 - **Last Updated**: 2025-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: Electron ## README Vite Electron release `The module 'xxx\electron-vue\node_modules\better-sqlite3\build\Release\better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 106. Please try re-compiling or re-installing` ```bash npm install -g node-gyp ``` ```bash cd node_modules/better-sqlite3 node-gyp rebuild --release --target=25.9.8 --arch=x64 --dist-url=https://electronjs.org/headers ``` gyp 报错: ```shell gyp ERR! find VS gyp ERR! find VS msvs_version not set from command line or npm config gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt gyp ERR! find VS checking VS2019 (16.3.29411.108) found at: gyp ERR! find VS \"D:\\viso\" gyp ERR! find VS - found \"Visual Studio C++ core features\" gyp ERR! find VS - missing any VC++ toolset gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use gyp ERR! find VS looking for Visual Studio 2015 gyp ERR! find VS - not found gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8 gyp ERR! find VS gyp ERR! find VS ************************************************************** gyp ERR! find VS You need to install the latest version of Visual Studio gyp ERR! find VS including the \"Desktop development with C++\" workload. gyp ERR! find VS For more information consult the documentation at: gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows ``` 安装 Visual Studio C++编译模块