针对你遇到的问题“cannot find package 'vite' imported from vite.config.ts”,以下是一些可能的解决方案和检查步骤: 确认vite包是否已正确安装: 打开终端或命令行工具。 在项目根目录下运行以下命令来检查vite包是否已安装: bash npm list vite 或者如果你使用的是yarn: bash yarn list vite 如果这些命令没...
Uncaught Exception: Error: Cannot find package '/Users/johnlindquist/dev/electron-29/dist/mac-arm64/electron-29.app/Contents/Resources/app.asar/node_modules/electron-log/package.json' imported from /Users/johnlindquist/dev/electron-29/dist/mac-arm64/electron-29.app/Contents/Resources/app.asar/out...
前端部分报错[plugin:vite:vue-jsx] Cannot find package 'C:\Users\123\Desktop\JeecgBoot-master\pincone_system\jeecgboot-vue3\node_modules\.pnpm\@vitejs+plugin-vue-jsx@3.1.0_vite@5.4.9_@types+node@20.16.13_less@4.2.0_terser@5.36.0__vue@3.5.12_typescript@4.9.5_\node_modules\@babel\pl...
√ Nitro built in 2271 ms [nuxt] [request error] Cannot find package 'vue-demi' imported from D:\Users\user\projects\sandbox\nuxt3\nuxt-app\.nuxt\dist\server\server.mjs at new NodeError (node:internal/errors:372:5) at packageResolve (node:internal/modules/esm/resolve:954:9) at module...
package.json' imported from D:\a\node-js-max_path-windows-bug\node-js-max_path-windows-bug\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\long-path\eslint.config.js Did...
package.json: {"devDependencies": {"@vitejs/plugin-vue":"^4.2.3","typescript":"^5.1.6","vite":"^4.3.9","vue":"^3.3.4","vue-tsc":"^1.8.3"},"type":"module"} tsconfig.json: {"compilerOptions": {"module":"ESNext","target":"ESNext","strict":false,"esModuleInterop":true...
After running npm install @vitejs/plugin-vue, I get a new error: Cannot start nuxt: Cannot find package '@nuxt/ui-templates' imported from /path/to/nuxt3-app/node_modules/@nuxt/nitro/dist/index.mjs https://v3.nuxtjs.org/getting-started/introduction indicates that Node 14 is supported...
Describe the bug I am trying to import a Button component from a workspace package shared-ui from a vite react app but i am getting 'Button' is not exported by ../shared-ui/dist/index.js, imported by src/App.tsx error. Reproduction https...
I have the same issue but with the latest Element Plus version while using Vite. Cannot find module '...\node_modules\lodash\isEqual' imported from ...\node_modules\element-plus\es\components\time-picker\src\common\picker.mjs Did you mean to import lodash/isEqual.js? Jackliu007888 comme...
I tried to change the output in schema.prisma to../src/lib/server/database/generated/clientand imported it and I got this error in dev server: 53410|ssrModule, 53411|ssrImportMeta, 53412|ssrImport, 53413|ssrDynamicImport, 53414|ssrExportAll 53415|);^ ReferenceError: Can't find variable: ...