microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
020085cfb3089f94af2a72a92f48be66a6ef322f

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/common/error/errorStrings.ts

43lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3import * as nls from "vscode-nls";
4const localize = nls.loadMessageBundle();
5
6export const ERROR_STRINGS = {
7 "CommandFailed": localize("CommandFailed", "Error while executing command '{0}'"),
8 "CommandFailedWithErrorCode": localize("CommandFailedWithErrorCode", "Command '{0}' failed with error code {1}"),
9 "ExpectedIntegerValue": localize("ExpectedIntegerValue", "Expected an integer. Couldn't read {0}"),
10 "PackagerStartFailed": localize("PackagerStartFailed", "Error while executing React Native Packager."),
11 "IOSDeployNotFound": localize("IOSDeployNotFound", "Unable to find ios-deploy. Please make sure to install it globally('npm install -g ios-deploy')"),
12 "DeviceNotPluggedIn": localize("DeviceNotPluggedIn", "Unable to mount developer disk image."),
13 "DeveloperDiskImgNotMountable": localize("DeveloperDiskImgNotMountable", "Unable to mount developer disk image."),
14 "UnableToLaunchApplication": localize("UnableToLaunchApplication", "Unable to launch application."),
15 "ApplicationLaunchTimedOut": localize("ApplicationLaunchTimedOut", "Timeout launching application. Is the device locked?"),
16 "IOSSimulatorNotLaunchable": localize("IOSSimulatorNotLaunchable", "Unable to launch iOS simulator. Try specifying a different target."),
17 "OpnPackagerLocationNotFound": localize("OpnPackagerLocationNotFound", "Opn package location not found"),
18 "PackageNotFound": localize("PackageNotFound", "Attempting to find package {0} failed with error: {1}"),
19 "PlatformNotSupported": localize("PlatformNotSupported", "Platform '{0}' is not supported on host platform: {1}"),
20 "ProjectVersionNotParsable": localize("ProjectVersionNotParsable", "Couldn't parse the version component of the package at {0}: version = {1}"),
21 "ProjectVersionUnsupported": localize("ProjectVersionUnsupported", "Project version = {0}"),
22 "ProjectVersionNotReadable": localize("ProjectVersionNotReadable", "Unable to read version = {0}"),
23 "TelemetryInitializationFailed": localize("TelemetryInitializationFailed", "{0}. Couldn't initialize telemetry"),
24 "ExtensionActivationFailed": localize("ExtensionActivationFailed", "Failed to activate the React Native Tools extension"),
25 "DebuggerStubLauncherFailed": localize("DebuggerStubLauncherFailed", "Failed to setup the stub launcher for the debugger"),
26 "IntellisenseSetupFailed": localize("IntellisenseSetupFailed", "Failed to setup IntelliSense"),
27 "NodeDebuggerConfigurationFailed": localize("NodeDebuggerConfigurationFailed", "Failed to configure the node debugger location for the debugger"),
28 "FailedToStopPackagerOnExit": localize("FailedToStopPackagerOnExit", "Failed to stop the packager while closing React Native Tools"),
29 "FailedToRunOnAndroid": localize("FailedToRunOnAndroid", "Failed to run the application in Android"),
30 "FailedToRunOnIos": localize("FailedToRunOnIos", "Failed to run the application in iOS"),
31 "FailedToRunExponent": localize("FailedToRunExponent", "Failed to run the application in Exponent"),
32 "FailedToPublishToExpHost": localize("FailedToRunExponent", "Failed to publish the application to Exponent"),
33 "FailedToStartPackager": localize("FailedToStartPackager", "Failed to start the React Native packager"),
34 "FailedToStopPackager": localize("FailedToStopPackager", "Failed to stop the React Native packager"),
35 "FailedToRestartPackager": localize("FailedToRestartPackager", "Failed to restart the React Native packager"),
36 "DebuggingFailed": localize("DebuggingFailed", "Cannot debug application"),
37 "DebuggingFailedInNodeWrapper": localize("DebuggingFailedInNodeWrapper", "Cannot debug application due to an error in the internal Node Debugger"),
38 "RNTempFolderDeletionFailed": localize("RNTempFolderDeletionFailed", "Couldn't delete the temporary folder {0}"),
39 "CouldNotFindLocationOfNodeDebugger": localize("CouldNotFindLocationOfNodeDebugger", "Couldn't find the location of the node-debugger extension"),
40 "PackagerRunningInDifferentPort": localize("PackagerRunningInDifferentPort", "A packager cannot be started on port {0} because a packager process is already running on port {1}"),
41 "ErrorWhileProcessingMessageInIPMSServer": localize("ErrorWhileProcessingMessageInIPMSServer", "An error ocurred while handling message: {0}"),
42 "ErrorNoPipeFound": localize("ErrorNoPipeFound", "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?"),
43};
44