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

using nvm tmp dir is not created on install #71

Open
kangman opened this issue Dec 15, 2016 · 1 comment
Open

using nvm tmp dir is not created on install #71

kangman opened this issue Dec 15, 2016 · 1 comment

Comments

@kangman
Copy link

kangman commented Dec 15, 2016

installed into nvm for node v7.1.0 and got an error that a tmp dir was not available to write in.

Uncaught Exception:
Error: ENOENT: no such file or directory, open '/Users/dakang/.nvm/versions/node/v7.1.0/lib/node_modules/json-splora/app/tmp/input.json'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.writeFileSync (fs.js:1343:33)
    at App.createWindow (/Users/dakang/.nvm/versions/node/v7.1.0/lib/node_modules/json-splora/index.js:43:10)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:191:7)

~/.nvm/versions/node/v7.1.0/lib/node_modules/json-splora/app/tmp

making this directory resolved the issue.

can this tmp dir be created on install?

@wellsjo
Copy link
Owner

wellsjo commented Dec 16, 2016

The tmp directory is created on app startup, so I feel like this may be permissions related, and there may be a warning missing. Then the error happens later when the app tries to write to it.

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

No branches or pull requests

2 participants