failed to load config from /Users/test/www/kqt/web/vite.config.ts
error when starting dev server: 16:36:59
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/test/www/kqt/web/node_modules/@yankeeinlondon/happy-wrapper/package.json
at new NodeError (node:internal/errors:399:5)
at exportsNotFound (node:internal/modules/esm/resolve:361:10)
at packageExportsResolve (node:internal/modules/esm/resolve:641:13)
at resolveExports (node:internal/modules/cjs/loader:565:36)
at Module._findPath (node:internal/modules/cjs/loader:634:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/Users/test/www/kqt/web/node_modules/vite-plugin-md/dist/index.cjs:18030:28)
package.json
vite.config.ts
运行vite项目
错误如下