New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in systems other than Windows #119
Comments
你可以尝试一下最新的 |
又有其他问题了 failed to load config from /Users/chenkai/github/ckpack/v-ui/scripts/vite.es.ts
error during build:
ReferenceError: __filename is not defined in ES module scope
at isFileSystemCaseSensitive (file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite-plugin-dts/dist/index.mjs:11047:46)
at getNodeSystem (file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite-plugin-dts/dist/index.mjs:10812:46)
at file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite-plugin-dts/dist/index.mjs:11367:20
at file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite-plugin-dts/dist/index.mjs:11374:8
at file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite-plugin-dts/dist/index.mjs:11389:4
at file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite-plugin-dts/dist/index.mjs:172321:3
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:526:24)
at async loadConfigFromBundledFile (file:///Users/chenkai/github/ckpack/v-ui/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:63495:21)
ELIFECYCLE Command failed with exit code 1 |
麻烦你发一下你的 |
现在的版本是1.6.1,你需要手动改成1.6.3 |
pnpm-lock.yaml 不就是锁版本的么!! 把^删除了试试? |
我已经确定了在我本地的环境下你的这个项目在 1.6.3 版本不会报错,请你按重新初始化项目尝试后再反馈,如果依旧出错,我们再进一步讨论可能是一些系统环境、node 版本之类导致的问题。
|
我的node版本是v18.10.0
就有这个问题了! |
I have the same issue, FYI. I've tried updating vite to the latest version, but it didn't help. I'm using yarn 1.22.19 and node 16.15. |
https://github.com/ckpack/v-ui/actions/runs/3157722087/jobs/5138925974 |
错误信息
复现地址https://github.com/ckpack/v-ui
The text was updated successfully, but these errors were encountered: