dromara / dromara/dromara.github.io

pnpm start 启动失败,求高手

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
43
Forks
80
PR merge metrics
No merged PRs in 30d

Description

在macos arm 环境下,pnpm install 成功后,执行 pnpm start 报错

环境:

```
node -v
v18.18.0
pnpm -v
8.10.2
```

```

> dromara@2.0.0 start /Users/tom/code/opensource/dromara.github.io
> eslint --fix --ext .vue src/.vuepress/ && vuepress dev src

error TypeError: meta.resolve is not a function
at getModulePath (file:///Users/tom/code/opensource/dromara.github.io/node_modules/.pnpm/@vuepress+helper@2.0.0-rc.66_typescript@5.7.2_vuepress@2.0.0-rc.19/node_modules/@vuepress/helper/lib/node/utils/getModulePath.js:6:82)
at file:///Users/tom/code/opensource/dromara.github.io/node_modules/.pnpm/@vuepress+plugin-sitemap@2.0.0-rc.66_typescript@5.7.2_vuepress@2.0.0-rc.19/node_modules/@vuepress/plugin-sitemap/lib/node/getSitemapTemplate.js:5:31
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
 ELIFECYCLE  Command failed with exit code 1.

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.