You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs for your project will appear below. Press Ctrl+C to exit.
› Opening exp://127.0.0.1:19000 on iPhone 13
iOS Bundling failed 791ms
Unable to resolve module expo-font from /Users/****/Documents/practice/fintan/todo_app/node_modules/@expo/vector-icons/build/createIconSet.js: expo-font could not be found within the project or in these directories:
node_modules
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
> 1 | import * as Font from "expo-font";
| ^
2 | import React from "react";
3 | import { Text, } from "react-native";
4 | import createIconSet from "./vendor/react-native-vector-icons/lib/create-icon-set";
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
モバイル学習コンテンツのアプリの実行の段階(以下のURL)で、iOS Simulator起動時のJSビルドでエラーとなる。
https://fintan-contents.github.io/mobile-app-crib-notes/react-native/learn/getting-started/launch-created-app
https://docs.expo.dev/guides/using-custom-fonts/
を参考にして、expo-fontをインストールすると解決します。
*できれば、この段階で表示されるべき画面キャプチャがあるとなお分かりやすいと思います。
Beta Was this translation helpful? Give feedback.
All reactions