Skip to content

pnpm start 启动失败,求高手 #300

Description

@tomsun28

在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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions