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

getUserDataSettings: Error: ENOENT: no such file or directory #120

Closed
zmni opened this issue Aug 13, 2017 · 1 comment
Closed

getUserDataSettings: Error: ENOENT: no such file or directory #120

zmni opened this issue Aug 13, 2017 · 1 comment
Labels

Comments

@zmni
Copy link

zmni commented Aug 13, 2017

[Extension Host] Error: ENOENT: no such file or directory, open 'C:\Users\User\AppData\Roaming\Code\User\material-icon-theme.json' - extensionHost.ts:335
    at Object.fs.openSync (fs.js:558:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.writeFileSync (fs.js:1233:33)
    at exports.getUserDataSettings.then.catch (E:\Code\extensions\PKief.material-icon-theme-2.1.0\out\src\helpers\index.js:94:12)

I'm using portable Code (zip) and extracted it to E:\Code, and set userdata and extensions in that directory. Launch from shortcut with target: E:\Code\Code.exe --user-data-dir "userdata/" --extensions-dir "extensions/".

Please add support custom user data directory, currently (helpers/index.ts, L68) it doesn't.

@PKief PKief added the bug label Aug 13, 2017
@PKief PKief closed this as completed in 2f8e6b0 Aug 21, 2017
@PKief
Copy link
Owner

PKief commented Aug 21, 2017

The extension will support also portable versions of Code. I'll update the extension soon. Thank you!

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

No branches or pull requests

2 participants