This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
writing to STDOUT in .bashrc
causes hc package
to fail
#2097
Labels
Because
hc package
spawns a newbash
process, it runs.bashrc
. If the user has anything that writes toSTDOUT
in their.bashrc
file, that output gets captured byhc package
. AFAICT this doesn't matter until it comes time to check for the existence of the build artifact, when the output gets incorporated into the expected artifact's path. (It might cause issues elsewhere too, but I'm not sure.)Steps to reproduce:
echo "***hello***"
somewhere in your.bashrc
nix-shell https://holochain.love
hc init stub-project cd stub project hc generate zomes/stub-zome
hc package
The developer who reported this argues that it's a common thing to echo stuff in your
.bashrc
(I'd be inclined to agree). This has a direct impact on any dev who is trying Holochain for the first time; it's a red herring error message.The text was updated successfully, but these errors were encountered: