Metersphere源码3.x前端启动报错

Metersphere版本:3.x
运行方式:源码运行
node版本:v24.11.1
npm版本:6.14.18
浏览器版本:Chrome 142.0.7444.176

问题描述:
下载源码3.x分支
npm install时报错 Unsupported URL Type “link:”: link:@/tiptap/pm 就把此行去掉执行的npm install

发现tsconfig.json中映射了@/*至./src/*就把node_modules中找到的@/tiptap/pm
把此文件放到src目录下或者不放都是启动报错

npm run dev启动报错如下

哪位大佬知道是哪块的问题 帮忙看下

已解决:必须严格要求node和pnpm版本与下面一致
<node.version>v20.8.1</node.version>
<pnpm.version>8.4.0</pnpm.version>

[QUESTION] dev和build运行时,postcss提示tailwind样式无法找到 · Issue #35460 · metersphere/metersphere

node 24,直接用pnpm安装正常无报错。
但本地启动仍然报同样错误:
[plugin:vite:css] [postcss] D:/gitRepo/proj/new/metersphere/frontend/src/assets/style/global.less:8:3: The inline-block, class does not exist. If inline-block, is a custom class, make sure it is defined within a @layer directive.
D:/gitRepo/proj/new/metersphere/frontend/src/assets/style/global.less:8:2
6 |
7 | @tailwind base;
8 | @tailwind components;
| ^
9 | @tailwind utilities;
10 | * {