My Yarn project encrypts an HTML after building with Eleventy and SASS with this command:
"build:encrypt": "find ./_site/wip -type f -name '*.html' -exec staticrypt {} morpho -o {} -f ./password.html \\;"
Though, it mysteriously started printing this message when I moved from npm to Yarn:
Syntax Error: Expected "$", "$'", "$(", "$((", "${", "&", "&&", "'", ";", "<", "<&", "<<<", ">", ">&", ">>", "\"", "\"\"", "\\", "|", "|&", "||", [ \t], [0-9], or end of input but "{" found (line 1, column 58).
Column 58 in this command corresponds to the first opening curly brace {
.
It used to work fine a couple months prior and I can’t find much info on this error.