Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Promise Rejection #922

Closed
datlass opened this issue Aug 27, 2020 · 3 comments · Fixed by #931
Closed

Unhandled Promise Rejection #922

datlass opened this issue Aug 27, 2020 · 3 comments · Fixed by #931
Labels

Comments

@datlass
Copy link

datlass commented Aug 27, 2020

Sentry Issue: KAP-5YD

macOS version: Mojave (10.14)
Kap version: 3.3.1

Unhandled Promise Rejection

Error: EACCES: permission denied, mkdir '/Users/HomeFolder/.config/configstore'
You don't have access to this file.
    at make (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/configstore/node_modules/make-dir/index.js:61:12)
    at Function.module.exports.sync (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/configstore/node_modules/make-dir/index.js:84:9)
    at Configstore.set all [as all] (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/configstore/index.js:56:12)
    at new Configstore (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/configstore/index.js:25:13)
    at getConfigStore (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/first-run/index.js:18:9)
    at firstRun (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/first-run/index.js:22:22)
    at initializeAnalytics (/Applications/Kap.app/Contents/Resources/app.asar/main/common/analytics.js:23:7)
    at /Applications/Kap.app/Contents/Resources/app.asar/main/index.js:88:3
@datlass
Copy link
Author

datlass commented Aug 27, 2020

Resolved by manually setting .config folder to read and write for staff and everyone.

@karaggeorge
Copy link
Member

@sindresorhus looks like this came from first-run. Does it need that permission to work?

@sindresorhus
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants