Possible Unhandled Promise Rejection (id: 0): Error: "getLoginData" is read-only
It looks like a dependency of babel is the cause of the issue in my case.
When I look in my package-lock.json
, and search for plugin-transform-regenerator
I see version 7.4.5
. Locking the version to 7.4.4
by adding it to my package.json
allows me to build without issue.
This problem would have been easier to track down if I was not ignoring my package-lock.json
.
In summary,
npm i -E @babel/[email protected]