Bug appears since tag [email protected]
..\node_modules\apollo-boost\lib\index.js:35 Uncaught TypeError: Cannot set property InMemoryCache of #<Object> which has only a getter
at Object.parcelRequire...\node_modules\apollo-boost\lib\index.js.apollo-client (..\node_modules\apollo-boost\lib\index.js:35)
>>> export { gql, InMemoryCache, HttpLink }; //browser point to this
Built with Parcel + Babel es2017
I'm seeing the same error. Version 0.1.14 is working fine. Upgrading to 0.1.15 generates the error above. You can recreate this by just importing ApolloBoost as shown in the file below.
import ApolloBoost from "apollo-boost"
// Enough to trigger the error in 0.1.15
I think this is an issue where Babel 7 works but Babel 6 doesn't
It's not allowing an export from the * to be renamed
The PR should fix this - is anyone going to take a look?
Is the fix published to registry already? 馃檹
Most helpful comment
I'm seeing the same error. Version 0.1.14 is working fine. Upgrading to 0.1.15 generates the error above. You can recreate this by just importing
ApolloBoostas shown in the file below.