Open sandorex opened 1 year ago
Tried adding adding every package it said is not declared
% git diff package.json [ 1 ]
diff --git a/package.json b/package.json
index acb95c1..0fca417 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,9 @@
"docs:build": "vuepress build docs"
},
"devDependencies": {
+ "@vuepress/shared-utils": "^1.9.9",
+ "lru-cache": "^9.1.2",
+ "markdown-it-emoji": "^2.0.2",
"vuepress": "^1.8.2"
}
}
And now getting
/var/home/sandorex/slowmf/ws/almalinux-wiki/.yarn/cache/@vuepress-shared-utils-npm-1.9.9-44b4d41523-8fc6e9d7d4.zip/node_modules/@vuepress/shared-utils/lib/extractHeaders.js:15
const cache = new lru_cache_1.default({ max: 1000 });
^
TypeError: lru_cache_1.default is not a constructor
at Object.<anonymous> (/var/home/sandorex/slowmf/ws/almalinux-wiki/.yarn/cache/@vuepress-shared-utils-npm-1.9.9-44b4d41523-8fc6e9d7d4.zip/node_modules/@vuepress/shared-utils/lib/extractHeaders.js:15:15)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at require$$0.Module._extensions..js (/var/home/sandorex/slowmf/ws/almalinux-wiki/.pnp.cjs:23952:33)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at require$$0.Module._load (/var/home/sandorex/slowmf/ws/almalinux-wiki/.pnp.cjs:23789:14)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/var/home/sandorex/slowmf/ws/almalinux-wiki/.yarn/cache/@vuepress-shared-utils-npm-1.9.9-44b4d41523-8fc6e9d7d4.zip/node_modules/@vuepress/shared-utils/lib/index.js:40:42)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
Node.js v18.16.0
I cannot build the wiki
I've also tried latest node js and same issue