Common errors encountered and how I fixed them. 🐛
- Execution failed for task ':app:mergeReleaseResources'.
Encountered while building a React Native project with
./gradlew assembleRelease
Fix:
Locate the resources mentioned in the error log and remove
$ rm -r app/src/main/res/{drawable-*,raw}
Rerun ./gradlew assembleRelease
- While running
run_ner.py
:KeyError:''
Check this page: huggingface/transformers#4061 Could be either of the fixes mentioned there
While importing a previously installed module in Jupyter
ZipImportError: bad local file header
This is likely to happen because
- Setuptools version is outdated / incompatible with python version
- Module was reinstalled with
python setup.py install
while jupyter notebooks was already running