Closed jimmyff closed 5 years ago
The only dependencies of the project are:
firebase_functions_interop: ^1.0.0
firebase_admin_interop: any
core:
path: ../core
and core uses:
redux: ^3.0.0
redux_logging: ^0.3.0
intl: any
http: ^0.12.0
key_value_store: ^1.0.0
built_value: ^6.3.0
built_collection: ^4.1.0
although redux, redux_logging, http & key_value_store should be excluded via tree-shaking.
I've tracked down the problem that causing instant failure: importing a file that was exporting files that were utilising the redux packages.
Sorry for late reply here. Just curious why would redux packages cause an issue here?
The only two redux packages my core project use are:
redux: ^3.0.0
redux_logging: ^0.3.0
From my functions project when I imported my core project main file (package:core/core.dart
) this was causing the build failiure. I then commented out the exports in core.dart that referenced the redux part of my app and it fixed the build issue.
Most likely it's a bug I've introduced in the redux part of my app but as my firestore functions don't need redux I've just separated that out in to a different file.
When I try to build I get the error below. I doesn't list any imports for me check. Is there a way I can figure out what is library or source is the cause of the problems?
This is the contents of /Users/jimmyff/.npm/_logs/2019-03-19T12_29_35_126Z-debug.log