diff --git a/docs/errors/ze00000.mdx b/docs/errors/ze00000.mdx new file mode 100644 index 00000000..cc21a8d6 --- /dev/null +++ b/docs/errors/ze00000.mdx @@ -0,0 +1,29 @@ +--- +title: 'ZE00000: Unknown error' +description: 'ZE00000: Unknown error occurred during Zephyr operation' +head: + - - meta + - property: og:description + content: 'ZE00000: Unknown error occurred during Zephyr operation' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; + +# {getErrorMessage('ZE00000')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This is a catch-all error that occurs when an unexpected or unclassified error happens during Zephyr operations. The underlying cause may vary. + +## Debugging the error + +If you encounter this error, please: + +1. Check the complete error details in the temporary JSON file mentioned in the error output +2. Review your network connection and ensure you can reach Zephyr's servers +3. Verify your project configuration is correct diff --git a/docs/errors/ze10010.mdx b/docs/errors/ze10010.mdx index f1465dbd..2c7c3430 100644 --- a/docs/errors/ze10010.mdx +++ b/docs/errors/ze10010.mdx @@ -14,6 +14,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE10010')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + This method is implemented across all bundlers' plugins (see our [supported bundlers and their relevant packages](/getting-started/quick-start)). diff --git a/docs/errors/ze10011.mdx b/docs/errors/ze10011.mdx index 9216521f..2bf1dba8 100644 --- a/docs/errors/ze10011.mdx +++ b/docs/errors/ze10011.mdx @@ -11,10 +11,12 @@ import { getErrorMessage } from '../../lib/error-helpers.ts'; import { ErrorInfo } from '../../components/errors/info.tsx'; import { ErrorLink } from '../../components/errors/link.tsx'; -# ZE10011 package.json not found - # {getErrorMessage('ZE10011')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + After we recursively loop for the current working directory where the bundler's config lives and locate the `package.json` file, we then perform a parsing function to make sure your `package.json` is a valid [JSON](https://www.json.org/json-en.html) format. diff --git a/docs/errors/ze10012.mdx b/docs/errors/ze10012.mdx deleted file mode 100644 index 4cdb182a..00000000 --- a/docs/errors/ze10012.mdx +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: 'ZE10012: Deprecated error code' -description: 'ZE10012: Deprecated error code' -head: - - - meta - - property: og:description - content: 'ZE10012: Deprecated error code' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE10012')} - - - -::: warning - -This error is deprecated - -::: diff --git a/docs/errors/ze10013.mdx b/docs/errors/ze10013.mdx index 74a1bf6c..032a025d 100644 --- a/docs/errors/ze10013.mdx +++ b/docs/errors/ze10013.mdx @@ -12,6 +12,10 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE10013')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + When you are running a build through Zephyr, we will verify your `package.json`'s fields to check whether you have the **name** and **version** fields. Later one we use those values to compose `application_uid`. Behind the scene we will be using your `applicaiton_uid` to deploy your application with related information as well as generating build id. diff --git a/docs/errors/ze10014.mdx b/docs/errors/ze10014.mdx index 14f333fb..056e27d0 100644 --- a/docs/errors/ze10014.mdx +++ b/docs/errors/ze10014.mdx @@ -12,6 +12,10 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE10014')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + If you have successfully deployed one application, you will see your deployed url is a composition of your github's organization name, repository name as well as your `package.json`'s name (yep, we might we done some data sanitization for it). This information is also how we store your information locally (There is a `~/.zephyr` in your root dir) to enable lightning fast deployment. We extract your organization's name and repository name diff --git a/docs/errors/ze10015.mdx b/docs/errors/ze10015.mdx index 7500f84e..cc0ef313 100644 --- a/docs/errors/ze10015.mdx +++ b/docs/errors/ze10015.mdx @@ -12,6 +12,10 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE10015')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + We store your user information at your local machine so when we are starting the build process we won't waste time on data transfer between your machine to data center. Each of your project's build, information, authentication to deployment platform (encrypted) are in a local folder called `~/.zephyr`. diff --git a/docs/errors/ze10016.mdx b/docs/errors/ze10016.mdx index dda63603..99324d28 100644 --- a/docs/errors/ze10016.mdx +++ b/docs/errors/ze10016.mdx @@ -13,6 +13,10 @@ import { ErrorLink } from '../../components/errors/link.tsx'; # {getErrorMessage('ZE10016')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + There could be several reason why this error shows up - it could be because remote origin wasn't configured for the project directory; it could be because you haven't set a username for git; or it could be because you don't have an email set to your git config. diff --git a/docs/errors/ze10017.mdx b/docs/errors/ze10017.mdx index 87ee5a23..3e8133e9 100644 --- a/docs/errors/ze10017.mdx +++ b/docs/errors/ze10017.mdx @@ -14,6 +14,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE10017')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + After generating your `application_uid` based on your git config and `package.json`, we save them to your local disk in a folder named `~/.zephyr` and we utilize the information there to help you deploy your applications. Each one of your application has their own unique `application_uid`. diff --git a/docs/errors/ze10018.mdx b/docs/errors/ze10018.mdx index 33d95af6..5d692718 100644 --- a/docs/errors/ze10018.mdx +++ b/docs/errors/ze10018.mdx @@ -13,6 +13,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE10018')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + This error might happen for several reasons when you are running a build. diff --git a/docs/errors/ze10019.mdx b/docs/errors/ze10019.mdx index e8d3c173..c720d033 100644 --- a/docs/errors/ze10019.mdx +++ b/docs/errors/ze10019.mdx @@ -14,12 +14,14 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE10019')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + ::: info - -This is one of the most common error during build. - +This is one of the most common errors during build. ::: Once we find your `application_uid` (composed by your github organization's name, project name and the `name` field in package.json, refer to ), we will be collecting data from your local cache, verifying your JWT token and checking your write access to the related project. If we fail to find all the necessary configuration, we won't be able to obtain appropriate build id for you to continue with the deployment. diff --git a/docs/errors/ze10020.mdx b/docs/errors/ze10020.mdx deleted file mode 100644 index be827fd0..00000000 --- a/docs/errors/ze10020.mdx +++ /dev/null @@ -1,99 +0,0 @@ ---- -title: 'ZE10020: Failed to initialize Zephyr agent' -description: 'ZE10020: Failed to initialize Zephyr agent in Rollup plugin' -head: - - - meta - - property: og:description - content: 'ZE10020: Failed to initialize Zephyr agent in Rollup plugin' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; -import { Steps } from '@rspress/core/theme'; -import { ErrorLink } from '../../components/errors/link.tsx'; - -# {getErrorMessage('ZE10020')} - - - -On your build start, there are a list of actions we run through. If any of these actions failed, Zephyr agent will fail to initialize in the Rollup plugin. - -
1. Understanding environment
-
Git info, package.json's information.
-
2. Application configuration
-
- Application configuration including your remote modules, build id and assets. -
- -## Debugging the error - - - -### Valid `package.json` file - -Package.json should be in json format, include name and version) sits in the same directory as your bundler configuration. A typical project structure Zephyr would understand would be similar to below set up, where each application has their unique name in package.json. - -```yml -HostAppDir: - - package.json - name: "host-app" - version: "1.0.0" - - webpack.config.js - -RemoteAppDir: - - package.json - name: "remote-app" - version: "1.0.0" - - webpack.config.js -``` - -Related error and potential resolution: - -- -- -- - -### Ensure git configuration - -Make sure you have git remote origin url, git username, email configured. - -Related error and potential resolution: - -- -- -- - -### Build tool configuration - -Your remote modules' configuration should be in a typical format Zephyr understands. For example: - -```ts -plugins = [ - new CopyRspackPlugin({ - patterns: [ - { - from: './src/index.html', - to: './index.html', - }, - ], - }), - - new ModuleFederationPluginV1({ - name: 'app_04', - filename: 'remoteEntry.js', - shared: [], - exposes: { - './App': './src/main.js', - './loadApp': './src/loadApp.js', - }, - }), -]; -``` - -### Remove your local configuration file - -Remove `~/.zephyr` by running below commands and login from either [dashboard](https://app.zephyr-cloud.io) or [sidepanel on Chrome](https://chromewebstore.google.com/detail/zephyr-mission-control/liflhldchhinbaeplljlplhnbkdidedn) again. - -rm -rf ~/.zephyr - - diff --git a/docs/errors/ze10021.mdx b/docs/errors/ze10021.mdx deleted file mode 100644 index a0384fc6..00000000 --- a/docs/errors/ze10021.mdx +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: 'ZE10021: Insufficient permissions for dist folder' -description: 'ZE10021: Insufficient permissions to create the dist folder' -head: - - - meta - - property: og:description - content: 'ZE10021: Insufficient permissions to create the dist folder' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; -import { Steps } from '@rspress/core/theme'; - -# {getErrorMessage('ZE10021')} - - - -This error happens when your terminal session doesn't have the necessary permissions to create the `dist` folder. This can happen if you're running the command as a different user or if the permissions on the folder are incorrect. - -This issue typically occurs due to insufficient permissions. Possible causes include: - -- **Incorrect User:** The command might be run by a user without the necessary permissions. -- **Permission Settings:** The permissions for the parent directory or the `dist` folder may be incorrectly set. - -To resolve this, ensure you have the appropriate permissions for the directory where you're trying to create the `dist` folder, or try running the command with elevated privileges. - -## Debugging the error - - - -### Check Permissions - -Ensure that the user running the command has the necessary permissions to create the `dist` folder. You can check the permissions by running the following command: - -ls -l /path/to/parent/directory - -If the permissions are incorrect, you can change them using the `chmod` command. For example, to give full permissions to the owner, you can run: - -chmod 700 /path/to/parent/directory - - diff --git a/docs/errors/ze10022.mdx b/docs/errors/ze10022.mdx new file mode 100644 index 00000000..3e3f0880 --- /dev/null +++ b/docs/errors/ze10022.mdx @@ -0,0 +1,44 @@ +--- +title: 'ZE10022: Auth forbidden error' +description: 'ZE10022: Authentication forbidden - access denied to requested resource' +head: + - - meta + - property: og:description + content: 'ZE10022: Authentication forbidden - access denied to requested resource' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE10022')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when your authentication credentials are valid but you don't have permission to access the requested resource or perform the requested action. + +## Debugging the error + + + +### Verify your account permissions + +Ensure your account has the necessary permissions for the project or organization you're trying to access. + +### Check organization membership + +If working with an organization project, confirm you're a member of that organization with appropriate access rights. + +### Re-authenticate + +Try clearing your local Zephyr credentials and logging in again from the [dashboard](https://app.zephyr-cloud.io) or [Chrome extension](https://chromewebstore.google.com/detail/zephyr-mission-control/liflhldchhinbaeplljlplhnbkdidedn): + +```bash +rm -rf ~/.zephyr +``` + + diff --git a/docs/errors/ze10023.mdx b/docs/errors/ze10023.mdx new file mode 100644 index 00000000..99042523 --- /dev/null +++ b/docs/errors/ze10023.mdx @@ -0,0 +1,51 @@ +--- +title: 'ZE10023: Invalid Module Federation config' +description: 'ZE10023: Invalid Module Federation configuration detected' +head: + - - meta + - property: og:description + content: 'ZE10023: Invalid Module Federation configuration detected' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE10023')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when your Module Federation configuration is invalid or missing required fields. + +## Debugging the error + + + +### Check your Module Federation config + +Ensure your Module Federation configuration includes all required fields: + +```js +new ModuleFederationPlugin({ + name: 'myApp', + filename: 'remoteEntry.js', + exposes: { + './Component': './src/Component', + }, + shared: ['react', 'react-dom'], +}); +``` + +### Verify the name field + +The `name` field is required and must be a valid JavaScript identifier (no spaces or special characters). + +### Check exposed modules + +Ensure paths in `exposes` are correct and the referenced files exist. + + diff --git a/docs/errors/ze10024.mdx b/docs/errors/ze10024.mdx new file mode 100644 index 00000000..d90c41b8 --- /dev/null +++ b/docs/errors/ze10024.mdx @@ -0,0 +1,45 @@ +--- +title: 'ZE10024: Invalid app ID' +description: 'ZE10024: The provided application ID is invalid' +head: + - - meta + - property: og:description + content: 'ZE10024: The provided application ID is invalid' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE10024')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when the application ID provided to Zephyr is invalid or doesn't match the expected format. + +## Debugging the error + + + +### Verify the app ID format + +Application IDs should follow the expected format. Check your configuration to ensure the app ID is correctly specified. + +### Check your package.json + +Ensure your `package.json` has a valid `name` field, as this is often used to derive the application ID. + +### Clear local cache + +Try clearing the Zephyr cache and rebuilding: + +```bash +rm -rf ~/.zephyr +npm run build +``` + + diff --git a/docs/errors/ze10028.mdx b/docs/errors/ze10028.mdx deleted file mode 100644 index e461a051..00000000 --- a/docs/errors/ze10028.mdx +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: 'ZE10028: Deprecated error code' -description: 'ZE10028: Deprecated error code - will be removed soon' -head: - - - meta - - property: og:description - content: 'ZE10028: Deprecated error code - will be removed soon' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE10028')} - - - -{/* TODO */} - -::: warning -This error will be deprecating soon. - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze10029.mdx b/docs/errors/ze10029.mdx deleted file mode 100644 index a36841a7..00000000 --- a/docs/errors/ze10029.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE10029: Error not yet documented' -description: 'ZE10029: Error not yet documented' -head: - - - meta - - property: og:description - content: 'ZE10029: Error not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE10029')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze10032.mdx b/docs/errors/ze10032.mdx new file mode 100644 index 00000000..f52ee1c1 --- /dev/null +++ b/docs/errors/ze10032.mdx @@ -0,0 +1,40 @@ +--- +title: 'ZE10032: JWT invalid' +description: 'ZE10032: The JSON Web Token is invalid or expired' +head: + - - meta + - property: og:description + content: 'ZE10032: The JSON Web Token is invalid or expired' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE10032')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when the JWT token used for authentication is invalid, corrupted, or has expired. + +## Debugging the error + + + +### Clear cached credentials + +Remove the cached Zephyr credentials and re-authenticate by logging in from the [dashboard](https://app.zephyr-cloud.io) or [Chrome extension](https://chromewebstore.google.com/detail/zephyr-mission-control/liflhldchhinbaeplljlplhnbkdidedn): + +```bash +rm -rf ~/.zephyr +``` + +### For CI/CD environments + +If using a `ZEPHYR_TOKEN` environment variable, ensure the token is still valid. Generate a new API token from the Zephyr dashboard if needed. + + diff --git a/docs/errors/ze20010.mdx b/docs/errors/ze20010.mdx index 53f79ba4..d5821a80 100644 --- a/docs/errors/ze20010.mdx +++ b/docs/errors/ze20010.mdx @@ -13,6 +13,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE20010')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + This error occurs when a problem between Zephyr's plugin and our servers happens during file upload and a asset for the remote module is not uploaded. @@ -32,11 +36,3 @@ npm run build Ensure that your network connection is stable and that there are no issues with your internet connection. A poor network connection can cause issues with file uploads. - -## Ask for Support - -::: caution - -**Still having problems?** [Try joining our Discord server and get help from the community](https://discord.gg/zephyrcloud) - -::: diff --git a/docs/errors/ze20011.mdx b/docs/errors/ze20011.mdx index 8c682b1d..cebb2ed6 100644 --- a/docs/errors/ze20011.mdx +++ b/docs/errors/ze20011.mdx @@ -13,6 +13,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE20011')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + This error occurs when attempting to access a URL that doesn't exist. It may be due to a mistyped URL, a changed URL, or the project being deleted or moved. diff --git a/docs/errors/ze20012.mdx b/docs/errors/ze20012.mdx index 10d58692..ed8b65f8 100644 --- a/docs/errors/ze20012.mdx +++ b/docs/errors/ze20012.mdx @@ -13,6 +13,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE20012')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + This error happens when the Zephyr's plugin tries to get a list of assets ids from the server to determine which assets it needs to upload, but failed to provide a valid `application_uid` in the request. @@ -42,11 +46,3 @@ If the error persists, you can try to clear the assets cache and re-run the depl rm -rf ~/.zephyr - -## Ask for Support - -::: caution - -**Still having problems?** [Try joining our Discord server and get help from the community](https://discord.gg/zephyrcloud) - -::: diff --git a/docs/errors/ze20013.mdx b/docs/errors/ze20013.mdx index b3bff10a..4d2c1e46 100644 --- a/docs/errors/ze20013.mdx +++ b/docs/errors/ze20013.mdx @@ -13,6 +13,10 @@ import { Steps } from '@rspress/core/theme'; # {getErrorMessage('ZE20013')} +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + This error happens when the Zephyr's plugin tries to upload a file, but failed to provide a valid `application_uid` in the request, but failed to provide valid params in the request. @@ -42,11 +46,3 @@ If the error persists, you can try to clear the assets cache and re-run the depl rm -rf ~/.zephyr - -## Ask for Support - -::: caution - -**Still having problems?** [Try joining our Discord server and get help from the community](https://discord.gg/zephyrcloud) - -::: diff --git a/docs/errors/ze20014.mdx b/docs/errors/ze20014.mdx index 7abfdb4a..09edd8c9 100644 --- a/docs/errors/ze20014.mdx +++ b/docs/errors/ze20014.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20014')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze20015.mdx b/docs/errors/ze20015.mdx deleted file mode 100644 index fb860edc..00000000 --- a/docs/errors/ze20015.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE20015: Error not yet documented' -description: 'ZE20015: Error code not yet documented' -head: - - - meta - - property: og:description - content: 'ZE20015: Error code not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE20015')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze20016.mdx b/docs/errors/ze20016.mdx deleted file mode 100644 index 79e00914..00000000 --- a/docs/errors/ze20016.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE20016: Error not yet documented' -description: 'ZE20016: Error code not yet documented' -head: - - - meta - - property: og:description - content: 'ZE20016: Error code not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE20016')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze20017.mdx b/docs/errors/ze20017.mdx index 0bb2f510..8372973a 100644 --- a/docs/errors/ze20017.mdx +++ b/docs/errors/ze20017.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20017')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze20018.mdx b/docs/errors/ze20018.mdx deleted file mode 100644 index d368d825..00000000 --- a/docs/errors/ze20018.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE20018: Error code not yet documented' -description: 'ZE20018: Error code not yet documented' -head: - - - meta - - property: og:description - content: 'ZE20018: Error code not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE20018')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze20019.mdx b/docs/errors/ze20019.mdx index b057853a..53607ab4 100644 --- a/docs/errors/ze20019.mdx +++ b/docs/errors/ze20019.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20019')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze20020.mdx b/docs/errors/ze20020.mdx index 6663eea5..25de9607 100644 --- a/docs/errors/ze20020.mdx +++ b/docs/errors/ze20020.mdx @@ -12,9 +12,11 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20020')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ### What does this error mean? diff --git a/docs/errors/ze20021.mdx b/docs/errors/ze20021.mdx deleted file mode 100644 index 0e132401..00000000 --- a/docs/errors/ze20021.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE20021: Error not yet documented' -description: 'ZE20021: Error code not yet documented' -head: - - - meta - - property: og:description - content: 'ZE20021: Error code not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE20021')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze20022.mdx b/docs/errors/ze20022.mdx index b7b3873c..6ce89aaf 100644 --- a/docs/errors/ze20022.mdx +++ b/docs/errors/ze20022.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20022')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze20023.mdx b/docs/errors/ze20023.mdx index f1d567fd..8a51806e 100644 --- a/docs/errors/ze20023.mdx +++ b/docs/errors/ze20023.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20023')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze20024.mdx b/docs/errors/ze20024.mdx index 9a82bf99..32c808be 100644 --- a/docs/errors/ze20024.mdx +++ b/docs/errors/ze20024.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE20024')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze20025.mdx b/docs/errors/ze20025.mdx deleted file mode 100644 index bcdff694..00000000 --- a/docs/errors/ze20025.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE20025: Error not yet documented' -description: 'ZE20025: Error code not yet documented' -head: - - - meta - - property: og:description - content: 'ZE20025: Error code not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE20025')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze20027.mdx b/docs/errors/ze20027.mdx deleted file mode 100644 index d687f26d..00000000 --- a/docs/errors/ze20027.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'ZE20027: Error not yet documented' -description: 'ZE20027: Error code not yet documented' -head: - - - meta - - property: og:description - content: 'ZE20027: Error code not yet documented' ---- - -import { getErrorMessage } from '../../lib/error-helpers.ts'; -import { ErrorInfo } from '../../components/errors/info.tsx'; - -# {getErrorMessage('ZE20027')} - - - -{/* TODO */} - -::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - -::: diff --git a/docs/errors/ze20037.mdx b/docs/errors/ze20037.mdx new file mode 100644 index 00000000..d50b076b --- /dev/null +++ b/docs/errors/ze20037.mdx @@ -0,0 +1,51 @@ +--- +title: 'ZE20037: Max payload size exceeded' +description: 'ZE20037: The deployment payload exceeds the maximum allowed size' +head: + - - meta + - property: og:description + content: 'ZE20037: The deployment payload exceeds the maximum allowed size' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE20037')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when the total size of your deployment assets exceeds the maximum allowed payload size. + +## Debugging the error + + + +### Analyze your bundle size + +Use your bundler's built-in analysis tools to identify large assets: + +```bash +# For webpack +npx webpack --analyze + +# For vite +npx vite build --mode analyze +``` + +### Optimize your assets + +- Compress images and use modern formats (WebP, AVIF) +- Enable code splitting to reduce initial bundle size +- Remove unused dependencies +- Use tree shaking to eliminate dead code + +### Check for accidentally included files + +Ensure large files like videos, datasets, or source maps aren't being included in the build output. + + diff --git a/docs/errors/ze30026.mdx b/docs/errors/ze30026.mdx index 8991497c..1a00c328 100644 --- a/docs/errors/ze30026.mdx +++ b/docs/errors/ze30026.mdx @@ -12,14 +12,12 @@ import { ErrorInfo } from '../../components/errors/info.tsx'; # {getErrorMessage('ZE30026')} - +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: -{/* TODO */} + ::: warning - -Not documented yet. Had a problem and need help? - -Contact us in our [discord](https://discord.gg/zephyrcloud)! - +This error is not yet documented. Please contact us on Discord for assistance. ::: diff --git a/docs/errors/ze40001.mdx b/docs/errors/ze40001.mdx new file mode 100644 index 00000000..1b78decd --- /dev/null +++ b/docs/errors/ze40001.mdx @@ -0,0 +1,46 @@ +--- +title: 'ZE40001: Resolve remotes error' +description: 'ZE40001: Failed to resolve remote module configurations' +head: + - - meta + - property: og:description + content: 'ZE40001: Failed to resolve remote module configurations' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE40001')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when Zephyr fails to resolve the remote module configurations specified in your Module Federation setup. + +## Debugging the error + + + +### Verify remote URLs + +Ensure all remote module URLs in your configuration are correct and accessible: + +```js +remotes: { + app1: 'app1@https://example.com/remoteEntry.js', +} +``` + +### Check remote availability + +Verify that the remote modules you're trying to consume are deployed and accessible. + +### Validate configuration syntax + +Ensure your remotes configuration follows the correct format for your Module Federation setup. + + diff --git a/docs/errors/ze40003.mdx b/docs/errors/ze40003.mdx new file mode 100644 index 00000000..d44a4421 --- /dev/null +++ b/docs/errors/ze40003.mdx @@ -0,0 +1,47 @@ +--- +title: 'ZE40003: Cannot resolve app name with version' +description: 'ZE40003: Failed to resolve application name with the specified version' +head: + - - meta + - property: og:description + content: 'ZE40003: Failed to resolve application name with the specified version' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE40003')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when Zephyr cannot resolve an application with the specified name and version combination. + +## Debugging the error + + + +### Verify the application exists + +Ensure the application you're trying to reference has been deployed to Zephyr. + +### Check the version format + +Verify that the version string matches the expected format and corresponds to an existing deployment. + +### Check your package.json + +Ensure the `name` and `version` fields in your `package.json` are correctly set: + +```json +{ + "name": "my-app", + "version": "1.0.0" +} +``` + + diff --git a/docs/errors/ze40005.mdx b/docs/errors/ze40005.mdx new file mode 100644 index 00000000..b45f0d3f --- /dev/null +++ b/docs/errors/ze40005.mdx @@ -0,0 +1,46 @@ +--- +title: 'ZE40005: MF config missing filename' +description: 'ZE40005: Module Federation configuration is missing the filename field' +head: + - - meta + - property: og:description + content: 'ZE40005: Module Federation configuration is missing the filename field' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE40005')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when your Module Federation configuration is missing the required `filename` field. + +## Debugging the error + + + +### Add the filename field + +Ensure your Module Federation configuration includes the `filename` property: + +```js +new ModuleFederationPlugin({ + name: 'myApp', + filename: 'remoteEntry.js', // Required field + exposes: { + './Component': './src/Component', + }, +}); +``` + +### Use a standard filename + +The `filename` is typically set to `remoteEntry.js` for remote modules. This file serves as the entry point for consuming applications. + + diff --git a/docs/errors/ze40006.mdx b/docs/errors/ze40006.mdx new file mode 100644 index 00000000..f02c8e67 --- /dev/null +++ b/docs/errors/ze40006.mdx @@ -0,0 +1,49 @@ +--- +title: 'ZE40006: Missing platform' +description: 'ZE40006: Platform configuration is missing' +head: + - - meta + - property: og:description + content: 'ZE40006: Platform configuration is missing' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE40006')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when Zephyr cannot determine the target platform for your deployment. + +## Debugging the error + + + +### Check your Zephyr configuration + +Ensure your configuration specifies the target platform. This is typically determined automatically based on your bundler and setup. + +### Verify bundler plugin setup + +Make sure you're using the correct Zephyr plugin for your bundler: + +- `zephyr-webpack-plugin` for Webpack +- `vite-plugin-zephyr` for Vite +- `rollup-plugin-zephyr` for Rollup + +### Reinstall dependencies + +Try removing `node_modules` and reinstalling: + +```bash +rm -rf node_modules +npm install +``` + + diff --git a/docs/errors/ze40035.mdx b/docs/errors/ze40035.mdx new file mode 100644 index 00000000..2af81d4a --- /dev/null +++ b/docs/errors/ze40035.mdx @@ -0,0 +1,48 @@ +--- +title: 'ZE40035: HTTP error' +description: 'ZE40035: An HTTP error occurred during configuration operations' +head: + - - meta + - property: og:description + content: 'ZE40035: An HTTP error occurred during configuration operations' +--- + +import { getErrorMessage } from '../../lib/error-helpers.ts'; +import { ErrorInfo } from '../../components/errors/info.tsx'; +import { Steps } from '@rspress/core/theme'; + +# {getErrorMessage('ZE40035')} + +::: tip Quick Help +The fastest way to resolve this error is to [join our Discord](https://discord.gg/zephyrcloud) and leave a message - our team is ready to help! +::: + + + +This error occurs when an HTTP request fails during configuration-related operations. This can be due to network issues, server errors, or connectivity problems. + +## Debugging the error + + + +### Check your network connection + +Ensure your internet connection is stable and you can reach external services. + +### Retry the operation + +HTTP errors can be transient. Try running the build again: + +```bash +npm run build +``` + +### Check firewall and proxy settings + +If you're behind a corporate firewall or proxy, ensure it's not blocking requests to Zephyr's servers. + +### Check server status + +Visit the [Zephyr status page](https://status.zephyr-cloud.io) to check for any ongoing service issues. + + diff --git a/lib/error-codes-messages.ts b/lib/error-codes-messages.ts index b2ce63a8..5931250d 100644 --- a/lib/error-codes-messages.ts +++ b/lib/error-codes-messages.ts @@ -6,6 +6,7 @@ export const Categories = { build: '10', deploy: '20', browser: '30', + config: '40', } as const satisfies { [name: string]: `${Digit}${Digit}`; }; @@ -38,12 +39,6 @@ export const Errors = { message: 'Package.json is not in a valid json format.', kind: 'build', }, - /** Webpack config error*/ - ERR_WEBPACK_CONFIG: { - id: '012', - message: 'Webpack config error.', - kind: 'build', - }, // TODO: we don't detect this error yet, will we be able to separate them? /** Package.json must have a name and version field. */ ERR_PACKAGE_JSON_MUST_HAVE_NAME_VERSION: { id: '013', @@ -86,18 +81,6 @@ export const Errors = { message: 'Could not get build id.', kind: 'build', }, - /**Could not initialize Zephyr Agent. */ - ERR_INITIALIZE_ZEPHYR_AGENT: { - id: '020', - message: 'Could not initialize Zephyr Agent.', - kind: 'build', - }, - /** Cloudflare specific error */ - ERR_UNABLE_CREATE_DIST_FOLDER: { - id: '021', - message: 'Error creating dist folder.', - kind: 'build', - }, /** Deployment error, assets not found */ ERR_ASSETS_NOT_FOUND: { id: '010', @@ -127,30 +110,12 @@ export const Errors = { message: 'Failed to load application configuration.', kind: 'deploy', }, - /**Failed to upload build stats. */ - ERR_FAILED_UPLOAD_BUILD_STATS: { - id: '015', - message: 'Failed to upload build stats.', - kind: 'deploy', - }, - /** Did not receive envs from build stats upload */ - ERR_NOT_RECEIVE_ENVS_FROM_BUILD_STATS: { - id: '016', - message: 'Did not receive envs from build stats upload.', - kind: 'deploy', - }, /** Failed to upload assets. */ ERR_FAILED_UPLOAD_ASSETS: { id: '017', message: 'Failed to upload assets.', kind: 'deploy', }, - /** Failed to upload snapshots. */ - ERR_FAILED_UPLOAD_SNAPSHOTS: { - id: '018', - message: 'Failed to upload snapshots.', - kind: 'deploy', - }, /** Snapshot uploads gave no results. */ ERR_SNAPSHOT_UPLOADS_NO_RESULTS: { id: '019', @@ -163,12 +128,6 @@ export const Errors = { message: 'Failed to get application hash list.', kind: 'deploy', }, - /** Could not resolve ${name} with verson ${version} */ - ERR_NOT_RESOLVE_APP_NAME_WITH_VERSION: { - id: '021', - message: 'Could not resolve application name with version.', - kind: 'deploy', - }, ERR_SNAPSHOT_ID_NOT_FOUND: { id: '022', message: '`snapshot_id` not found.', @@ -184,34 +143,71 @@ export const Errors = { message: 'Failed to deploy local build.', kind: 'deploy', }, - /** Cloudflare specific error */ - ERR_WRANGLER_DEPENDENCY: { - id: '025', - message: - 'Wrangler dependency is needed for Cloudflare deployment. Please install dependencies without --no-optional flag.', - kind: 'deploy', - }, ERR_CONVERT_GRAPH_TO_DASHBOARD: { id: '026', message: 'Failed to convert graph to dashboard data.', kind: 'browser', }, - ERR_UPLOAD_TO_CLOUDFLARE_PAGES: { - id: '027', - message: 'Error upload to cloudflare pages.', - kind: 'deploy', + /** Auth forbidden error */ + ERR_AUTH_FORBIDDEN_ERROR: { + id: '022', + message: 'Auth forbidden error.', + kind: 'build', }, - ERR_NO_WRANGLER: { - id: '028', - message: - 'Wrangler dependency is needed for Cloudflare deployment. Please install dependencies without --no-optional flag.', + /** Invalid Module Federation config */ + ERR_INVALID_MF_CONFIG: { + id: '023', + message: 'Invalid Module Federation config.', kind: 'build', }, - ERR_CREATE_DIST_FOLDER: { - id: '029', - message: 'Error creating dist folder.', + /** Invalid app ID */ + ERR_INVALID_APP_ID: { + id: '024', + message: 'Invalid app ID.', kind: 'build', }, + /** JWT invalid */ + ERR_JWT_INVALID: { + id: '032', + message: 'JWT invalid.', + kind: 'build', + }, + /** Max payload size exceeded */ + ERR_MAX_PAYLOAD_SIZE_EXCEEDED: { + id: '037', + message: 'Max payload size exceeded.', + kind: 'deploy', + }, + /** Resolve remotes error */ + ERR_RESOLVE_REMOTES: { + id: '001', + message: 'Resolve remotes error.', + kind: 'config', + }, + /** Cannot resolve app name with version */ + ERR_CANNOT_RESOLVE_APP_NAME_WITH_VERSION: { + id: '003', + message: 'Cannot resolve app name with version.', + kind: 'config', + }, + /** MF config missing filename */ + ERR_MF_CONFIG_MISSING_FILENAME: { + id: '005', + message: 'MF config missing filename.', + kind: 'config', + }, + /** Missing platform */ + ERR_MISSING_PLATFORM: { + id: '006', + message: 'Missing platform.', + kind: 'config', + }, + /** HTTP error */ + ERR_HTTP_ERROR: { + id: '035', + message: 'HTTP error.', + kind: 'config', + }, } as const satisfies { [name: string]: { id: `${Digit}${Digit}${Digit}`; diff --git a/lib/error.ts b/lib/error.ts index 0b46ff18..df08950d 100644 --- a/lib/error.ts +++ b/lib/error.ts @@ -39,10 +39,6 @@ export const Errors = { code: 'ZE10019', name: 'Could not get build id.', }, - { - code: 'ZE10020', - name: 'Could not initialize Zephyr Agent.', - }, ], // Deploy specific errors deploy: [ @@ -66,22 +62,10 @@ export const Errors = { code: 'ZE20014', name: 'Failed to load application configuration.', }, - { - code: 'ZE20015', - name: 'Failed to upload build stats.', - }, - { - code: 'ZE20016', - name: 'Did not receive envs from build stats upload.', - }, { code: 'ZE20017', name: 'Failed to upload assets.', }, - { - code: 'ZE20018', - name: 'Failed to upload snapshots.', - }, { code: 'ZE20019', @@ -91,10 +75,6 @@ export const Errors = { code: 'ZE20020', name: 'Failed to get application hash list.', }, - { - code: 'ZE20021', - name: 'Could not resolve application name with version.', - }, { code: 'ZE20022', name: '`snapshot_id` not found.', diff --git a/rspress.config.ts b/rspress.config.ts index 3d08d8e7..7dbffedb 100644 --- a/rspress.config.ts +++ b/rspress.config.ts @@ -428,6 +428,46 @@ export default defineConfig({ pluginAlgolia(), pluginClientRedirects({ redirects: [ + // Legacy/removed error doc pages + { from: '/errors/ze10028', to: '/errors/ze00000' }, + { from: '^/errors/ZE10028$', to: '/errors/ze00000' }, + // Removed error doc pages (not emitted/returned by current code) + { from: '/errors/ze10012', to: '/errors/ze00000' }, + { from: '^/errors/ZE10012$', to: '/errors/ze00000' }, + { from: '/errors/ze10020', to: '/errors/ze00000' }, + { from: '^/errors/ZE10020$', to: '/errors/ze00000' }, + { from: '/errors/ze10021', to: '/errors/ze00000' }, + { from: '^/errors/ZE10021$', to: '/errors/ze00000' }, + { from: '/errors/ze10029', to: '/errors/ze00000' }, + { from: '^/errors/ZE10029$', to: '/errors/ze00000' }, + { from: '/errors/ze10030', to: '/errors/ze00000' }, + { from: '^/errors/ZE10030$', to: '/errors/ze00000' }, + { from: '/errors/ze10031', to: '/errors/ze00000' }, + { from: '^/errors/ZE10031$', to: '/errors/ze00000' }, + { from: '/errors/ze10034', to: '/errors/ze00000' }, + { from: '^/errors/ZE10034$', to: '/errors/ze00000' }, + { from: '/errors/ze10035', to: '/errors/ze00000' }, + { from: '^/errors/ZE10035$', to: '/errors/ze00000' }, + { from: '/errors/ze10036', to: '/errors/ze00000' }, + { from: '^/errors/ZE10036$', to: '/errors/ze00000' }, + { from: '/errors/ze20015', to: '/errors/ze00000' }, + { from: '^/errors/ZE20015$', to: '/errors/ze00000' }, + { from: '/errors/ze20016', to: '/errors/ze00000' }, + { from: '^/errors/ZE20016$', to: '/errors/ze00000' }, + { from: '/errors/ze20018', to: '/errors/ze00000' }, + { from: '^/errors/ZE20018$', to: '/errors/ze00000' }, + { from: '/errors/ze20021', to: '/errors/ze00000' }, + { from: '^/errors/ZE20021$', to: '/errors/ze00000' }, + { from: '/errors/ze20025', to: '/errors/ze00000' }, + { from: '^/errors/ZE20025$', to: '/errors/ze00000' }, + { from: '/errors/ze20027', to: '/errors/ze00000' }, + { from: '^/errors/ZE20027$', to: '/errors/ze00000' }, + { from: '/errors/ze20034', to: '/errors/ze00000' }, + { from: '^/errors/ZE20034$', to: '/errors/ze00000' }, + { from: '/errors/ze20036', to: '/errors/ze00000' }, + { from: '^/errors/ZE20036$', to: '/errors/ze00000' }, + { from: '/errors/ze40004', to: '/errors/ze00000' }, + { from: '^/errors/ZE40004$', to: '/errors/ze00000' }, { from: '/how-to/cloud-providers', to: '/cloud' }, { from: '^/guide/general/get-started', to: '/general/get-started' }, {