From bd6ac3e14e7e1b143fb1dad4ce59d15b6f62ae12 Mon Sep 17 00:00:00 2001 From: DVKunion Date: Thu, 25 Jan 2024 18:23:08 +0800 Subject: [PATCH] docs: fix node error --- docs/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/package.json b/docs/package.json index 5b042f7..e2cbf67 100644 --- a/docs/package.json +++ b/docs/package.json @@ -6,8 +6,8 @@ "repository": "https://github.com/DVKunion/SeaMoon", "author": "DVKunion", "scripts": { - "dev": "vuepress dev .", - "build": "vuepress build .", + "dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev .", + "build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build .", "updateTheme": "yarn remove vuepress-theme-vdoing && rm -rf node_modules && yarn && yarn add vuepress-theme-vdoing -D", "editFm": "node utils/editFrontmatter.js" },