@wix/create-new 0.0.60 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +189 -181
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -65253,11 +65253,11 @@ var import_variant22 = __toESM(require_lib(), 1);
|
|
|
65253
65253
|
// ../cli-auth/src/messages.json
|
|
65254
65254
|
var messages_default = {
|
|
65255
65255
|
"login.instructions_title": "Authorize the CLI to access your Wix account:",
|
|
65256
|
-
"login.instructions_details": "1. Copy this code to the clipboard: <0>{code}</0>\n2.
|
|
65257
|
-
"login.have_wix_account": "Already have an account? Press <0/> to <1>log in</1> and then paste the code",
|
|
65258
|
-
"login.new_to_wix": "New to Wix? Press <0/> to <1>sign up</1> and then paste the code",
|
|
65259
|
-
"login.legacy_auth_notice": "
|
|
65260
|
-
"login.error_opening_browser": "Failed to open browser
|
|
65256
|
+
"login.instructions_details": "1. Copy this code to the clipboard: <0>{code}</0>\n2. Select an option:",
|
|
65257
|
+
"login.have_wix_account": "Already have an account? Press <0/> to <1>log in</1> and then paste the code.",
|
|
65258
|
+
"login.new_to_wix": "New to Wix? Press <0/> to <1>sign up</1> and then paste the code.",
|
|
65259
|
+
"login.legacy_auth_notice": "A new and more secure login method is available. You'll need to re-login to continue using the CLI.",
|
|
65260
|
+
"login.error_opening_browser": "Failed to open browser. Try opening <0/> manually."
|
|
65261
65261
|
};
|
|
65262
65262
|
|
|
65263
65263
|
// ../cli-auth/src/components/LoginInstructions.tsx
|
|
@@ -66058,30 +66058,30 @@ var import_react81 = __toESM(require_react(), 1);
|
|
|
66058
66058
|
var ServeDeprecationMessage = ({
|
|
66059
66059
|
packageManagerRunCmd
|
|
66060
66060
|
}) => {
|
|
66061
|
-
return /* @__PURE__ */ import_react81.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react81.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react81.default.createElement(Text2, null, /* @__PURE__ */ import_react81.default.createElement(Text2, { skin: "info" }, "serve"), " command is being replaced by", " ", /* @__PURE__ */ import_react81.default.createElement(Text2, { skin: "info" }, "preview"), " command."), /* @__PURE__ */ import_react81.default.createElement(Text2, null, "
|
|
66061
|
+
return /* @__PURE__ */ import_react81.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react81.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react81.default.createElement(Text2, null, /* @__PURE__ */ import_react81.default.createElement(Text2, { skin: "info" }, "`serve`"), " command is being replaced by", " ", /* @__PURE__ */ import_react81.default.createElement(Text2, { skin: "info" }, "`preview`"), " command."), /* @__PURE__ */ import_react81.default.createElement(Text2, null, "Run", " ", /* @__PURE__ */ import_react81.default.createElement(Text2, { skin: "info" }, packageManagerRunCmd ? `\`${packageManagerRunCmd} wix app preview\`` : "`wix app preview`"), " ", "instead."));
|
|
66062
66062
|
};
|
|
66063
66063
|
|
|
66064
66064
|
// ../cli-error-reporting/src/get-error-component.tsx
|
|
66065
66065
|
function getErrorComponent(code, cause) {
|
|
66066
66066
|
return (0, import_variant18.match)(code, {
|
|
66067
66067
|
UnknownFailure: ({ error }) => {
|
|
66068
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, /* @__PURE__ */ import_react82.default.createElement(Text2, { skin: "error" }, "
|
|
66068
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, /* @__PURE__ */ import_react82.default.createElement(Text2, { skin: "error" }, "The CLI encountered an unexpected error:"), error instanceof Error ? /* @__PURE__ */ import_react82.default.createElement(Text2, { skin: "error" }, error.message) : /* @__PURE__ */ import_react82.default.createElement(Text2, null, JSON.stringify(error)));
|
|
66069
66069
|
},
|
|
66070
66070
|
FailedToGetDeviceCode: () => {
|
|
66071
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue a login device code" });
|
|
66071
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue a login device code." });
|
|
66072
66072
|
},
|
|
66073
66073
|
FailedToGetAuthToken: () => {
|
|
66074
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token" });
|
|
66074
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token." });
|
|
66075
66075
|
},
|
|
66076
66076
|
FailedToRefreshTokenForSite: () => {
|
|
66077
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token for site" });
|
|
66077
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token for site." });
|
|
66078
66078
|
},
|
|
66079
66079
|
FailedToRemoveDir: ({ dirPath }) => {
|
|
66080
66080
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66081
66081
|
ErrorMessage,
|
|
66082
66082
|
{
|
|
66083
|
-
message: `
|
|
66084
|
-
hint: `
|
|
66083
|
+
message: `Couldn't delete the directory ${dirPath}.`,
|
|
66084
|
+
hint: `Delete this directory manually and try again.`
|
|
66085
66085
|
}
|
|
66086
66086
|
);
|
|
66087
66087
|
},
|
|
@@ -66096,7 +66096,7 @@ function getErrorComponent(code, cause) {
|
|
|
66096
66096
|
ErrorMessage,
|
|
66097
66097
|
{
|
|
66098
66098
|
message: "No translation published contents found.",
|
|
66099
|
-
hint: `
|
|
66099
|
+
hint: `Make sure the "Wix Multilingual" app has published content.`
|
|
66100
66100
|
}
|
|
66101
66101
|
);
|
|
66102
66102
|
},
|
|
@@ -66108,7 +66108,7 @@ function getErrorComponent(code, cause) {
|
|
|
66108
66108
|
ErrorMessage,
|
|
66109
66109
|
{
|
|
66110
66110
|
message: `Translation file not found at \`${filePath}\`.`,
|
|
66111
|
-
hint: `
|
|
66111
|
+
hint: `Create a \`${filePath}\` file in your project and run the command again.`,
|
|
66112
66112
|
explanation: `The translation file is used to store the translation keys and values for your project.`
|
|
66113
66113
|
}
|
|
66114
66114
|
);
|
|
@@ -66135,8 +66135,8 @@ function getErrorComponent(code, cause) {
|
|
|
66135
66135
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66136
66136
|
ErrorMessage,
|
|
66137
66137
|
{
|
|
66138
|
-
message: `Authenticate failed, your configured development site (${siteId}) could not be accessed
|
|
66139
|
-
hint: "Make sure the site exists and you still have access to it"
|
|
66138
|
+
message: `Authenticate failed, your configured development site (${siteId}) could not be accessed.`,
|
|
66139
|
+
hint: "Make sure the site exists and you still have access to it."
|
|
66140
66140
|
}
|
|
66141
66141
|
);
|
|
66142
66142
|
},
|
|
@@ -66144,8 +66144,8 @@ function getErrorComponent(code, cause) {
|
|
|
66144
66144
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66145
66145
|
ErrorMessage,
|
|
66146
66146
|
{
|
|
66147
|
-
message: "Failed to renew access token: refresh token has been revoked",
|
|
66148
|
-
hint: "
|
|
66147
|
+
message: "Failed to renew access token: refresh token has been revoked.",
|
|
66148
|
+
hint: "Log in again to get a new refresh token."
|
|
66149
66149
|
}
|
|
66150
66150
|
);
|
|
66151
66151
|
},
|
|
@@ -66153,8 +66153,8 @@ function getErrorComponent(code, cause) {
|
|
|
66153
66153
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66154
66154
|
ErrorMessage,
|
|
66155
66155
|
{
|
|
66156
|
-
message: "Failed to login with refresh token",
|
|
66157
|
-
hint: "
|
|
66156
|
+
message: "Failed to login with refresh token.",
|
|
66157
|
+
hint: "Check that your refresh token is valid and not revoked, then try again."
|
|
66158
66158
|
}
|
|
66159
66159
|
);
|
|
66160
66160
|
},
|
|
@@ -66162,8 +66162,8 @@ function getErrorComponent(code, cause) {
|
|
|
66162
66162
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66163
66163
|
SystemErrorMessage,
|
|
66164
66164
|
{
|
|
66165
|
-
message: "
|
|
66166
|
-
explanation: `Wix CLI is still logged in to account ${email}
|
|
66165
|
+
message: "Couldn't log out: Failed to revoke refresh token.",
|
|
66166
|
+
explanation: `Wix CLI is still logged in to account ${email}.`
|
|
66167
66167
|
}
|
|
66168
66168
|
);
|
|
66169
66169
|
},
|
|
@@ -66188,7 +66188,7 @@ function getErrorComponent(code, cause) {
|
|
|
66188
66188
|
ErrorMessage,
|
|
66189
66189
|
{
|
|
66190
66190
|
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Generating a Wix App is only supported using the latest version (", latestVersion, ") of ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "@wix/create-app"), " (current:", " ", currentVersion, ")"),
|
|
66191
|
-
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Make sure you are using the following command:", /* @__PURE__ */ import_react82.default.createElement(Newline, null), /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, updateCommand), /* @__PURE__ */ import_react82.default.createElement(Newline, null), "If the problem persists, try clearing your package manager's cache")
|
|
66191
|
+
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Make sure you are using the following command:", /* @__PURE__ */ import_react82.default.createElement(Newline, null), /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, updateCommand), /* @__PURE__ */ import_react82.default.createElement(Newline, null), "If the problem persists, try clearing your package manager's cache.")
|
|
66192
66192
|
}
|
|
66193
66193
|
);
|
|
66194
66194
|
},
|
|
@@ -66196,8 +66196,8 @@ function getErrorComponent(code, cause) {
|
|
|
66196
66196
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66197
66197
|
ErrorMessage,
|
|
66198
66198
|
{
|
|
66199
|
-
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Generating a Wix App requires an empty directory but", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, folder), " already exists and isn't empty"),
|
|
66200
|
-
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "
|
|
66199
|
+
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Generating a Wix App requires an empty directory but", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, folder), " already exists and isn't empty."),
|
|
66200
|
+
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Select a different project name or delete the existing", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, folder), " folder.")
|
|
66201
66201
|
}
|
|
66202
66202
|
);
|
|
66203
66203
|
},
|
|
@@ -66205,18 +66205,13 @@ function getErrorComponent(code, cause) {
|
|
|
66205
66205
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66206
66206
|
ErrorMessage,
|
|
66207
66207
|
{
|
|
66208
|
-
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Generating a Wix App requires a valid
|
|
66209
|
-
hint: `
|
|
66208
|
+
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Generating a Wix App requires a valid NPM package name for the generated ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "package.json"), " ", /* @__PURE__ */ import_react82.default.createElement(Newline, null), "The name ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, packageName), " failed the following validations:", /* @__PURE__ */ import_react82.default.createElement(Newline, null), validations.map((validation, id) => /* @__PURE__ */ import_react82.default.createElement(Text2, { key: id }, /* @__PURE__ */ import_react82.default.createElement(Newline, null), "- ", validation))),
|
|
66209
|
+
hint: `Select a different project name that follows the validations above.`
|
|
66210
66210
|
}
|
|
66211
66211
|
);
|
|
66212
66212
|
},
|
|
66213
66213
|
SiteSelectorTimedout: () => {
|
|
66214
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66215
|
-
ErrorMessage,
|
|
66216
|
-
{
|
|
66217
|
-
message: `Waiting for application installation timed out.`
|
|
66218
|
-
}
|
|
66219
|
-
);
|
|
66214
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Waiting for app installation timed out.` });
|
|
66220
66215
|
},
|
|
66221
66216
|
TypeErrorInvalidUrl: () => {
|
|
66222
66217
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Invalid assets URL.` });
|
|
@@ -66225,8 +66220,8 @@ function getErrorComponent(code, cause) {
|
|
|
66225
66220
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66226
66221
|
ErrorMessage,
|
|
66227
66222
|
{
|
|
66228
|
-
message: `Unsupported package manager detected.
|
|
66229
|
-
hint: `Expected Yarn or NPM but ${packageManagerName ? `got ${packageManagerName}
|
|
66223
|
+
message: `Unsupported package manager detected. Use a supported one.`,
|
|
66224
|
+
hint: `Expected Yarn or NPM but ${packageManagerName ? `got ${packageManagerName}.` : `failed to detect a package manager.`}`
|
|
66230
66225
|
}
|
|
66231
66226
|
);
|
|
66232
66227
|
},
|
|
@@ -66234,49 +66229,49 @@ function getErrorComponent(code, cause) {
|
|
|
66234
66229
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66235
66230
|
ErrorMessage,
|
|
66236
66231
|
{
|
|
66237
|
-
message: `Generating a Wix App inside ${packageManagerName} workspaces is not supported
|
|
66232
|
+
message: `Generating a Wix App inside ${packageManagerName} workspaces is not supported.`
|
|
66238
66233
|
}
|
|
66239
66234
|
);
|
|
66240
66235
|
},
|
|
66241
66236
|
FailedToGetDeveloperApps: () => {
|
|
66242
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get the list of your applications" });
|
|
66237
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get the list of your applications." });
|
|
66243
66238
|
},
|
|
66244
66239
|
FailedToCreateDevCenterApp: () => {
|
|
66245
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to register your
|
|
66240
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to register your app in Wix." });
|
|
66246
66241
|
},
|
|
66247
66242
|
FailedToCreateDevCenterOAuthApp: () => {
|
|
66248
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth
|
|
66243
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth app in Wix." });
|
|
66249
66244
|
},
|
|
66250
66245
|
FailedToUpdateDevCenterOAuthApp: () => {
|
|
66251
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth
|
|
66246
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth app in Wix." });
|
|
66252
66247
|
},
|
|
66253
66248
|
FailedToAddPermission: () => {
|
|
66254
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
|
|
66249
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to add permission." });
|
|
66255
66250
|
},
|
|
66256
66251
|
FailedToGetPlacements: () => {
|
|
66257
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get placements" });
|
|
66252
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get placements." });
|
|
66258
66253
|
},
|
|
66259
66254
|
FailedToCreateTunnel: () => {
|
|
66260
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to create tunnel" });
|
|
66255
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to create tunnel." });
|
|
66261
66256
|
},
|
|
66262
66257
|
FailedToDeleteTunnel: () => {
|
|
66263
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to delete tunnel" });
|
|
66258
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to delete tunnel." });
|
|
66264
66259
|
},
|
|
66265
66260
|
FailedToGetBlocksExtensionsData: () => {
|
|
66266
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to get blocks extensions data" });
|
|
66261
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to get blocks extensions data." });
|
|
66267
66262
|
},
|
|
66268
66263
|
FailedToGetBlocksStructure: () => {
|
|
66269
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get blocks structure" });
|
|
66264
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get blocks structure." });
|
|
66270
66265
|
},
|
|
66271
66266
|
FailedToUpdateBlocksAfterSync: () => {
|
|
66272
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed updating blocks service after changes
|
|
66267
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed updating blocks service after changes occurred." });
|
|
66273
66268
|
},
|
|
66274
66269
|
SitePermissionDenied: ({ siteId }) => {
|
|
66275
66270
|
return () => {
|
|
66276
66271
|
return /* @__PURE__ */ import_react82.default.createElement(
|
|
66277
66272
|
ErrorMessage,
|
|
66278
66273
|
{
|
|
66279
|
-
message: `You don't have permissions to site ${siteId}
|
|
66274
|
+
message: `You don't have permissions to site ${siteId}.`
|
|
66280
66275
|
}
|
|
66281
66276
|
);
|
|
66282
66277
|
};
|
|
@@ -66286,28 +66281,28 @@ function getErrorComponent(code, cause) {
|
|
|
66286
66281
|
return /* @__PURE__ */ import_react82.default.createElement(
|
|
66287
66282
|
ErrorMessage,
|
|
66288
66283
|
{
|
|
66289
|
-
message: `You don't have permissions to
|
|
66284
|
+
message: `You don't have permissions to app ${appId}.`
|
|
66290
66285
|
}
|
|
66291
66286
|
);
|
|
66292
66287
|
};
|
|
66293
66288
|
},
|
|
66294
66289
|
FailedToUpdateTelemetryConfig: () => {
|
|
66295
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to change telemetry preferences" });
|
|
66290
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to change telemetry preferences." });
|
|
66296
66291
|
},
|
|
66297
66292
|
FailedToInstallPackage: ({ packageName }) => {
|
|
66298
66293
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66299
66294
|
ErrorMessage,
|
|
66300
66295
|
{
|
|
66301
66296
|
cause,
|
|
66302
|
-
message: `Failed to install
|
|
66297
|
+
message: `Failed to install NPM package ${packageName}.`
|
|
66303
66298
|
}
|
|
66304
66299
|
);
|
|
66305
66300
|
},
|
|
66306
66301
|
FailedToResolveNpmDependencies: () => {
|
|
66307
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to resolve
|
|
66302
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to resolve NPM dependencies." });
|
|
66308
66303
|
},
|
|
66309
66304
|
FailedToInstallPackages: () => {
|
|
66310
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { cause, message: "Failed to install
|
|
66305
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { cause, message: "Failed to install NPM packages." });
|
|
66311
66306
|
},
|
|
66312
66307
|
FailedToRunExternalCommand: ({ file, args }) => {
|
|
66313
66308
|
const commandString = [file, ...args].join(" ");
|
|
@@ -66315,7 +66310,7 @@ function getErrorComponent(code, cause) {
|
|
|
66315
66310
|
ErrorMessage,
|
|
66316
66311
|
{
|
|
66317
66312
|
cause,
|
|
66318
|
-
message: `Failed to run external command: ${commandString}
|
|
66313
|
+
message: `Failed to run external command: ${commandString}.`,
|
|
66319
66314
|
hint: "Make sure the command is available on your machine and try again."
|
|
66320
66315
|
}
|
|
66321
66316
|
);
|
|
@@ -66324,9 +66319,9 @@ function getErrorComponent(code, cause) {
|
|
|
66324
66319
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66325
66320
|
ErrorMessage,
|
|
66326
66321
|
{
|
|
66327
|
-
message: "Could not start the migration process",
|
|
66328
|
-
explanation: "Make sure your `package.json` does not contain any packages under `dependencies`, as the migration
|
|
66329
|
-
hint: "If you need to keep any of these packages, move them to `devDependencies` before
|
|
66322
|
+
message: "Could not start the migration process.",
|
|
66323
|
+
explanation: "Make sure your `package.json` does not contain any packages under `dependencies`, as the migration can't continue if any are present.",
|
|
66324
|
+
hint: "If you need to keep any of these packages, move them to `devDependencies` before continuing."
|
|
66330
66325
|
}
|
|
66331
66326
|
);
|
|
66332
66327
|
},
|
|
@@ -66335,7 +66330,7 @@ function getErrorComponent(code, cause) {
|
|
|
66335
66330
|
ErrorMessage,
|
|
66336
66331
|
{
|
|
66337
66332
|
cause,
|
|
66338
|
-
message: `Failed to uninstall
|
|
66333
|
+
message: `Failed to uninstall NPM package ${packageName}.`
|
|
66339
66334
|
}
|
|
66340
66335
|
);
|
|
66341
66336
|
},
|
|
@@ -66343,7 +66338,7 @@ function getErrorComponent(code, cause) {
|
|
|
66343
66338
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66344
66339
|
ErrorMessage,
|
|
66345
66340
|
{
|
|
66346
|
-
message: `Failed to sync the local project to revision ${revision}
|
|
66341
|
+
message: `Failed to sync the local project to revision ${revision}.`
|
|
66347
66342
|
}
|
|
66348
66343
|
);
|
|
66349
66344
|
},
|
|
@@ -66354,13 +66349,13 @@ function getErrorComponent(code, cause) {
|
|
|
66354
66349
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Failed to write cache file at ${path4}.` });
|
|
66355
66350
|
},
|
|
66356
66351
|
UploadApplicationFailed: () => {
|
|
66357
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to upload the
|
|
66352
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to upload the app." });
|
|
66358
66353
|
},
|
|
66359
66354
|
BuiltProjectNeeded: () => {
|
|
66360
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Can
|
|
66355
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Can't find build output. Execute `wix app build` to build your app before continuing." });
|
|
66361
66356
|
},
|
|
66362
66357
|
WixUninstallMissingPackageName: () => {
|
|
66363
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "
|
|
66358
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Specify a package name." });
|
|
66364
66359
|
},
|
|
66365
66360
|
FailedToReadJson: ({ filePath }) => {
|
|
66366
66361
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { cause, message: `Failed to read ${filePath}.` });
|
|
@@ -66378,13 +66373,13 @@ function getErrorComponent(code, cause) {
|
|
|
66378
66373
|
);
|
|
66379
66374
|
},
|
|
66380
66375
|
FailedToWriteWixLock: () => {
|
|
66381
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Failed to write 'wix.lock'
|
|
66376
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Failed to write 'wix.lock'.` });
|
|
66382
66377
|
},
|
|
66383
66378
|
FailedToWriteDependenciesMetadata: () => {
|
|
66384
66379
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66385
66380
|
ErrorMessage,
|
|
66386
66381
|
{
|
|
66387
|
-
message: `Failed to write 'dependencies-metadata.json'
|
|
66382
|
+
message: `Failed to write 'dependencies-metadata.json'.`
|
|
66388
66383
|
}
|
|
66389
66384
|
);
|
|
66390
66385
|
},
|
|
@@ -66401,7 +66396,7 @@ function getErrorComponent(code, cause) {
|
|
|
66401
66396
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66402
66397
|
ErrorMessage,
|
|
66403
66398
|
{
|
|
66404
|
-
message: `Dashboard page config not found at ${configPath}
|
|
66399
|
+
message: `Dashboard page config not found at ${configPath}.`
|
|
66405
66400
|
}
|
|
66406
66401
|
);
|
|
66407
66402
|
},
|
|
@@ -66409,7 +66404,7 @@ function getErrorComponent(code, cause) {
|
|
|
66409
66404
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66410
66405
|
ErrorMessage,
|
|
66411
66406
|
{
|
|
66412
|
-
message: `Embedded script config not found at ${configPath}
|
|
66407
|
+
message: `Embedded script config not found at ${configPath}.`
|
|
66413
66408
|
}
|
|
66414
66409
|
);
|
|
66415
66410
|
},
|
|
@@ -66417,7 +66412,7 @@ function getErrorComponent(code, cause) {
|
|
|
66417
66412
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66418
66413
|
ErrorMessage,
|
|
66419
66414
|
{
|
|
66420
|
-
message: `Site widget config not found at ${configPath}
|
|
66415
|
+
message: `Site widget config not found at ${configPath}.`
|
|
66421
66416
|
}
|
|
66422
66417
|
);
|
|
66423
66418
|
},
|
|
@@ -66425,7 +66420,7 @@ function getErrorComponent(code, cause) {
|
|
|
66425
66420
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66426
66421
|
ErrorMessage,
|
|
66427
66422
|
{
|
|
66428
|
-
message: `Site plugin config not found at ${configPath}
|
|
66423
|
+
message: `Site plugin config not found at ${configPath}.`
|
|
66429
66424
|
}
|
|
66430
66425
|
);
|
|
66431
66426
|
},
|
|
@@ -66433,7 +66428,7 @@ function getErrorComponent(code, cause) {
|
|
|
66433
66428
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66434
66429
|
ErrorMessage,
|
|
66435
66430
|
{
|
|
66436
|
-
message: `Blocks widget
|
|
66431
|
+
message: `Blocks widget API file not found at ${folderPath}.`
|
|
66437
66432
|
}
|
|
66438
66433
|
);
|
|
66439
66434
|
},
|
|
@@ -66441,7 +66436,7 @@ function getErrorComponent(code, cause) {
|
|
|
66441
66436
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66442
66437
|
ErrorMessage,
|
|
66443
66438
|
{
|
|
66444
|
-
message: `Blocks widget config not found at ${configPath}
|
|
66439
|
+
message: `Blocks widget config not found at ${configPath}.`
|
|
66445
66440
|
}
|
|
66446
66441
|
);
|
|
66447
66442
|
},
|
|
@@ -66449,7 +66444,7 @@ function getErrorComponent(code, cause) {
|
|
|
66449
66444
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66450
66445
|
ErrorMessage,
|
|
66451
66446
|
{
|
|
66452
|
-
message: `Blocks widget panel config not found at ${configPath}
|
|
66447
|
+
message: `Blocks widget panel config not found at ${configPath}.`
|
|
66453
66448
|
}
|
|
66454
66449
|
);
|
|
66455
66450
|
},
|
|
@@ -66476,7 +66471,7 @@ function getErrorComponent(code, cause) {
|
|
|
66476
66471
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66477
66472
|
ErrorMessage,
|
|
66478
66473
|
{
|
|
66479
|
-
message: `Dashboard plugin config not found at ${configPath}
|
|
66474
|
+
message: `Dashboard plugin config not found at ${configPath}.`
|
|
66480
66475
|
}
|
|
66481
66476
|
);
|
|
66482
66477
|
},
|
|
@@ -66484,7 +66479,7 @@ function getErrorComponent(code, cause) {
|
|
|
66484
66479
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66485
66480
|
ErrorMessage,
|
|
66486
66481
|
{
|
|
66487
|
-
message: `Dashboard menu plugin config not found at ${configPath}
|
|
66482
|
+
message: `Dashboard menu plugin config not found at ${configPath}.`
|
|
66488
66483
|
}
|
|
66489
66484
|
);
|
|
66490
66485
|
},
|
|
@@ -66492,7 +66487,7 @@ function getErrorComponent(code, cause) {
|
|
|
66492
66487
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66493
66488
|
ErrorMessage,
|
|
66494
66489
|
{
|
|
66495
|
-
message: `Service plugin config not found at ${configPath}
|
|
66490
|
+
message: `Service plugin config not found at ${configPath}.`
|
|
66496
66491
|
}
|
|
66497
66492
|
);
|
|
66498
66493
|
},
|
|
@@ -66500,7 +66495,7 @@ function getErrorComponent(code, cause) {
|
|
|
66500
66495
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66501
66496
|
ErrorMessage,
|
|
66502
66497
|
{
|
|
66503
|
-
message: `Dashboard modal config not found at ${configPath}
|
|
66498
|
+
message: `Dashboard modal config not found at ${configPath}.`
|
|
66504
66499
|
}
|
|
66505
66500
|
);
|
|
66506
66501
|
},
|
|
@@ -66508,7 +66503,7 @@ function getErrorComponent(code, cause) {
|
|
|
66508
66503
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66509
66504
|
ErrorMessage,
|
|
66510
66505
|
{
|
|
66511
|
-
message: `TypeScript config not found at \`${configPath}
|
|
66506
|
+
message: `TypeScript config not found at \`${configPath}\`.`
|
|
66512
66507
|
}
|
|
66513
66508
|
);
|
|
66514
66509
|
},
|
|
@@ -66517,7 +66512,7 @@ function getErrorComponent(code, cause) {
|
|
|
66517
66512
|
ErrorMessage,
|
|
66518
66513
|
{
|
|
66519
66514
|
message: defaultOutdent`
|
|
66520
|
-
Invalid TypeScript configuration found at \`${configPath}
|
|
66515
|
+
Invalid TypeScript configuration found at \`${configPath}\`.`
|
|
66521
66516
|
}
|
|
66522
66517
|
);
|
|
66523
66518
|
},
|
|
@@ -66529,7 +66524,7 @@ function getErrorComponent(code, cause) {
|
|
|
66529
66524
|
Invalid configuration found at \`${configPath}\`:
|
|
66530
66525
|
The following errors were found:
|
|
66531
66526
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
66532
|
-
hint: "Fix the errors above for your configurations to be applied
|
|
66527
|
+
hint: "Fix the errors above for your configurations to be applied."
|
|
66533
66528
|
}
|
|
66534
66529
|
);
|
|
66535
66530
|
},
|
|
@@ -66541,7 +66536,7 @@ function getErrorComponent(code, cause) {
|
|
|
66541
66536
|
Invalid params override found at \`${paramsOverridePath}\`:
|
|
66542
66537
|
The following errors were found:
|
|
66543
66538
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
66544
|
-
hint: "Fix the errors above for your params override to be applied
|
|
66539
|
+
hint: "Fix the errors above for your params override to be applied."
|
|
66545
66540
|
}
|
|
66546
66541
|
);
|
|
66547
66542
|
},
|
|
@@ -66553,12 +66548,12 @@ function getErrorComponent(code, cause) {
|
|
|
66553
66548
|
Invalid configuration found at \`${path4}\`:
|
|
66554
66549
|
The following errors were found:
|
|
66555
66550
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
66556
|
-
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Try to re-install ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " dependency")
|
|
66551
|
+
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Try to re-install ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " dependency.")
|
|
66557
66552
|
}
|
|
66558
66553
|
);
|
|
66559
66554
|
},
|
|
66560
66555
|
PermissionDenied: () => {
|
|
66561
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Forbidden operation. Missing permissions" });
|
|
66556
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Forbidden operation. Missing permissions." });
|
|
66562
66557
|
},
|
|
66563
66558
|
FailedToReadProjectFiles: () => {
|
|
66564
66559
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -66570,7 +66565,7 @@ function getErrorComponent(code, cause) {
|
|
|
66570
66565
|
);
|
|
66571
66566
|
},
|
|
66572
66567
|
GridAppFilesMaxLengthExceeded: ({ maxSizeViolationsData, filePaths }) => {
|
|
66573
|
-
let errorMessage2 = "Found
|
|
66568
|
+
let errorMessage2 = "Found 1 or more project files that are bigger than the allowed limit.";
|
|
66574
66569
|
if (maxSizeViolationsData?.files.length) {
|
|
66575
66570
|
errorMessage2 += ` (${maxSizeViolationsData.expectedSize}KB): ${maxSizeViolationsData.files.map((f) => `${filePaths[f.fileIndex]} (${f.receivedSize}KB)`).join(", ")}`;
|
|
66576
66571
|
}
|
|
@@ -66601,7 +66596,7 @@ function getErrorComponent(code, cause) {
|
|
|
66601
66596
|
);
|
|
66602
66597
|
},
|
|
66603
66598
|
DeviceCodeTimedOut: () => {
|
|
66604
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "The device code
|
|
66599
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "The device code wasn't approved in the time allocated. Start the login process again." });
|
|
66605
66600
|
},
|
|
66606
66601
|
DuplicateComponentIdsError: ({ issues }) => {
|
|
66607
66602
|
const Issue = ({ issue }) => {
|
|
@@ -66626,7 +66621,7 @@ function getErrorComponent(code, cause) {
|
|
|
66626
66621
|
return () => /* @__PURE__ */ import_react82.default.createElement(Box_default, { flexDirection: "column", rowGap: 1 }, /* @__PURE__ */ import_react82.default.createElement(
|
|
66627
66622
|
ErrorMessage,
|
|
66628
66623
|
{
|
|
66629
|
-
message: "Found multiple extensions with the same
|
|
66624
|
+
message: "Found multiple extensions with the same ID, this might happen if you copy paste folders.",
|
|
66630
66625
|
hint: "You can use the provided suggested GUIDs as the ID of the newly created extension."
|
|
66631
66626
|
}
|
|
66632
66627
|
), issues.map((issue) => /* @__PURE__ */ import_react82.default.createElement(Issue, { issue, key: issue.id })));
|
|
@@ -66641,39 +66636,39 @@ function getErrorComponent(code, cause) {
|
|
|
66641
66636
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Got unexpected response from server. Make sure you are running a supported version of the Velo CLI." });
|
|
66642
66637
|
},
|
|
66643
66638
|
InvalidGetDeploymentResponse: () => {
|
|
66644
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Got unexpected response from server.
|
|
66639
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Got unexpected response from server. Try again later." });
|
|
66645
66640
|
},
|
|
66646
66641
|
InvalidGetDeploymentPipelineDescriptionResponse: () => {
|
|
66647
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Got unexpected response from server" });
|
|
66642
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Got unexpected response from server." });
|
|
66648
66643
|
},
|
|
66649
66644
|
FailedToGetPagesDiff: () => {
|
|
66650
66645
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to request pages diff." });
|
|
66651
66646
|
},
|
|
66652
66647
|
InvalidViteBuildOutput: () => {
|
|
66653
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Invalid vite build output" });
|
|
66648
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Invalid vite build output." });
|
|
66654
66649
|
},
|
|
66655
66650
|
ViteModuleBundleNotFound: () => {
|
|
66656
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Could not find module bundle in vite build output" });
|
|
66651
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Could not find module bundle in vite build output." });
|
|
66657
66652
|
},
|
|
66658
66653
|
ViteFileNotFoundInOutput: ({ fileName }) => {
|
|
66659
66654
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66660
66655
|
ErrorMessage,
|
|
66661
66656
|
{
|
|
66662
|
-
message: `Could not find ${fileName} in vite build output
|
|
66657
|
+
message: `Could not find ${fileName} in vite build output.`
|
|
66663
66658
|
}
|
|
66664
66659
|
);
|
|
66665
66660
|
},
|
|
66666
66661
|
FailedToCreateBackendDeployment: () => {
|
|
66667
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to create backend deployment" });
|
|
66662
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to create backend deployment." });
|
|
66668
66663
|
},
|
|
66669
66664
|
FailedToUpdateBackendDeployment: () => {
|
|
66670
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to update backend deployment" });
|
|
66665
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to update backend deployment." });
|
|
66671
66666
|
},
|
|
66672
66667
|
FailedToGetBackendDeployment: () => {
|
|
66673
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to get backend deployment" });
|
|
66668
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to get backend deployment." });
|
|
66674
66669
|
},
|
|
66675
66670
|
FailedToDeployBackend: () => {
|
|
66676
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to deploy backend" });
|
|
66671
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to deploy backend." });
|
|
66677
66672
|
},
|
|
66678
66673
|
FailedToGetUserInfo: () => {
|
|
66679
66674
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to get user information." });
|
|
@@ -66682,10 +66677,10 @@ function getErrorComponent(code, cause) {
|
|
|
66682
66677
|
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get account information." });
|
|
66683
66678
|
},
|
|
66684
66679
|
FailedToCreateDevelopmentSite: () => {
|
|
66685
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "
|
|
66680
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Couldn't create a development site." });
|
|
66686
66681
|
},
|
|
66687
66682
|
FailedToCreateMetaSiteFromTemplate: () => {
|
|
66688
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to create a metasite from template" });
|
|
66683
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to create a metasite from template." });
|
|
66689
66684
|
},
|
|
66690
66685
|
FailedToGetDevelopmentSites: () => {
|
|
66691
66686
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to request development sites." });
|
|
@@ -66706,7 +66701,7 @@ function getErrorComponent(code, cause) {
|
|
|
66706
66701
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to request sites list." });
|
|
66707
66702
|
},
|
|
66708
66703
|
FailedToGetSite: () => {
|
|
66709
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "
|
|
66704
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Couldn't get information about your configured development site." });
|
|
66710
66705
|
},
|
|
66711
66706
|
FailedToDeploySite: () => {
|
|
66712
66707
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to deploy site." });
|
|
@@ -66722,7 +66717,7 @@ function getErrorComponent(code, cause) {
|
|
|
66722
66717
|
ErrorMessage,
|
|
66723
66718
|
{
|
|
66724
66719
|
message: "Failed to save the current development site.",
|
|
66725
|
-
hint: `Make sure the \`${path4}\` file has proper permissions and is accessible
|
|
66720
|
+
hint: `Make sure the \`${path4}\` file has proper permissions and is accessible.`
|
|
66726
66721
|
}
|
|
66727
66722
|
);
|
|
66728
66723
|
},
|
|
@@ -66730,8 +66725,8 @@ function getErrorComponent(code, cause) {
|
|
|
66730
66725
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66731
66726
|
ErrorMessage,
|
|
66732
66727
|
{
|
|
66733
|
-
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Failed to build the
|
|
66734
|
-
hint: "
|
|
66728
|
+
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Failed to build the app.", /* @__PURE__ */ import_react82.default.createElement(Newline, null), cause?.message),
|
|
66729
|
+
hint: "Check the build output for more information."
|
|
66735
66730
|
}
|
|
66736
66731
|
);
|
|
66737
66732
|
},
|
|
@@ -66748,7 +66743,7 @@ function getErrorComponent(code, cause) {
|
|
|
66748
66743
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66749
66744
|
SystemErrorMessage,
|
|
66750
66745
|
{
|
|
66751
|
-
message: `Failed to fetch site installation details for app ${appId}
|
|
66746
|
+
message: `Failed to fetch site installation details for app ${appId}.`
|
|
66752
66747
|
}
|
|
66753
66748
|
);
|
|
66754
66749
|
},
|
|
@@ -66789,7 +66784,7 @@ function getErrorComponent(code, cause) {
|
|
|
66789
66784
|
ErrorMessage,
|
|
66790
66785
|
{
|
|
66791
66786
|
cause,
|
|
66792
|
-
message: "Failed to save
|
|
66787
|
+
message: "Failed to save API key auth data."
|
|
66793
66788
|
}
|
|
66794
66789
|
);
|
|
66795
66790
|
},
|
|
@@ -66824,12 +66819,12 @@ function getErrorComponent(code, cause) {
|
|
|
66824
66819
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66825
66820
|
SystemErrorMessage,
|
|
66826
66821
|
{
|
|
66827
|
-
message: `Template path not found: ${templatePath}
|
|
66822
|
+
message: `Template path not found: ${templatePath}.`
|
|
66828
66823
|
}
|
|
66829
66824
|
);
|
|
66830
66825
|
},
|
|
66831
66826
|
LocalTemplatePathNotFound: ({ path: path4 }) => {
|
|
66832
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Local template path not found: ${path4}
|
|
66827
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: `Local template path not found: ${path4}.` });
|
|
66833
66828
|
},
|
|
66834
66829
|
FailedToCloneRepo: () => {
|
|
66835
66830
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -66837,12 +66832,12 @@ function getErrorComponent(code, cause) {
|
|
|
66837
66832
|
{
|
|
66838
66833
|
cause,
|
|
66839
66834
|
message: "Failed to clone repo.",
|
|
66840
|
-
hint: "Make sure the Git URL is correct and that your local Git is configured properly to access the remote repository"
|
|
66835
|
+
hint: "Make sure the Git URL is correct and that your local Git is configured properly to access the remote repository."
|
|
66841
66836
|
}
|
|
66842
66837
|
);
|
|
66843
66838
|
},
|
|
66844
66839
|
InvalidGitUrl: ({ url }) => {
|
|
66845
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: `Invalid Git URL: ${url}
|
|
66840
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: `Invalid Git URL: ${url}.` });
|
|
66846
66841
|
},
|
|
66847
66842
|
AuthenticationRequired: () => {
|
|
66848
66843
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "You have to already be logged in to run this command." });
|
|
@@ -66854,14 +66849,14 @@ function getErrorComponent(code, cause) {
|
|
|
66854
66849
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "The account you are trying to log in to has been deleted." });
|
|
66855
66850
|
},
|
|
66856
66851
|
SiteConfiguredRequired: () => {
|
|
66857
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "You must
|
|
66852
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "You must enter a `--site` in the command options." });
|
|
66858
66853
|
},
|
|
66859
66854
|
FailedAddingPackageToWorkspace: () => {
|
|
66860
66855
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66861
66856
|
ErrorMessage,
|
|
66862
66857
|
{
|
|
66863
|
-
message: "
|
|
66864
|
-
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Full error can be found in ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "wix-error.log"))
|
|
66858
|
+
message: "Couldn't add package to the workspaces configuration. Add it as instructed by your package manager.",
|
|
66859
|
+
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Full error can be found in ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "wix-error.log"), ".")
|
|
66865
66860
|
}
|
|
66866
66861
|
);
|
|
66867
66862
|
},
|
|
@@ -66872,7 +66867,7 @@ function getErrorComponent(code, cause) {
|
|
|
66872
66867
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "This command is not supported in non-interactive terminals. Run with --help to see flags for non-interactive usage, or use an interactive terminal (TTY)." });
|
|
66873
66868
|
},
|
|
66874
66869
|
FailedToResolveViteOrigin: () => {
|
|
66875
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to resolve the base url for CSS asset urls" });
|
|
66870
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "Failed to resolve the base url for CSS asset urls." });
|
|
66876
66871
|
},
|
|
66877
66872
|
FailedToCreateAppRelease: () => {
|
|
66878
66873
|
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to create an app configuration." });
|
|
@@ -66881,7 +66876,7 @@ function getErrorComponent(code, cause) {
|
|
|
66881
66876
|
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Unexpected response from server." });
|
|
66882
66877
|
},
|
|
66883
66878
|
FailedToReleaseHeadlessProject: () => {
|
|
66884
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed releasing a headless site and app" });
|
|
66879
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed releasing a headless site and app." });
|
|
66885
66880
|
},
|
|
66886
66881
|
AppReleaseConfigViolations: () => {
|
|
66887
66882
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -66896,7 +66891,7 @@ function getErrorComponent(code, cause) {
|
|
|
66896
66891
|
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to update an app configuration." });
|
|
66897
66892
|
},
|
|
66898
66893
|
FailedToCreateComponents: () => {
|
|
66899
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to create components" });
|
|
66894
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to create components." });
|
|
66900
66895
|
},
|
|
66901
66896
|
FailedToFetchPackageDetails: () => {
|
|
66902
66897
|
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to fetch cli package details." });
|
|
@@ -66909,7 +66904,7 @@ function getErrorComponent(code, cause) {
|
|
|
66909
66904
|
ErrorMessage,
|
|
66910
66905
|
{
|
|
66911
66906
|
message: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "The versions of ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "@wix/cli"), " (", cliVersion, ") and", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " (", cliAppVersion, ") dependencies do not match"),
|
|
66912
|
-
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Align their versions in your ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "package.json"), " and re-install dependencies")
|
|
66907
|
+
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Align their versions in your ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "package.json"), " and re-install dependencies.")
|
|
66913
66908
|
}
|
|
66914
66909
|
);
|
|
66915
66910
|
},
|
|
@@ -66917,7 +66912,7 @@ function getErrorComponent(code, cause) {
|
|
|
66917
66912
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66918
66913
|
ErrorMessage,
|
|
66919
66914
|
{
|
|
66920
|
-
message: `Invalid dashboard page route: ${route}
|
|
66915
|
+
message: `Invalid dashboard page route: ${route}.`,
|
|
66921
66916
|
hint: errorMessage2
|
|
66922
66917
|
}
|
|
66923
66918
|
);
|
|
@@ -66926,7 +66921,7 @@ function getErrorComponent(code, cause) {
|
|
|
66926
66921
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66927
66922
|
ErrorMessage,
|
|
66928
66923
|
{
|
|
66929
|
-
message: `Invalid embedded script folder: ${path4}
|
|
66924
|
+
message: `Invalid embedded script folder: ${path4}.`,
|
|
66930
66925
|
hint: errorMessage2
|
|
66931
66926
|
}
|
|
66932
66927
|
);
|
|
@@ -66935,7 +66930,7 @@ function getErrorComponent(code, cause) {
|
|
|
66935
66930
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66936
66931
|
ErrorMessage,
|
|
66937
66932
|
{
|
|
66938
|
-
message: `Invalid embedded script template in ${templateFilename}
|
|
66933
|
+
message: `Invalid embedded script template in ${templateFilename}.`,
|
|
66939
66934
|
hint: errorMessage2
|
|
66940
66935
|
}
|
|
66941
66936
|
);
|
|
@@ -66944,7 +66939,7 @@ function getErrorComponent(code, cause) {
|
|
|
66944
66939
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
66945
66940
|
ErrorMessage,
|
|
66946
66941
|
{
|
|
66947
|
-
message: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "
|
|
66942
|
+
message: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "The folder name is used as tagName for your custom element. Unfortunately, ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, tagName), " is invalid tagName. Reason: ", errorMessage2),
|
|
66948
66943
|
hint: /* @__PURE__ */ import_react82.default.createElement(Text2, null, "You can find rules for tagName here:", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, "https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names"))
|
|
66949
66944
|
}
|
|
66950
66945
|
);
|
|
@@ -66959,13 +66954,13 @@ function getErrorComponent(code, cause) {
|
|
|
66959
66954
|
);
|
|
66960
66955
|
},
|
|
66961
66956
|
FailedToCreateSiteOverride: () => {
|
|
66962
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to create site override configuration" });
|
|
66957
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to create site override configuration." });
|
|
66963
66958
|
},
|
|
66964
66959
|
FailedToGetDeploymentPipelineDescription: () => {
|
|
66965
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get deployment pipeline details" });
|
|
66960
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get deployment pipeline details." });
|
|
66966
66961
|
},
|
|
66967
66962
|
FailedToGetDeploymentStatus: () => {
|
|
66968
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get deployment status" });
|
|
66963
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get deployment status." });
|
|
66969
66964
|
},
|
|
66970
66965
|
NetworkError: () => {
|
|
66971
66966
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -66978,10 +66973,10 @@ function getErrorComponent(code, cause) {
|
|
|
66978
66973
|
);
|
|
66979
66974
|
},
|
|
66980
66975
|
FailedToGenerateAppMarketQueryParam: () => {
|
|
66981
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get generate appMarket query parameter" });
|
|
66976
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get generate appMarket query parameter." });
|
|
66982
66977
|
},
|
|
66983
66978
|
FailedToParseLog: () => {
|
|
66984
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to parse log from the server" });
|
|
66979
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to parse log from the server." });
|
|
66985
66980
|
},
|
|
66986
66981
|
AppForVersionNotFound: ({ version }) => {
|
|
66987
66982
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -66993,13 +66988,13 @@ function getErrorComponent(code, cause) {
|
|
|
66993
66988
|
);
|
|
66994
66989
|
},
|
|
66995
66990
|
FailedToFetchAppForVersion: () => {
|
|
66996
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: `Failed to fetch app configuration
|
|
66991
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: `Failed to fetch app configuration.` });
|
|
66997
66992
|
},
|
|
66998
66993
|
FailedToGetAppSecret: () => {
|
|
66999
66994
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67000
66995
|
SystemErrorMessage,
|
|
67001
66996
|
{
|
|
67002
|
-
message: `Failed to fetch app keys and configuration
|
|
66997
|
+
message: `Failed to fetch app keys and configuration.`
|
|
67003
66998
|
}
|
|
67004
66999
|
);
|
|
67005
67000
|
},
|
|
@@ -67048,7 +67043,7 @@ function getErrorComponent(code, cause) {
|
|
|
67048
67043
|
ErrorMessage,
|
|
67049
67044
|
{
|
|
67050
67045
|
message: `Multilingual app is not installed.`,
|
|
67051
|
-
hint: `
|
|
67046
|
+
hint: `Install the "Wix Multilingual" app in your site dashboard to use this command.`
|
|
67052
67047
|
}
|
|
67053
67048
|
);
|
|
67054
67049
|
},
|
|
@@ -67057,7 +67052,7 @@ function getErrorComponent(code, cause) {
|
|
|
67057
67052
|
ErrorMessage,
|
|
67058
67053
|
{
|
|
67059
67054
|
message: "Failed to fetch the primary language for your site.",
|
|
67060
|
-
hint: "
|
|
67055
|
+
hint: "Ensure Wix Multilingual is installed and configured on your site."
|
|
67061
67056
|
}
|
|
67062
67057
|
);
|
|
67063
67058
|
},
|
|
@@ -67066,7 +67061,7 @@ function getErrorComponent(code, cause) {
|
|
|
67066
67061
|
ErrorMessage,
|
|
67067
67062
|
{
|
|
67068
67063
|
message: "Failed to push translations to Wix Multilingual.",
|
|
67069
|
-
hint: `
|
|
67064
|
+
hint: `Ensure the "Wix Multilingual" app is installed on your site and try again.`
|
|
67070
67065
|
}
|
|
67071
67066
|
);
|
|
67072
67067
|
},
|
|
@@ -67075,7 +67070,7 @@ function getErrorComponent(code, cause) {
|
|
|
67075
67070
|
ErrorMessage,
|
|
67076
67071
|
{
|
|
67077
67072
|
message: "Failed to pull translations from Wix Multilingual.",
|
|
67078
|
-
hint: "
|
|
67073
|
+
hint: "Check your internet connection and try again."
|
|
67079
67074
|
}
|
|
67080
67075
|
);
|
|
67081
67076
|
},
|
|
@@ -67083,7 +67078,7 @@ function getErrorComponent(code, cause) {
|
|
|
67083
67078
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67084
67079
|
ErrorMessage,
|
|
67085
67080
|
{
|
|
67086
|
-
message: `Invalid folder for service plugin in \`${relativePath}
|
|
67081
|
+
message: `Invalid folder for service plugin in \`${relativePath}\`.`
|
|
67087
67082
|
}
|
|
67088
67083
|
);
|
|
67089
67084
|
},
|
|
@@ -67092,7 +67087,7 @@ function getErrorComponent(code, cause) {
|
|
|
67092
67087
|
ErrorMessage,
|
|
67093
67088
|
{
|
|
67094
67089
|
message: `Failed to read devSiteOverrideId from local app configurations.`,
|
|
67095
|
-
hint: `Restart the
|
|
67090
|
+
hint: `Restart the development environment and make sure that the .wix/app.config.json file exists.`
|
|
67096
67091
|
}
|
|
67097
67092
|
);
|
|
67098
67093
|
},
|
|
@@ -67100,8 +67095,8 @@ function getErrorComponent(code, cause) {
|
|
|
67100
67095
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67101
67096
|
ErrorMessage,
|
|
67102
67097
|
{
|
|
67103
|
-
message: `Failed to find file in ESBuild output
|
|
67104
|
-
hint: `Restart the
|
|
67098
|
+
message: `Failed to find file in ESBuild output.`,
|
|
67099
|
+
hint: `Restart the development environment and try again.`
|
|
67105
67100
|
}
|
|
67106
67101
|
);
|
|
67107
67102
|
},
|
|
@@ -67111,7 +67106,7 @@ function getErrorComponent(code, cause) {
|
|
|
67111
67106
|
{
|
|
67112
67107
|
cause,
|
|
67113
67108
|
message: `Failed to optimize dependency with ESBuild.`,
|
|
67114
|
-
explanation: `Restart the
|
|
67109
|
+
explanation: `Restart the development environment and try again.`
|
|
67115
67110
|
}
|
|
67116
67111
|
);
|
|
67117
67112
|
},
|
|
@@ -67119,8 +67114,8 @@ function getErrorComponent(code, cause) {
|
|
|
67119
67114
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67120
67115
|
ErrorMessage,
|
|
67121
67116
|
{
|
|
67122
|
-
message: `Failed to read ESBuild's output file
|
|
67123
|
-
hint: `Restart the
|
|
67117
|
+
message: `Failed to read ESBuild's output file.`,
|
|
67118
|
+
hint: `Restart the development environment and try again.`
|
|
67124
67119
|
}
|
|
67125
67120
|
);
|
|
67126
67121
|
},
|
|
@@ -67129,7 +67124,7 @@ function getErrorComponent(code, cause) {
|
|
|
67129
67124
|
ErrorMessage,
|
|
67130
67125
|
{
|
|
67131
67126
|
message: /* @__PURE__ */ import_react82.default.createElement(import_react82.default.Fragment, null, "Template with ID ", /* @__PURE__ */ import_react82.default.createElement(Text2, { bold: true }, id), " not found."),
|
|
67132
|
-
hint: "Make sure you are using the correct template ID"
|
|
67127
|
+
hint: "Make sure you are using the correct template ID."
|
|
67133
67128
|
}
|
|
67134
67129
|
);
|
|
67135
67130
|
},
|
|
@@ -67137,31 +67132,31 @@ function getErrorComponent(code, cause) {
|
|
|
67137
67132
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67138
67133
|
SystemErrorMessage,
|
|
67139
67134
|
{
|
|
67140
|
-
message: "Failed to fetch available app templates"
|
|
67135
|
+
message: "Failed to fetch available app templates."
|
|
67141
67136
|
}
|
|
67142
67137
|
);
|
|
67143
67138
|
},
|
|
67144
67139
|
FailedToCreateDevCenterAppFromTemplate: () => {
|
|
67145
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to register your
|
|
67140
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to register your app in Wix." });
|
|
67146
67141
|
},
|
|
67147
67142
|
FailedToQueryApps: () => {
|
|
67148
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to query apps" });
|
|
67143
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to query apps." });
|
|
67149
67144
|
},
|
|
67150
67145
|
FailedToGetSiteInstalledApps: () => {
|
|
67151
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get site installed apps" });
|
|
67146
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get site installed apps." });
|
|
67152
67147
|
},
|
|
67153
67148
|
FailedToGetSiteInstalledAppInstanceId: () => {
|
|
67154
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get site installed app instance
|
|
67149
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get site installed app instance ID." });
|
|
67155
67150
|
},
|
|
67156
67151
|
FailedToGetClientSpecMap: () => {
|
|
67157
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get site client spec map" });
|
|
67152
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get site client spec map." });
|
|
67158
67153
|
},
|
|
67159
67154
|
DeniedPermissionToGetAppSecret: () => {
|
|
67160
67155
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67161
67156
|
ErrorMessage,
|
|
67162
67157
|
{
|
|
67163
|
-
message: "Insufficient permissions",
|
|
67164
|
-
hint: "
|
|
67158
|
+
message: "Insufficient permissions.",
|
|
67159
|
+
hint: "Log in with an account that has the required permissions to access this app."
|
|
67165
67160
|
}
|
|
67166
67161
|
);
|
|
67167
67162
|
},
|
|
@@ -67169,10 +67164,10 @@ function getErrorComponent(code, cause) {
|
|
|
67169
67164
|
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to create an isolated environment." });
|
|
67170
67165
|
},
|
|
67171
67166
|
FailedToUpdateVeloAppFiles: () => {
|
|
67172
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to update files in the isolated environment" });
|
|
67167
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to update files in the isolated environment." });
|
|
67173
67168
|
},
|
|
67174
67169
|
FailedToGetFilesFromVelo: () => {
|
|
67175
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get initial project files" });
|
|
67170
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to get initial project files." });
|
|
67176
67171
|
},
|
|
67177
67172
|
FailedToOpenBrowser: () => {
|
|
67178
67173
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -67180,7 +67175,7 @@ function getErrorComponent(code, cause) {
|
|
|
67180
67175
|
{
|
|
67181
67176
|
cause,
|
|
67182
67177
|
message: "Failed to open browser.",
|
|
67183
|
-
hint: "
|
|
67178
|
+
hint: "Make sure you have a browser installed, and it's appropriately configured."
|
|
67184
67179
|
}
|
|
67185
67180
|
);
|
|
67186
67181
|
},
|
|
@@ -67201,7 +67196,7 @@ function getErrorComponent(code, cause) {
|
|
|
67201
67196
|
);
|
|
67202
67197
|
},
|
|
67203
67198
|
FailedToSyncPagesTypes: () => {
|
|
67204
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to sync pages types" });
|
|
67199
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to sync pages types." });
|
|
67205
67200
|
},
|
|
67206
67201
|
FailedToInitializeSiteFsManager: () => {
|
|
67207
67202
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -67264,8 +67259,8 @@ function getErrorComponent(code, cause) {
|
|
|
67264
67259
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67265
67260
|
ErrorMessage,
|
|
67266
67261
|
{
|
|
67267
|
-
message: `Failed to load asset ${asset}
|
|
67268
|
-
hint: `Make sure the asset is correctly configured in \`${configPath}\` under the field \`${field}
|
|
67262
|
+
message: `Failed to load asset ${asset}.`,
|
|
67263
|
+
hint: `Make sure the asset is correctly configured in \`${configPath}\` under the field \`${field}\`.`
|
|
67269
67264
|
}
|
|
67270
67265
|
);
|
|
67271
67266
|
},
|
|
@@ -67300,16 +67295,16 @@ function getErrorComponent(code, cause) {
|
|
|
67300
67295
|
);
|
|
67301
67296
|
},
|
|
67302
67297
|
FailedToCreateDraftVersion: () => {
|
|
67303
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to retrieve release options available for your
|
|
67298
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to retrieve release options available for your app." });
|
|
67304
67299
|
},
|
|
67305
67300
|
FailedToReleaseDraftVersion: () => {
|
|
67306
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to release a new version of your
|
|
67301
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(SystemErrorMessage, { message: "Failed to release a new version of your app." });
|
|
67307
67302
|
},
|
|
67308
67303
|
WaitForEditorInstallationStateFailure: () => {
|
|
67309
67304
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67310
67305
|
SystemErrorMessage,
|
|
67311
67306
|
{
|
|
67312
|
-
message: `Waiting for the Editor to finish installation timed out
|
|
67307
|
+
message: `Waiting for the Editor to finish installation timed out.`
|
|
67313
67308
|
}
|
|
67314
67309
|
);
|
|
67315
67310
|
},
|
|
@@ -67317,7 +67312,7 @@ function getErrorComponent(code, cause) {
|
|
|
67317
67312
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67318
67313
|
SystemErrorMessage,
|
|
67319
67314
|
{
|
|
67320
|
-
message: `Editor installation details check timed out
|
|
67315
|
+
message: `Editor installation details check timed out.`
|
|
67321
67316
|
}
|
|
67322
67317
|
);
|
|
67323
67318
|
},
|
|
@@ -67325,7 +67320,7 @@ function getErrorComponent(code, cause) {
|
|
|
67325
67320
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67326
67321
|
SystemErrorMessage,
|
|
67327
67322
|
{
|
|
67328
|
-
message: `Unable to retrieve slot details to extend
|
|
67323
|
+
message: `Unable to retrieve slot details to extend.`
|
|
67329
67324
|
}
|
|
67330
67325
|
);
|
|
67331
67326
|
},
|
|
@@ -67333,7 +67328,7 @@ function getErrorComponent(code, cause) {
|
|
|
67333
67328
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67334
67329
|
SystemErrorMessage,
|
|
67335
67330
|
{
|
|
67336
|
-
message: `Unable to retrieve the list of available extensions for your
|
|
67331
|
+
message: `Unable to retrieve the list of available extensions for your app.`
|
|
67337
67332
|
}
|
|
67338
67333
|
);
|
|
67339
67334
|
},
|
|
@@ -67341,12 +67336,17 @@ function getErrorComponent(code, cause) {
|
|
|
67341
67336
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67342
67337
|
SystemErrorMessage,
|
|
67343
67338
|
{
|
|
67344
|
-
message: `Failed to parse backoffice extension containers data
|
|
67339
|
+
message: `Failed to parse backoffice extension containers data.`
|
|
67345
67340
|
}
|
|
67346
67341
|
);
|
|
67347
67342
|
},
|
|
67348
67343
|
FailedToParseBackofficePages: () => {
|
|
67349
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67344
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67345
|
+
SystemErrorMessage,
|
|
67346
|
+
{
|
|
67347
|
+
message: `Failed to parse backoffice pages data.`
|
|
67348
|
+
}
|
|
67349
|
+
);
|
|
67350
67350
|
},
|
|
67351
67351
|
FailedToCleanDistFolder: () => {
|
|
67352
67352
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
@@ -67381,7 +67381,7 @@ ${errorMessage2}`
|
|
|
67381
67381
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67382
67382
|
ErrorMessage,
|
|
67383
67383
|
{
|
|
67384
|
-
message: `Release command in non-interactive mode requires following parameter: --version-type
|
|
67384
|
+
message: `Release command in non-interactive mode requires following parameter: --version-type.`
|
|
67385
67385
|
}
|
|
67386
67386
|
);
|
|
67387
67387
|
},
|
|
@@ -67411,7 +67411,7 @@ ${errorMessage2}`
|
|
|
67411
67411
|
ErrorMessage,
|
|
67412
67412
|
{
|
|
67413
67413
|
message: errorMessage2,
|
|
67414
|
-
hint: "
|
|
67414
|
+
hint: "Couldn't create a new app with the specified parameters. Modify the parameters or switch to interactive mode."
|
|
67415
67415
|
}
|
|
67416
67416
|
);
|
|
67417
67417
|
},
|
|
@@ -67420,7 +67420,7 @@ ${errorMessage2}`
|
|
|
67420
67420
|
ErrorMessage,
|
|
67421
67421
|
{
|
|
67422
67422
|
message: errorMessage2,
|
|
67423
|
-
hint: "
|
|
67423
|
+
hint: "Couldn't create a new app with the specified parameters. Modify the parameters or switch to interactive mode."
|
|
67424
67424
|
}
|
|
67425
67425
|
);
|
|
67426
67426
|
},
|
|
@@ -67429,7 +67429,7 @@ ${errorMessage2}`
|
|
|
67429
67429
|
ErrorMessage,
|
|
67430
67430
|
{
|
|
67431
67431
|
message: errorMessage2,
|
|
67432
|
-
hint: "
|
|
67432
|
+
hint: "Couldn't create a new app with provided Business Name. Modify the parameters or switch to interactive mode."
|
|
67433
67433
|
}
|
|
67434
67434
|
);
|
|
67435
67435
|
},
|
|
@@ -67438,7 +67438,7 @@ ${errorMessage2}`
|
|
|
67438
67438
|
ErrorMessage,
|
|
67439
67439
|
{
|
|
67440
67440
|
message: `Minor version release is not allowed.`,
|
|
67441
|
-
hint: `
|
|
67441
|
+
hint: `Release major version.`
|
|
67442
67442
|
}
|
|
67443
67443
|
);
|
|
67444
67444
|
},
|
|
@@ -67446,7 +67446,7 @@ ${errorMessage2}`
|
|
|
67446
67446
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67447
67447
|
ErrorMessage,
|
|
67448
67448
|
{
|
|
67449
|
-
message: `Site component config not found at ${configPath}
|
|
67449
|
+
message: `Site component config not found at ${configPath}.`
|
|
67450
67450
|
}
|
|
67451
67451
|
);
|
|
67452
67452
|
},
|
|
@@ -67454,7 +67454,7 @@ ${errorMessage2}`
|
|
|
67454
67454
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67455
67455
|
ErrorMessage,
|
|
67456
67456
|
{
|
|
67457
|
-
message: `Site component panel config not found at ${configPath}
|
|
67457
|
+
message: `Site component panel config not found at ${configPath}.`
|
|
67458
67458
|
}
|
|
67459
67459
|
);
|
|
67460
67460
|
},
|
|
@@ -67462,7 +67462,7 @@ ${errorMessage2}`
|
|
|
67462
67462
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67463
67463
|
ErrorMessage,
|
|
67464
67464
|
{
|
|
67465
|
-
message: `Site component panel with name ${panelName}
|
|
67465
|
+
message: `Site component panel with name ${panelName} does not exist.`
|
|
67466
67466
|
}
|
|
67467
67467
|
);
|
|
67468
67468
|
},
|
|
@@ -67513,7 +67513,7 @@ ${errorMessage2}`
|
|
|
67513
67513
|
return () => /* @__PURE__ */ import_react82.default.createElement(
|
|
67514
67514
|
ErrorMessage,
|
|
67515
67515
|
{
|
|
67516
|
-
message: "Project build output is missing",
|
|
67516
|
+
message: "Project build output is missing.",
|
|
67517
67517
|
explanation: reason,
|
|
67518
67518
|
hint: "Build the project before proceeding."
|
|
67519
67519
|
}
|
|
@@ -67530,7 +67530,7 @@ ${errorMessage2}`
|
|
|
67530
67530
|
);
|
|
67531
67531
|
},
|
|
67532
67532
|
FailedToFindAstroConfig: () => {
|
|
67533
|
-
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "No valid configuration file found.
|
|
67533
|
+
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "No valid configuration file found. Ensure that an astro.config.{js,cjs,mjs,ts} file exists in your project directory." });
|
|
67534
67534
|
},
|
|
67535
67535
|
ProjectIsAlreadyLinked: () => {
|
|
67536
67536
|
return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { message: "This project is already connected to Wix, so no changes were made." });
|
|
@@ -67606,7 +67606,7 @@ ${errorMessage2}`
|
|
|
67606
67606
|
ErrorMessage,
|
|
67607
67607
|
{
|
|
67608
67608
|
cause,
|
|
67609
|
-
message: `Site component element config is invalid at ${elementPath}
|
|
67609
|
+
message: `Site component element config is invalid at ${elementPath}.`
|
|
67610
67610
|
}
|
|
67611
67611
|
);
|
|
67612
67612
|
},
|
|
@@ -67615,7 +67615,7 @@ ${errorMessage2}`
|
|
|
67615
67615
|
ErrorMessage,
|
|
67616
67616
|
{
|
|
67617
67617
|
message: "Your component configuration is incorrect. It's encountering the error 'scriptAsset is not supported'. This typically indicates that your app isn't recognized as a Wix App.",
|
|
67618
|
-
hint: "To resolve this,
|
|
67618
|
+
hint: "To resolve this, visit your app dashboard in Dev Center and ensure the app is marked as 'Developed by Wix'."
|
|
67619
67619
|
}
|
|
67620
67620
|
);
|
|
67621
67621
|
},
|
|
@@ -67624,7 +67624,7 @@ ${errorMessage2}`
|
|
|
67624
67624
|
ErrorMessage,
|
|
67625
67625
|
{
|
|
67626
67626
|
cause,
|
|
67627
|
-
message: "The Vibe repository setup timed out.
|
|
67627
|
+
message: "The Vibe repository setup timed out. Try again."
|
|
67628
67628
|
}
|
|
67629
67629
|
);
|
|
67630
67630
|
},
|
|
@@ -67633,7 +67633,7 @@ ${errorMessage2}`
|
|
|
67633
67633
|
ErrorMessage,
|
|
67634
67634
|
{
|
|
67635
67635
|
cause,
|
|
67636
|
-
message: "The development command failed to execute.
|
|
67636
|
+
message: "The development command failed to execute. Review the output log above for details."
|
|
67637
67637
|
}
|
|
67638
67638
|
);
|
|
67639
67639
|
},
|
|
@@ -70797,17 +70797,25 @@ var useErrorReporter = () => {
|
|
|
70797
70797
|
// ../cli-auth/src/useColoredVerificationUri.ts
|
|
70798
70798
|
init_esm_shims();
|
|
70799
70799
|
var import_react92 = __toESM(require_react(), 1);
|
|
70800
|
+
|
|
70801
|
+
// ../cli-auth/src/verfication-uri.ts
|
|
70802
|
+
init_esm_shims();
|
|
70803
|
+
function buildVerificationUris(verificationUri) {
|
|
70804
|
+
const coloredUri = new URL(verificationUri);
|
|
70805
|
+
coloredUri.searchParams.set("color", "developer");
|
|
70806
|
+
coloredUri.searchParams.set("studio", "true");
|
|
70807
|
+
const signupUri = new URL("https://users.wix.com/login/signup/password");
|
|
70808
|
+
signupUri.searchParams.set("redirectTo", coloredUri.href);
|
|
70809
|
+
return {
|
|
70810
|
+
coloredVerificationUri: coloredUri.toString(),
|
|
70811
|
+
signupUri: signupUri.toString()
|
|
70812
|
+
};
|
|
70813
|
+
}
|
|
70814
|
+
|
|
70815
|
+
// ../cli-auth/src/useColoredVerificationUri.ts
|
|
70800
70816
|
function useColoredVerificationUri(verificationUri) {
|
|
70801
70817
|
return (0, import_react92.useMemo)(() => {
|
|
70802
|
-
|
|
70803
|
-
coloredUri.searchParams.set("color", "developer");
|
|
70804
|
-
coloredUri.searchParams.set("studio", "true");
|
|
70805
|
-
const signupUri = new URL("https://users.wix.com/login/signup/password");
|
|
70806
|
-
signupUri.searchParams.set("redirectTo", coloredUri.href);
|
|
70807
|
-
return {
|
|
70808
|
-
coloredVerificationUri: coloredUri.toString(),
|
|
70809
|
-
signupUri: signupUri.toString()
|
|
70810
|
-
};
|
|
70818
|
+
return buildVerificationUris(verificationUri);
|
|
70811
70819
|
}, [verificationUri]);
|
|
70812
70820
|
}
|
|
70813
70821
|
|
|
@@ -95794,7 +95802,7 @@ import { randomUUID as randomUUID3 } from "node:crypto";
|
|
|
95794
95802
|
var package_default = {
|
|
95795
95803
|
name: "@wix/create-new",
|
|
95796
95804
|
description: "General entry point for creating Wix projects",
|
|
95797
|
-
version: "0.0.
|
|
95805
|
+
version: "0.0.62",
|
|
95798
95806
|
bin: "bin/index.cjs",
|
|
95799
95807
|
devDependencies: {
|
|
95800
95808
|
"@commander-js/extra-typings": "^13.0.0",
|