Hi, thanks for an awesome library!
After upgrading electron from version 12 to version 15, my windows app threw an error (see the screenshot below) when calling store.set(key, 'value')
. Before upgrading, the app works well with electron 12, 13, and 14.
By following the error message, I checked the conf
codebase and found that the library calls _ensureDirectory
before setting a value to store (see more at https://github.com/sindresorhus/conf/blob/main/source/index.ts#L355-L362) and the error was thrown by _ensureDirectory
.
Does anyone know what's happening?
{
...
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/ws": "^7.4.4",
"cross-env": "^7.0.3",
"electron": "14.0.1",
"electron-builder": "^22.10.5",
"electron-log": "^4.3.5",
"electron-notarize": "^1.0.0",
"electron-rebuild": "^3.2.3",
"filesize": "^8.0.3",
"jest": "^27.0.6",
"jest-extended": "^0.11.5",
"playwright": "^1.14.1",
"prettier": "^2.3.0",
"terser": "^5.9.0",
"ts-jest": "^27.0.5",
"typescript": "^4.0.2"
},
"dependencies": {
"axios": "^0.21.1",
"dotenv": "^10.0.0",
"electron-deeplink": "^1.0.6",
"electron-squirrel-startup": "^1.0.0",
"electron-store": "^8.0.1",
"electron-updater": "^4.3.9",
"electron-windows-notifications": "^3.0.8",
"ws": "^7.4.6"
}
}
Node version: 14.15.1
OS version: Windows 10, version 19043.928, x64
I use Advanced Installer Express to build MSIX package for my windows app
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too