From e25717fda412277255d830bb8ac6b33c02cea17f Mon Sep 17 00:00:00 2001 From: jizhen181-dot Date: Tue, 29 Sep 2026 14:16:52 +0800 Subject: [PATCH 1/2] docs: link npm's EACCES guide for global install permission errors Co-Authored-By: Claude Opus 5.5 (1M context) --- docs/McpServer-Skills/SKILLS/QuickStart.md | 2 +- docs/wallet-cli/quickstart.md | 2 +- .../current/McpServer-Skills/SKILLS/QuickStart.md | 2 +- .../current/wallet-cli/quickstart.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/McpServer-Skills/SKILLS/QuickStart.md b/docs/McpServer-Skills/SKILLS/QuickStart.md index 707c344..e78076f 100644 --- a/docs/McpServer-Skills/SKILLS/QuickStart.md +++ b/docs/McpServer-Skills/SKILLS/QuickStart.md @@ -16,7 +16,7 @@ wallet-cli --version ``` :::tip Permission error on install? -If `npm install -g` fails with a permission error (such as `EACCES`) on macOS or Linux, either prefix the command with `sudo`, or drop `-g` to install into the current directory and run the CLI as `npx wallet-cli`. +If `npm install -g` fails with a permission error (such as `EACCES`) on macOS or Linux, see npm's official guide: [Resolving EACCES permissions errors when installing packages globally](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally). ::: ## Select the Skill diff --git a/docs/wallet-cli/quickstart.md b/docs/wallet-cli/quickstart.md index 43eb479..d4472ee 100644 --- a/docs/wallet-cli/quickstart.md +++ b/docs/wallet-cli/quickstart.md @@ -17,7 +17,7 @@ wallet-cli x402 pay --json-schema -o json ``` :::tip Permission error on install? -If `npm install -g` fails with a permission error (such as `EACCES`) on macOS or Linux, either prefix the command with `sudo`, or drop `-g` to install into the current directory and run the CLI as `npx wallet-cli`. +If `npm install -g` fails with a permission error (such as `EACCES`) on macOS or Linux, see npm's official guide: [Resolving EACCES permissions errors when installing packages globally](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally). ::: In 4.14.0, help, version, and schema discovery do not read wallet data. A first operational command may return `command: "migration"`: only the migration ran, so inspect its result before invoking the original command again. diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/McpServer-Skills/SKILLS/QuickStart.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/McpServer-Skills/SKILLS/QuickStart.md index e3d2a0d..675853e 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/McpServer-Skills/SKILLS/QuickStart.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/McpServer-Skills/SKILLS/QuickStart.md @@ -16,7 +16,7 @@ wallet-cli --version ``` :::tip 安装时报权限错误? -在 macOS 或 Linux 上,如果 `npm install -g` 报权限错误(如 `EACCES`),可以在命令前加 `sudo`;或者去掉 `-g` 安装到当前目录,之后用 `npx wallet-cli` 运行。 +在 macOS 或 Linux 上,如果 `npm install -g` 报权限错误(如 `EACCES`),请参考 npm 官方文档:[Resolving EACCES permissions errors when installing packages globally](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally)。 ::: ## 选择 Skill diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/wallet-cli/quickstart.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/wallet-cli/quickstart.md index fe7f14b..201751f 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/wallet-cli/quickstart.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/wallet-cli/quickstart.md @@ -17,7 +17,7 @@ wallet-cli x402 pay --json-schema -o json ``` :::tip 安装时报权限错误? -在 macOS 或 Linux 上,如果 `npm install -g` 报权限错误(如 `EACCES`),可以在命令前加 `sudo`;或者去掉 `-g` 安装到当前目录,之后用 `npx wallet-cli` 运行。 +在 macOS 或 Linux 上,如果 `npm install -g` 报权限错误(如 `EACCES`),请参考 npm 官方文档:[Resolving EACCES permissions errors when installing packages globally](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally)。 ::: 4.14.0 的帮助、版本和 schema 查询不读取钱包数据。首次执行其他命令可能返回 `command: "migration"`;这表示只完成了迁移,原命令尚未执行,需检查结果后再运行。 From fa0dc0d4353f89d544fc9b12a18767c2b2bb65fb Mon Sep 17 00:00:00 2001 From: jizhen181-dot Date: Tue, 29 Sep 2026 14:17:28 +0800 Subject: [PATCH 2/2] chore: bump version to 1.4.10 Co-Authored-By: Claude Opus 5.5 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b9686ef..59c06fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@x402-tron/docs", - "version": "1.4.8", + "version": "1.4.10", "description": "x402-tron documentation", "license": "MIT", "resolutions": {