gxmari007 / vite-plugin-eslint

🚨 ESLint plugin for vite
MIT License
268 stars 48 forks source link

Error while resolving types #71

Open padcom opened 1 year ago

padcom commented 1 year ago
There are types at './node_modules/vite-plugin-eslint/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vite-plugin-eslint' library may need to update its package.json or typings.ts(7016)

I'll do the PR in a moment.

rtmann commented 1 year ago

Any update on this issue? It's still a thing. Getting the same error.

gyhyfj commented 1 year ago

No type files generated for 1.8.1

无法找到模块“vite-plugin-eslint”的声明文件。“D:/GitRepo/template-turborepo/node_modules/.pnpm/vite-plugin-eslint@1.8.1_eslint@8.45.0_vite@4.4.0/node_modules/vite-plugin-eslint/dist/index.mjs”隐式拥有 "any" 类型。
  There are types at 'd:/GitRepo/template-turborepo/apps/vue3-vite/node_modules/vite-plugin-eslint/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vite-plugin-eslint' library may need to update its package.json or typings.
wuyanfeiying commented 1 year ago

No type files generated for 1.8.1

无法找到模块“vite-plugin-eslint”的声明文件。“D:/GitRepo/template-turborepo/node_modules/.pnpm/vite-plugin-eslint@1.8.1_eslint@8.45.0_vite@4.4.0/node_modules/vite-plugin-eslint/dist/index.mjs”隐式拥有 "any" 类型。
  There are types at 'd:/GitRepo/template-turborepo/apps/vue3-vite/node_modules/vite-plugin-eslint/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vite-plugin-eslint' library may need to update its package.json or typings.

后面解决了吗