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

npm-on-ipfs experiment unable to update config #1515

Closed
HandyGadget opened this issue May 18, 2020 · 1 comment
Closed

npm-on-ipfs experiment unable to update config #1515

HandyGadget opened this issue May 18, 2020 · 1 comment
Labels
need/triage Needs initial labeling and prioritization

Comments

@HandyGadget
Copy link

I was out of the room and the PC was idle so I don't why it crashed.

Specifications

  • OS: linux
  • IPFS Desktop Version: 0.11.2
  • Electron Version: 8.2.4
  • Chrome Version: 80.0.3987.165

Error

Error: EACCES: permission denied, open '/home/terence/snap/ipfs-desktop/17/.config/IPFS Desktop/config.json'
    at Object.openSync (fs.js:440:3)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as openSync] (electron/js2c/asar.js:140:31)
    at Object.writeFileSync (fs.js:1265:35)
    at ElectronStore._write (/snap/ipfs-desktop/17/resources/app.asar/node_modules/conf/index.js:177:7)
    at ElectronStore.set store [as store] (/snap/ipfs-desktop/17/resources/app.asar/node_modules/conf/index.js:461:8)
    at ElectronStore.set (/snap/ipfs-desktop/17/resources/app.asar/node_modules/conf/index.js:339:14)
    at Timeout.existsAndUpdate [as _onTimeout] (/snap/ipfs-desktop/17/resources/app.asar/src/npm-on-ipfs/index.js:38:11)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
@lidel lidel added the need/triage Needs initial labeling and prioritization label Oct 9, 2020
@lidel lidel changed the title Crashed when I was out of the room. npm-on-ipfs experiment unable to update config Oct 9, 2020
@lidel
Copy link
Member

lidel commented Oct 9, 2020

@HulaCloud please upgrade to the latest Snap (v0.13.0) and reopen if the issue still occurs.
A quick workaround is to disable npm-on-ipfs experiment (seems it breaks when electron store is modified inside a snap)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants