$ GIT_TRACE=1 yarn install
yarn install v1.22.19
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error An unexpected error occurred: "Unexpected non-whitespace character after JSON at position 2".
info If you think this is a bug, please open a bug report with the information provided in "/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ GIT_TRACE=1 yarn install yarn install v1.22.19 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error An unexpected error occurred: "Unexpected non-whitespace character after JSON at position 2". info If you think this is a bug, please open a bug report with the information provided in "/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn-error.log: yarn-error.log
If I remove the yarn.lock, it seems to indicate it is this dependency that causes the issue "immer-reducer": "https://github.com/yrral86/immer-reducer.git#temp-release",