This repository was archived by the owner on Nov 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
Internal error navigating POS Go #173
Copy link
Copy link
Open
Description
While working on a minor change to POS Go (updating text color on tutorial screens) I ran into an issue where launching the tutorial crashes back to the smart grid. The error said I should report here.
Here's a snippet from metro logs. On POS Go, I navigated to More -> Support -> Learn about POS Go. This is where the LearnAboutPosScreen at the top of the snippet gets logged. Then I tap "View device tutorial" and the rest of the logs are dumped.
INFO RN > Navigation > Navigation Event from LearnAboutPosScreen to Tabs {"location":"Tabs"}
WARN react-native-performance - You have hit an internal error, please report this: https://github.com/Shopify/react-native-performance/issues/new
InvalidMountStateError: No matching Mounted state found for componentInstanceId 19 for screen SmartGrid.
WARN react-native-performance - You have hit an internal error, please report this: https://github.com/Shopify/react-native-performance/issues/new
InvalidMountStateError: No matching Mounted state found for componentInstanceId 23 for screen MoreScreen.
INFO RN > Navigation > Navigation Event from Tabs to HomeScreen {"location":"HomeScreen"}
INFO RN > PerformanceProfiler > Performance profile report {"report":"{\"reportId\":\"e1b074f3-cdca-4c45-ac89-83c6c6ff5907\",\"resourceAcquisitionStatus\":{\"totalTimeMillis\":0,\"components\":{}},\"flowInstanceId\":\"500f83c8-ad8c-452d-8c5e-9c639543e325\",\"sourceScreen\":\"MoreScreen\",\"destinationScreen\":\"Support\",\"flowStartTimeSinceEpochMillis\":1714740349757,\"timeToAbortMillis\":11749,\"interactive\":false}"}
WARN react-native-performance - ScreenProfilerNotStartedError: No previous state was found for screen 'SmartGrid' with componentInstanceId 37. This probably means that the navigation-start event was never recorded, while a subsequent render flow event was (render pass start, data operation profiling, etc.). You seem to have used some profiling API but likely forgot to use the 'useStartProfiler' hook to start the flow. Read the usage here: https://shopify.github.io/react-native-performance/fundamentals/measuring-render-times.
WARN react-native-performance - ScreenProfilerNotStartedError: No previous state was found for screen 'SmartGrid' with componentInstanceId 37. This probably means that the navigation-start event was never recorded, while a subsequent render flow event was (render pass start, data operation profiling, etc.). You seem to have used some profiling API but likely forgot to use the 'useStartProfiler' hook to start the flow. Read the usage here: https://shopify.github.io/react-native-performance/fundamentals/measuring-render-times.
WARN react-native-performance - ScreenProfilerNotStartedError: No previous state was found for screen 'SmartGrid' with componentInstanceId 37. This probably means that the navigation-start event was never recorded, while a subsequent render flow event was (render pass start, data operation profiling, etc.). You seem to have used some profiling API but likely forgot to use the 'useStartProfiler' hook to start the flow. Read the usage here: https://shopify.github.io/react-native-performance/fundamentals/measuring-render-times.
POS 9.8.1
Metadata
Metadata
Assignees
Labels
No labels