microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
src/common/error/errorStrings.ts
428lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. |
| 3 | import * as nls from "vscode-nls"; |
| 4 | import { InternalErrorCode } from "./internalErrorCode"; |
| 5 | |
| 6 | nls.config({ |
| 7 | messageFormat: nls.MessageFormat.bundle, |
| 8 | bundleFormat: nls.BundleFormat.standalone, |
| 9 | })(); |
| 10 | const localize = nls.loadMessageBundle(); |
| 11 | |
| 12 | export const ERROR_STRINGS = { |
| 13 | [InternalErrorCode.CommandCanceled]: localize( |
| 14 | "CommandCanceled", |
| 15 | "Command '{0}' was canceled by the user", |
| 16 | ), |
| 17 | [InternalErrorCode.CommandFailed]: localize( |
| 18 | "CommandFailed", |
| 19 | "Error while executing command '{0}'", |
| 20 | ), |
| 21 | [InternalErrorCode.CommandFailedWithDetails]: localize( |
| 22 | "CommandFailed", |
| 23 | "Error while executing command '{0}'.\nDetails: {1}", |
| 24 | ), |
| 25 | [InternalErrorCode.DebuggingCommandFailed]: localize( |
| 26 | "DebuggingCommandFailed", |
| 27 | "Error while executing debugging command '{0}'", |
| 28 | ), |
| 29 | [InternalErrorCode.CommandFailedWithErrorCode]: localize( |
| 30 | "CommandFailedWithErrorCode", |
| 31 | "Command '{0}' failed with error code {1}", |
| 32 | ), |
| 33 | [InternalErrorCode.ExpectedIntegerValue]: localize( |
| 34 | "ExpectedIntegerValue", |
| 35 | "Expected an integer. Couldn't read {0}", |
| 36 | ), |
| 37 | [InternalErrorCode.PackagerStartFailed]: localize( |
| 38 | "PackagerStartFailed", |
| 39 | "Error while executing React Native Packager.", |
| 40 | ), |
| 41 | [InternalErrorCode.IOSDeployNotFound]: localize( |
| 42 | "IOSDeployNotFound", |
| 43 | "Unable to find ios-deploy. Please make sure to install it globally('brew install ios-deploy')", |
| 44 | ), |
| 45 | [InternalErrorCode.DeviceNotPluggedIn]: localize( |
| 46 | "DeviceNotPluggedIn", |
| 47 | "Unable to mount developer disk image.", |
| 48 | ), |
| 49 | [InternalErrorCode.DeveloperDiskImgNotMountable]: localize( |
| 50 | "DeveloperDiskImgNotMountable", |
| 51 | "Unable to mount developer disk image.", |
| 52 | ), |
| 53 | [InternalErrorCode.ApplicationLaunchFailed]: localize( |
| 54 | "ApplicationLaunchFailed", |
| 55 | "An error occurred while launching the application. {0}", |
| 56 | ), |
| 57 | [InternalErrorCode.CouldNotAttachToDebugger]: localize( |
| 58 | "CouldNotAttachToDebugger", |
| 59 | "An error occurred while attaching debugger to the application. {0}", |
| 60 | ), |
| 61 | [InternalErrorCode.ApplicationLaunchTimedOut]: localize( |
| 62 | "ApplicationLaunchTimedOut", |
| 63 | "Timeout launching application. Is the device locked?", |
| 64 | ), |
| 65 | [InternalErrorCode.IOSSimulatorNotLaunchable]: localize( |
| 66 | "IOSSimulatorNotLaunchable", |
| 67 | "Unable to launch iOS simulator. Try specifying a different target.", |
| 68 | ), |
| 69 | [InternalErrorCode.OpnPackagerLocationNotFound]: localize( |
| 70 | "OpnPackagerLocationNotFound", |
| 71 | "Opn package location not found", |
| 72 | ), |
| 73 | [InternalErrorCode.OpnPackagerNotFound]: localize( |
| 74 | "OpnPackagerNotFound", |
| 75 | "The package 'opn' was not found. {0}", |
| 76 | ), |
| 77 | [InternalErrorCode.PackageNotFound]: localize( |
| 78 | "PackageNotFound", |
| 79 | "Attempting to find package {0} failed with error: {1}", |
| 80 | ), |
| 81 | [InternalErrorCode.PlatformNotSupported]: localize( |
| 82 | "PlatformNotSupported", |
| 83 | "Platform '{0}' is not supported on host platform: {1}", |
| 84 | ), |
| 85 | [InternalErrorCode.ProjectVersionNotParsable]: localize( |
| 86 | "ProjectVersionNotParsable", |
| 87 | "Couldn't parse the version component of the package at {0}: version = {1}", |
| 88 | ), |
| 89 | [InternalErrorCode.ProjectVersionUnsupported]: localize( |
| 90 | "ProjectVersionUnsupported", |
| 91 | "Project version = {0}", |
| 92 | ), |
| 93 | [InternalErrorCode.CouldNotFindProjectVersion]: localize( |
| 94 | "CouldNotFindProjectVersion", |
| 95 | "Couldn't find React Native version in the current workspace or folder", |
| 96 | ), |
| 97 | [InternalErrorCode.ProjectVersionNotReadable]: localize( |
| 98 | "ProjectVersionNotReadable", |
| 99 | "Unable to read version = {0}", |
| 100 | ), |
| 101 | [InternalErrorCode.TelemetryInitializationFailed]: localize( |
| 102 | "TelemetryInitializationFailed", |
| 103 | "{0}. Couldn't initialize telemetry", |
| 104 | ), |
| 105 | [InternalErrorCode.ExtensionActivationFailed]: localize( |
| 106 | "ExtensionActivationFailed", |
| 107 | "Failed to activate the React Native Tools extension", |
| 108 | ), |
| 109 | [InternalErrorCode.DebuggerStubLauncherFailed]: localize( |
| 110 | "DebuggerStubLauncherFailed", |
| 111 | "Failed to setup the stub launcher for the debugger", |
| 112 | ), |
| 113 | [InternalErrorCode.IntellisenseSetupFailed]: localize( |
| 114 | "IntellisenseSetupFailed", |
| 115 | "Failed to setup IntelliSense", |
| 116 | ), |
| 117 | [InternalErrorCode.NodeDebuggerConfigurationFailed]: localize( |
| 118 | "NodeDebuggerConfigurationFailed", |
| 119 | "Failed to configure the node debugger location for the debugger", |
| 120 | ), |
| 121 | [InternalErrorCode.FailedToStopPackagerOnExit]: localize( |
| 122 | "FailedToStopPackagerOnExit", |
| 123 | "Failed to stop the packager while closing React Native Tools", |
| 124 | ), |
| 125 | [InternalErrorCode.FailedToRunOnAndroid]: localize( |
| 126 | "FailedToRunOnAndroid", |
| 127 | "Failed to run the application in Android", |
| 128 | ), |
| 129 | [InternalErrorCode.FailedToRunOnIos]: localize( |
| 130 | "FailedToRunOnIos", |
| 131 | "Failed to run the application in iOS", |
| 132 | ), |
| 133 | [InternalErrorCode.FailedToRunExponent]: localize( |
| 134 | "FailedToRunExponent", |
| 135 | "Failed to run the application in Expo", |
| 136 | ), |
| 137 | [InternalErrorCode.FailedToPublishToExpHost]: localize( |
| 138 | "FailedToRunExponent", |
| 139 | "Failed to publish the application to Exponent", |
| 140 | ), |
| 141 | [InternalErrorCode.FailedToConfigEASBuild]: localize( |
| 142 | "FailedToConfigEASBuild", |
| 143 | "Failed to config Expo app with EAS build", |
| 144 | ), |
| 145 | [InternalErrorCode.FailedToOpenProjectPage]: localize( |
| 146 | "FailedToOpenProjectPage", |
| 147 | "Failed to open EAS project in web page", |
| 148 | ), |
| 149 | [InternalErrorCode.FailedToLaunchExpoWeb]: localize( |
| 150 | "FailedToLaunchExpoWeb", |
| 151 | "Failed to launch ExpoWeb", |
| 152 | ), |
| 153 | [InternalErrorCode.FailedToRevertOpenModule]: localize( |
| 154 | "FailedToRevertOpenModule", |
| 155 | "Failed to revert Open module", |
| 156 | ), |
| 157 | [InternalErrorCode.FailedToOpenRNUpgradeHelper]: localize( |
| 158 | "FailedToOpenRNUpgradeHelper", |
| 159 | "Failed to open react native upgrade helper", |
| 160 | ), |
| 161 | [InternalErrorCode.FailedToInstallExpoGo]: localize( |
| 162 | "FailedToInstallExpoGo", |
| 163 | "Failed to download and install Expo Go application", |
| 164 | ), |
| 165 | [InternalErrorCode.FailedToStartPackager]: localize( |
| 166 | "FailedToStartPackager", |
| 167 | "Failed to start the React Native packager", |
| 168 | ), |
| 169 | [InternalErrorCode.FailedToStopPackager]: localize( |
| 170 | "FailedToStopPackager", |
| 171 | "Failed to stop the React Native packager", |
| 172 | ), |
| 173 | [InternalErrorCode.FailedToRestartPackager]: localize( |
| 174 | "FailedToRestartPackager", |
| 175 | "Failed to restart the React Native packager", |
| 176 | ), |
| 177 | [InternalErrorCode.DebuggingFailed]: localize("DebuggingFailed", "Cannot debug application"), |
| 178 | [InternalErrorCode.DebuggingFailedInNodeWrapper]: localize( |
| 179 | "DebuggingFailedInNodeWrapper", |
| 180 | "Cannot debug application due to an error in the internal Node Debugger", |
| 181 | ), |
| 182 | [InternalErrorCode.RNTempFolderDeletionFailed]: localize( |
| 183 | "RNTempFolderDeletionFailed", |
| 184 | "Couldn't delete the temporary folder {0}", |
| 185 | ), |
| 186 | [InternalErrorCode.CouldNotFindLocationOfNodeDebugger]: localize( |
| 187 | "CouldNotFindLocationOfNodeDebugger", |
| 188 | "Couldn't find the location of the node-debugger extension", |
| 189 | ), |
| 190 | [InternalErrorCode.CouldNotFindWorkspace]: localize( |
| 191 | "CouldNotFindWorkspace", |
| 192 | "Couldn't find any workspace or React Native project folder", |
| 193 | ), |
| 194 | [InternalErrorCode.ReactNativePackageIsNotInstalled]: localize( |
| 195 | "ReactNativePackageIsNotInstalled", |
| 196 | 'Couldn\'t find react-native package in node_modules. Please, run "npm install" inside your project to install it.', |
| 197 | ), |
| 198 | [InternalErrorCode.ReactNativeWindowsIsNotInstalled]: localize( |
| 199 | "ReactNativeWindowsIsNotInstalled", |
| 200 | "It appears you don't have 'react-native-windows' package installed. Please proceed to https://github.com/microsoft/react-native-windows#getting-started for more info.", |
| 201 | ), |
| 202 | [InternalErrorCode.PackagerRunningInDifferentPort]: localize( |
| 203 | "PackagerRunningInDifferentPort", |
| 204 | "A packager cannot be started on port {0} because a packager process is already running on port {1}", |
| 205 | ), |
| 206 | [InternalErrorCode.ErrorWhileProcessingMessageInIPMSServer]: localize( |
| 207 | "ErrorWhileProcessingMessageInIPMSServer", |
| 208 | "An error ocurred while handling message: {0}", |
| 209 | ), |
| 210 | [InternalErrorCode.ErrorNoPipeFound]: localize( |
| 211 | "ErrorNoPipeFound", |
| 212 | "Unable to set up communication with VSCode react-native extension. Is this a react-native project, and have you made sure that the react-native npm package is installed at the root?", |
| 213 | ), |
| 214 | [InternalErrorCode.NotAllSuccessPatternsMatched]: localize( |
| 215 | "NotAllSuccessPatternsMatched", |
| 216 | 'Unknown error: not all success patterns were matched. \n It means that "react-native run-{0}" command failed. \n Please, check the View -> Toggle Output -> React Native, \n View -> Toggle Output -> React Native: Run {1} output windows.', |
| 217 | ), |
| 218 | [InternalErrorCode.CouldNotParsePackageVersion]: localize( |
| 219 | "CouldNotParsePackageVersion", |
| 220 | "Couldn't parse the version component of the package at {0}: version = {1}", |
| 221 | ), |
| 222 | [InternalErrorCode.UnsupportedCommandStatus]: localize( |
| 223 | "UnsupportedCommandStatus", |
| 224 | "Unsupported command status", |
| 225 | ), |
| 226 | [InternalErrorCode.ExpectedExponentTunnelPath]: localize( |
| 227 | "ExpectedExponentTunnelPath", |
| 228 | "No link provided by Expo. Is your project correctly setup?", |
| 229 | ), |
| 230 | [InternalErrorCode.WorkspaceNotFound]: localize( |
| 231 | "WorkspaceNotFound", |
| 232 | "Error while working with workspace: {0}", |
| 233 | ), |
| 234 | [InternalErrorCode.RNVersionNotSupportedByExponent]: localize( |
| 235 | "RNVersionNotSupportedByExponent", |
| 236 | "React Native version not supported by Expo. Major versions supported: {0}", |
| 237 | ), |
| 238 | [InternalErrorCode.UserCancelledExpoLogin]: localize( |
| 239 | "UserCancelledExpoLogin", |
| 240 | "User canceled login.", |
| 241 | ), |
| 242 | [InternalErrorCode.NgrokIsNotInstalledGlobally]: localize( |
| 243 | "NgrokIsNotInstalledGlobally", |
| 244 | 'It seems that "@expo/ngrok{0}" package isn\'t installed globally. This package is required to use Expo tunnels. Please run "npm i -g @expo/ngrok{0}" to install it globally.', |
| 245 | ), |
| 246 | [InternalErrorCode.CannotAttachToPackagerCheckPackagerRunningOnPort]: localize( |
| 247 | "CannotAttachToPackagerCheckPackagerRunningOnPort", |
| 248 | "Cannot attach to packager. Are you sure there is a packager and it is running in the port {0}? If your packager is configured to run in another port make sure to add that to the settings.json.", |
| 249 | ), |
| 250 | [InternalErrorCode.AnotherDebuggerConnectedToPackager]: localize( |
| 251 | "AnotherDebuggerConnectedToPackager", |
| 252 | "Another debugger is already connected to packager. Please close it before trying to debug with VSCode.", |
| 253 | ), |
| 254 | [InternalErrorCode.NotInReactNativeFolderError]: localize( |
| 255 | "NotInReactNativeFolderError", |
| 256 | "Seems to be that you are trying to debug from within directory that is not a React Native project root. \n If so, please, follow these instructions: https://github.com/microsoft/vscode-react-native#customization", |
| 257 | ), |
| 258 | [InternalErrorCode.SourcesStoragePathIsNullOrEmpty]: localize( |
| 259 | "SourcesStoragePathIsNullOrEmpty", |
| 260 | "The sourcesStoragePath argument was null or empty", |
| 261 | ), |
| 262 | [InternalErrorCode.AndroidCouldNotInstallTheAppOnAnyAvailibleDevice]: localize( |
| 263 | "AndroidCouldNotInstallTheAppOnAnyAvailibleDevice", |
| 264 | "Could not install the app on any available device. Make sure you have a correctly \n configured device or emulator running. See https://facebook.github.io/react-native/docs/android-setup.html.", |
| 265 | ), |
| 266 | [InternalErrorCode.AndroidShellCommandTimedOut]: localize( |
| 267 | "AndroidShellCommandTimedOut", |
| 268 | "An Android shell command timed-out. Please retry the operation.", |
| 269 | ), |
| 270 | [InternalErrorCode.AndroidProjectNotFound]: localize( |
| 271 | "AndroidProjectNotFound", |
| 272 | "Android project not found.", |
| 273 | ), |
| 274 | [InternalErrorCode.AndroidMoreThanOneDeviceOrEmulator]: localize( |
| 275 | "AndroidMoreThanOneDeviceOrEmulator", |
| 276 | "More than one device/emulator", |
| 277 | ), |
| 278 | [InternalErrorCode.AndroidFailedToLaunchTheSpecifiedActivity]: localize( |
| 279 | "AndroidFailedToLaunchTheSpecifiedActivity", |
| 280 | "Failed to launch the specified activity. Try running application manually and start debugging using 'Attach to packager' launch configuration.", |
| 281 | ), |
| 282 | [InternalErrorCode.IOSFoundMoreThanOneExecutablesCleanupBuildFolder]: localize( |
| 283 | "IOSFoundMoreThanOneExecutablesCleanupBuildFolder", |
| 284 | "Found more than one executables in {0}. Please cleanup build folder or setup 'productName' launch option.", |
| 285 | ), |
| 286 | [InternalErrorCode.IOSCouldNotFoundExecutableInFolder]: localize( |
| 287 | "IOSCouldNotFoundExecutableInFolder", |
| 288 | "Could not found executable in {0}", |
| 289 | ), |
| 290 | [InternalErrorCode.WinRNMPPluginIsNotInstalled]: localize( |
| 291 | "WinRNMPPluginIsNotInstalled", |
| 292 | "'rnpm-plugin-windows' is not installed.", |
| 293 | ), |
| 294 | [InternalErrorCode.WinRunCommandFailed]: localize( |
| 295 | "WinRunCommandFailed", |
| 296 | "{0}\nPlease check the 'React Native: Run Windows' output channel for details", |
| 297 | ), |
| 298 | [InternalErrorCode.ReactDevtoolsIsNotInstalled]: localize( |
| 299 | "ReactDevtoolsIsNotInstalled", |
| 300 | "React Devtools is not installed. Run `npm install -g react-devtools` command in your terminal to install it.", |
| 301 | ), |
| 302 | [InternalErrorCode.CancellationTokenTriggered]: localize( |
| 303 | "CancellationTokenTriggered", |
| 304 | "Operation canceled", |
| 305 | ), |
| 306 | [InternalErrorCode.WorkspaceIsNotTrusted]: localize( |
| 307 | "WorkspaceIsNotTrusted", |
| 308 | 'The workspace by the project path "{0}" should be trusted to use "{1}"', |
| 309 | ), |
| 310 | [InternalErrorCode.DebuggingWontWorkReloadJSAndReconnect]: localize( |
| 311 | "DebuggingWontWorkReloadJSAndReconnect", |
| 312 | "{0}. Debugging won't work: Try reloading the JS from inside the app, or Reconnect the VS Code debugger", |
| 313 | ), |
| 314 | [InternalErrorCode.ReconnectionToPackagerFailedCheckForErrorsOrRestartReactNative]: localize( |
| 315 | "ReconnectionToPackagerFailedCheckForErrorsOrRestartReactNative", |
| 316 | "Reconnection to the proxy (Packager) failed. Please check the output window for Packager errors, if any. If failure persists, please restart the React Native debugger.", |
| 317 | ), |
| 318 | [InternalErrorCode.FailedToProcessMessageFromReactNativeApp]: localize( |
| 319 | "FailedToProcessMessageFromReactNativeApp", |
| 320 | "Failed to process message from the React Native app. Message:\n{0}", |
| 321 | ), |
| 322 | [InternalErrorCode.FailedToPrepareJSRuntimeEnvironment]: localize( |
| 323 | "FailedToPrepareJSRuntimeEnvironment", |
| 324 | "Failed to prepare the JavaScript runtime environment. Message:\n{0}", |
| 325 | ), |
| 326 | [InternalErrorCode.FailedToSendMessageToTheReactNativeApp]: localize( |
| 327 | "FailedToSendMessageToTheReactNativeApp", |
| 328 | "Failed to send message to the React Native app. Message:\n{0}", |
| 329 | ), |
| 330 | [InternalErrorCode.ReactNativeWorkerProcessThrownAnError]: localize( |
| 331 | "ReactNativeWorkerProcessThrownAnError", |
| 332 | "React Native worker process thrown an error", |
| 333 | ), |
| 334 | [InternalErrorCode.CouldntImportScriptAt]: localize( |
| 335 | "CouldntImportScriptAt", |
| 336 | "Couldn't import script at <{0}>", |
| 337 | ), |
| 338 | [InternalErrorCode.RNMessageWithMethodExecuteApplicationScriptDoesntHaveURLProperty]: localize( |
| 339 | "RNMessageWithMethodExecuteApplicationScriptDoesntHaveURLProperty", |
| 340 | "RNMessage with method 'executeApplicationScript' doesn't have 'url' property", |
| 341 | ), |
| 342 | [InternalErrorCode.CouldNotConnectToDebugTarget]: localize( |
| 343 | "CouldNotConnectToDebugTarget", |
| 344 | "Could not connect to the debug target at {0}: {1}", |
| 345 | ), |
| 346 | [InternalErrorCode.IOSCouldNotFoundDeviceForDirectDebugging]: localize( |
| 347 | "CannotAttachtoiOSDeviceDirectly", |
| 348 | 'Unable to find iOS target device/simulator. Please check that "Settings > Safari > Advanced > Web Inspector = ON" or try specifying a different "port" parameter in launch.json. Also, please make sure that \'target\' property in your debug scenario is defined correctly.', |
| 349 | ), |
| 350 | [InternalErrorCode.FailedToStartAndroidEmulator]: localize( |
| 351 | "FailedToStartAndroidEmulator", |
| 352 | "An error occurred while starting the Android emulator", |
| 353 | ), |
| 354 | [InternalErrorCode.FailedToStartIOSSimulator]: localize( |
| 355 | "FailedToStartIOSSimulator", |
| 356 | "An error occurred while starting the iOS simulator", |
| 357 | ), |
| 358 | [InternalErrorCode.AndroidThereIsNoAnyOnlineDebuggableTarget]: localize( |
| 359 | "AndroidThereIsNoAnyOnlineDebuggableTarget", |
| 360 | "There is no any Android debuggable online target", |
| 361 | ), |
| 362 | [InternalErrorCode.IOSThereIsNoAnyDebuggableTarget]: localize( |
| 363 | "IOSThereIsNoAnyDebuggableTarget", |
| 364 | "There is no any iOS debuggable target", |
| 365 | ), |
| 366 | [InternalErrorCode.TargetSelectionError]: localize( |
| 367 | "TargetSelectionError", |
| 368 | "The target launch finished with an exception: {0}", |
| 369 | ), |
| 370 | [InternalErrorCode.CouldNotRecognizeTargetType]: localize( |
| 371 | "CouldNotRecognizeTargetType", |
| 372 | "Could not recognize type of the target {0}", |
| 373 | ), |
| 374 | [InternalErrorCode.ReactNativemacOSIsNotInstalled]: localize( |
| 375 | "ReactNativemacOSIsNotInstalled", |
| 376 | "It appears you don't have 'react-native-macos' package installed. Please proceed to https://microsoft.github.io/react-native-windows/docs/rnm-getting-started for more info.", |
| 377 | ), |
| 378 | [InternalErrorCode.AndroidCouldNotStartLogCatMonitor]: localize( |
| 379 | "ErrorWhileStartMonitoringLogCat", |
| 380 | "Error while starting monitoring LogCat", |
| 381 | ), |
| 382 | [InternalErrorCode.AndroidCouldNotStopLogCatMonitor]: localize( |
| 383 | "ErrorWhileStopMonitoringLogCat", |
| 384 | "Error while stopping monitoring LogCat", |
| 385 | ), |
| 386 | [InternalErrorCode.AndroidCouldNotFindActiveLogCatMonitor]: localize( |
| 387 | "ErrorWhileSelectMonitoringLogCat", |
| 388 | "No active Android LogCat monitors found", |
| 389 | ), |
| 390 | [InternalErrorCode.CouldNotDirectDebugWithoutHermesEngine]: localize( |
| 391 | "CouldNotDirectDebugWithoutHermesEngine", |
| 392 | "Could not start direct debugging of the {0} application without Hermes engine enabled. Please check if Hermes engine is enabled in your project and your debugging configuration contains 'useHermesEngine' prop set to 'true'", |
| 393 | ), |
| 394 | [InternalErrorCode.CouldNotStartNetworkInspector]: localize( |
| 395 | "ErrorWhileStartNetworkInspector", |
| 396 | "Error while starting Network inspector", |
| 397 | ), |
| 398 | [InternalErrorCode.CouldNotStopNetworkInspector]: localize( |
| 399 | "ErrorWhileStopNetworkInspector", |
| 400 | "Error while stopping Network inspector", |
| 401 | ), |
| 402 | [InternalErrorCode.FailedToTestDevEnvironment]: localize( |
| 403 | "ErrorWhileCheckingDevEnvironment", |
| 404 | "Error while checking development environment configuration", |
| 405 | ), |
| 406 | [InternalErrorCode.UserInputCanceled]: localize( |
| 407 | "UserInputCanceled", |
| 408 | "User canceled data entry", |
| 409 | ), |
| 410 | [InternalErrorCode.FailedToRunPrebuild]: localize( |
| 411 | "FailedToRunPrebuild", |
| 412 | "Failed to run prebuild", |
| 413 | ), |
| 414 | [InternalErrorCode.FailedToRunPrebuildClean]: localize( |
| 415 | "FailedToRunPrebuildClean", |
| 416 | "Failed to run prebuild clean", |
| 417 | ), |
| 418 | [InternalErrorCode.FailedToReopenQRCode]: localize( |
| 419 | "FailedToReopenQRCode", |
| 420 | "Failed to reopen QR code", |
| 421 | ), |
| 422 | [InternalErrorCode.FailedToEnableHermes]: "Failed to make changes to Hermes", |
| 423 | [InternalErrorCode.FailedToEnableExpoHermes]: "Failed to make changes to Expo Hermes", |
| 424 | [InternalErrorCode.FailedToOpenExpoUpgradeHelper]: "Failed to open expo upgrade helper", |
| 425 | [InternalErrorCode.FailedToKillPort]: "Failed to kill port", |
| 426 | [InternalErrorCode.FaiedToSetNewArch]: "Failed to set New Architecture", |
| 427 | [InternalErrorCode.FailedToToggleNetworkView]: "Failed to config network view", |
| 428 | }; |
| 429 | |