Closed skratchdot closed 6 years ago
Looks like the atom
API has changed here:
https://github.com/atom/atom/commits/master/src/atom-environment.js
This commit actual removes the function: https://github.com/atom/atom/commit/744ae36f31762247bc8fdc9b8d62a6b6be925b70#diff-2ac335175125a7c7650f50d471076aa1
But I'm still looking through the other changes to see what the updated API for this is.
oh, my! Thanks @skratchdot Will sure try to tackle this issue.
Howdy all... pretty new to Atom as well as command line stuff, but am comfortable enough to do it if given the right direction.
How do I go about patching that file on my computer? I can't seem to find it. Am I missing something? Any and all comments are much appreciated...
PS... I cloned and found the file in the repo. Just not sure how it applies or where it exists on my computer.
OMG! Pat this newb on the back, please. I realized that I could run atom from the command line. It's not opening beta, but it works and now I see my project viewer is working again as well. Sorry for all my whining!!
@gregaltuna - Yes- I've been using atom
ever since this bug popped up. I used to use atom-beta
regularly, but it is not compatible with atom-project-viewer
.
This has popped back up with Atom 1.25.0
Yeah- It was only ever in version 1.25.x. I'm going to have to not update until this is fixed (and stay on 1.24.1).
hey guys, will try to fix this, they dropped that method
. So I need to investigate another alternative. Sorry. Will try to be as fast as I can
@jccguimaraes Does getPath() and setPath() help? https://electronjs.org/docs/api/app#appgetpathname
I used stateStore.save() and stateStore.load() to fix the issue locally until an official release.
@newelement - you should submit a PR if it fixes the issue! 🥇
It's ugly but it does work :-)
hey!
If you intend to open a PR which I encourage you 👍
I think stateStore
with save
and load
is the way at the moment. Keep in mind that they are Promises.
But if you don't want to please tell! Great troubleshooting!
reproduced here with last stable atom version 1.25 (on debian)
Today I will send the fix to this
It was not until today that I found this problem @jccguimaraes
Great. Thank you @jccguimaraes.
perfect here :) thanks a lot
[Enter steps to reproduce:]
1.25.0-beta0 x64
Atom: 1.25.0-beta0 x64 Electron: 1.7.11 OS: Mac OS X 10.13.3 Thrown From: project-viewer package 1.3.0
Stack Trace
Uncaught TypeError: atom.getStorageFolder is not a function
Commands
Non-Core Packages