更新版本后报错 app.pluginApi.hooks.extendsPage undefined #927
-
info Initializing VuePress and preparing data...
//:docs:dev: /Users/lianyuansheng/GitHub/laoergege-blog/node_modules/.pnpm/@[email protected]/node_modules/@vuepress/core/lib/page/createPage.js:131
//:docs:dev: await app.pluginApi.hooks.extendsPage.process(page, app);
//:docs:dev: ^
//:docs:dev:
//:docs:dev: TypeError: Cannot read properties of undefined (reading 'process')
//:docs:dev: at createPage (/Users/lianyuansheng/GitHub/laoergege-blog/node_modules/.pnpm/@[email protected]/node_modules/@vuepress/core/lib/page/createPage.js:131:43)
//:docs:dev: at runMicrotasks (<anonymous>)
//:docs:dev: at processTicksAndRejections (node:internal/process/task_queues:96:5)
//:docs:dev: ELIFECYCLE Command failed with exit code 1.
//:docs:dev: ERROR: command finished with error: command () pnpm run docs:dev exited (1) |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Jun 5, 2022
Replies: 1 comment 4 replies
-
建议你先确定自己的依赖版本正确,确定lock文件只有一个@vuepress/core,然后尝试创建一个minimal reproduction repo link。 如果你确定上述流程仍有问题,开一个issue |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
建议你先确定自己的依赖版本正确,确定lock文件只有一个@vuepress/core,然后尝试创建一个minimal reproduction repo link。
如果你确定上述流程仍有问题,开一个issue