Fetching local packages failed problem


I have just downloaded and installed Atom version 1.28.1 on a Mac running macOS 10.12.6 — under Preferences > Settings > Themes there is a message under Installed Themes saying Fetching local packages failed. Show output'' --- the output saysUnexpected token # in JSON’’ followed by several lines that look like the end of my .bashrc — for just about every other category it says ``Loading packages…’’
Any ideas what is happening here ?


My .bashrc generated some output to standard output (originally for debugging purposes) — removing this fixed the immediate problem.

I don’t know why this didn’t happen in a previous version of Atom — I would be interested to know what changed in version 1.28.1 to make .bashrc into a problem.