-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
软件版本
NodeJS 18.12.0 pnpm 8.7.0
运行环境
MacOS
运行架构
None
重现步骤
pnpm i
pnpm dev
期望的结果是什么?
正常运行
实际的结果是什么?
import { defineViteServerAction, callViteClientListener, initViteServerContext } from '@vue/devtools-core';
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module '@vue/devtools-core' does not provide an export named 'callViteClientListener'
at ModuleJob.instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
at async loadConfigFromBundledFile (file:///Users/kongwei/Conwel/workspace/soybean-admin/node_modules/.pnpm/[email protected]@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66913:15)
at async loadConfigFromFile (file:///Users/kongwei/Conwel/workspace/soybean-admin/node_modules/.pnpm/vite@5.3.1_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66754:24)
at async resolveConfig (file:///Users/kongwei/Conwel/workspace/soybean-admin/node_modules/.pnpm/vite@5.3.1_@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:66364:24)
at async createServer (file:///Users/kongwei/Conwel/workspace/soybean-admin/node_modules/.pnpm/[email protected]@types[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:62977:18)
at async CAC. (file:///Users/kongwei/Conwel/workspace/soybean-admin/node_modules/.pnpm/vite@5.3.1_@types[email protected][email protected]/node_modules/vite/dist/node/cli.js:735:20)
日志记录(可选)
No response
补充说明(可选)
No response