git pull 後運行,出現 Error: Invalid environment variables #1022
Closed
Description
Describe the bug
??Invalid environment variables: {
VITE_OPENPANEL_CLIENT_ID: [ 'Required' ],
VITE_OPENPANEL_API_URL: [ 'Required' ]
}
App threw an error during load
Error: Invalid environment variables
at file:///C:/Users/myw/Documents/Github/other/Follow/dist/main/index.js:4101:11
at createEnv (file:///C:/Users/myw/Documents/Github/other/Follow/dist/main/index.js:4107:12)
at file:///C:/Users/myw/Documents/Github/other/Follow/dist/main/index.js:4135:15
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
at async loadApplicationPackage (file:///C:/Users/myw/Documents/Github/other/Follow/node_modules/electron/dist/resources/default_app.asar/main.js:129:9)
at async file:///C:/Users/myw/Documents/Github/other/Follow/node_modules/electron/dist/resources/default_app.asar/main.js:242:9
這是什麼配置,我需要配置什麼
Feed Info
.
Reproduction Video
No response
App Type
Electron / App
Version
newest
Operating System
Windows 11
Browser Info
No response
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Metadata
Assignees
Labels
No labels