You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: NO_MODULES
at importProject (/home/kenta/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/connectors/projects.js:373:11)
at /home/kenta/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/connectors/projects.js:364:12
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async Object.wrap (/home/kenta/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/connectors/progress.js:39:14)
The text was updated successfully, but these errors were encountered:
Version
4.5.12
Environment info
Steps to reproduce
命令行执行vue ui 打开网页界面,输入包含大写字母的项目名,使用默认配置创建项目
What is expected?
项目被正常创建
What is actually happening?
报错Error: NO_MODULES
跟踪代码发现报错处尝试访问项目根目录的node_modules
控制台打印程序访问的path得到:
/mnt/WorkSpace/projects/frontend/apiConfigure
但项目的实际path为:
/mnt/WorkSpace/projects/frontend/apiconfigure
推测原因是linux下ext4文件系统区分大小写导致无法访问项目目录
Error: NO_MODULES
at importProject (/home/kenta/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/connectors/projects.js:373:11)
at /home/kenta/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/connectors/projects.js:364:12
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async Object.wrap (/home/kenta/.config/yarn/global/node_modules/@vue/cli-ui/apollo-server/connectors/progress.js:39:14)
The text was updated successfully, but these errors were encountered: