Closed duoluodexiaoxiaoyuan closed 5 months ago
Hello @duoluodexiaoxiaoyuan
i use win11, i don't sure whether window and mac is different
This shouldn't cause any problems. I'm using Manjaro Linux.
Did you run npm install
in the root directory?
Which version of node
/npm
are you using?
I have the following versions installed:
> node --version
v20.11.0
> npm --version
10.2.4
this is my version,
i run npm run dev -w=core is ok
but run npm run dev -w=light is error , i don't konw how to solve this problem.
Try to update Node.js. Vite requires Node.js >= 18.
Compatibility Note Vite requires Node.js version 18+. 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
Try to update Node.js. Vite requires Node.js >= 18.
Compatibility Note Vite requires Node.js version 18+. 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
thank you reply, I want use language is en, now it's not effective
There is a typo. It should be locale
instead of locate
There is a typo. It should be
locale
instead oflocate
i'm sad, i delete local repo, then try to install and run, still error.
i use antd-design-vue, i set locale is not effictive
I just tried to run npm run dev -w=ant
on my windows virtual machine and was met with the same error message.
X [ERROR] Failed to resolve entry for package "@vue-js-cron/core". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]
To resolve this, you need to build the core
package. I'm sorry I didn't think of this sooner.
npm run build -w=core # build core package
npm run build # Or build all packages
i set locale is not effictive
Here is an example of the cron-ant
compoent using the German locale: https://codesandbox.io/p/sandbox/vue-js-cron-ant-locale-50-x5x2pn
Changing the locale
value after the initialization is not possible at the moment. If that's what you need, then I'll see if I can make it happen. :)
I just tried to run
npm run dev -w=ant
on my windows virtual machine and was met with the same error message.X [ERROR] Failed to resolve entry for package "@vue-js-cron/core". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]
To resolve this, you need to build the
core
package. I'm sorry I didn't think of this sooner.npm run build -w=core # build core package npm run build # Or build all packages
i set locale is not effictive
Here is an example of the
cron-ant
compoent using the German locale: https://codesandbox.io/p/sandbox/vue-js-cron-ant-locale-50-x5x2pnChanging the
locale
value after the initialization is not possible at the moment. If that's what you need, then I'll see if I can make it happen. :)
very thank you continue reply my questions, now vue-js-corn is can run, about locale question is resolve, I set locale="zh-cn" is ok. I see you change docus, I believe more people know and start use this repo
I'm glad I could help. Feel free to reopen this issue if you have further questions.
i use win11, i don't sure whether window and mac is different