You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used electron-forge on Linux, which uses tabtab, and I ran into a small bug that seems to be cause by tabtab : the program adds something to ~/.bashrc that looks like
# tabtab source for electron-forge package
# uninstall by removing these lines or running `tabtab uninstall electron-forge`
[ -f /home/user/<etc-etc>/node_modules/tabtab/.completions/electron-forge.bash ] && . /home/user/<etc-etc>/node_modules/tabtab/.completions/electron-forge.bash
where the "etc-etc" is the path I installed it to. If that path contains spaces, those spaces are not escaped (" " is written instead of "\ ") which triggers an error ("bash [ too many arguments" every time you open a terminal) and means the command that is added is not run properly.
The fix is (hopefully) easy; the spaces need to be escaped.
Thanks!
The text was updated successfully, but these errors were encountered:
I've just had exactly the same issue. Fortunately, it's fixed by changing manually the empty spaces in the path for "\ " as @hlabrand had explained. Thanks for pointing to that solution! Never imagined that I was having that problem because I'd been playing around with electron-forge lately.
Hello,
I've used electron-forge on Linux, which uses tabtab, and I ran into a small bug that seems to be cause by tabtab : the program adds something to ~/.bashrc that looks like
where the "etc-etc" is the path I installed it to. If that path contains spaces, those spaces are not escaped (" " is written instead of "\ ") which triggers an error ("bash [ too many arguments" every time you open a terminal) and means the command that is added is not run properly.
The fix is (hopefully) easy; the spaces need to be escaped.
Thanks!
The text was updated successfully, but these errors were encountered: