I'm using galio-framework in my react native project. I installed galio-framewor using npm i galio-framework https://www.npmjs.com/package/galio-framework.
However, when I run my expo project, it returns the warning:
[Unhandled promise rejection: Error: Could not download from './fonts/galio.ttf']
The icon/fonts are not being loaded in my project. How can I install galio.ttf?
Thanks
Related
I keep getting this error:
✖ Installing Bundler
error /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230: warning: Insecure world writable dir /Users(my path here)/ in PATH, mode 040777
✖ Installing Bundler
error Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
Error: Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
at createFromTemplate
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.initialize [as func]
Ive spent too long on this, someone please help
I am getting started with react native using expo-cli version 5.4.9 on ubuntu OS.
Successfully installed expo but getting this error on initializing new app
i has this same problem, reinstall npm and nodejs for update new version, after this resolved.
I made a react native project using react-native init newProject .I wanted to use expo modules in the project in this module so I ran npx install-expo-modules to use expo modules after using this command I installed expo module expo-media-library and when I import this
Error: Requiring module "node_modules\expo-media-library\build\MediaLibrary.js", which threw an exception:
TypeError: undefined is not an object (evaluating '_ExponentMediaLibrary.default.MediaType')
go with npm install expo-media-library or yarn add expo-media-library
try expo upgrade then expo doctor. mine also stucked there for a while. it even causes AppRegistry error that said main is not registered. should've tried with older versions
I installed gesturehandler but I think it did not install successfully. It gives vulnerabilities issues during import.
I imported it but it was not working. When I do expo start, it gives me this error:
I'm trying to update my react native to latest version. I run the command: react-native upgrade --verbose
However, it is returning:
info No version passed. Fetching latest...
info Fetching diff between v0.59.8 and v0.60.5...
error Cannot read property 'toLowerCase' of undefined
debug TypeError: Cannot read property 'toLowerCase' of undefined
at getPatch (/Users/myUser/Documents/React Native/myApp/node_modules/#react-native-community/cli/build/commands/upgrade/upgrade.js:109:121)
at process._tickCallback (internal/process/next_tick.js:68:7)
How can I upgrade react native?
Add the name attribute in your package.json file. this will resolve the issue