Error When Building
CodeDruid13 opened this issue · comments
Obare Geoffrey commented
Question
The app won't build when building and throws
A problem occurred configuring project ':react-native-blurhash'.
No such property: baseUrl for class: java.lang.String
Tried using an older version and also the repo as a dependency but still the same error, Any ideas to fix this?
Environment
Binaries:
Node: 14.15.4 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.10 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowAllTrustedApps: Enabled
Versions: 10.0.17763.0
IDEs:
Android Studio: Version 4.1.0.0 AI-201.8743.12.41.7042882
Visual Studio: 16.8.30804.86 (Visual Studio Community 2019)
Languages:
Java: Not Found
Python: 3.9.1 - C:\Python39\python.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
npmGlobalPackages:
*react-native*: Not Found
"react": 16.13.1,
"react-native": 0.63.2,
"react-native-blurhash": 1.1.3
Marc Rousavy commented
Edit: My bad, something slipped in there. Fixed in the newest version (1.1.4) 👍
Can you see if node_modules/react-native-blurhash/package.json
exists? If yes, check if the baseUrl
property is in there