Open
Description
Version
4.5.11
Environment info
Environment Info:
System:
OS: Linux 4.19 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (16) x64 Intel(R) Core(TM) i9-10980HK CPU @ 2.40GHz
Binaries:
Node: 14.15.1 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Browsers:
Chrome: Not Found
Firefox: Not Found
npmGlobalPackages:
@vue/cli: 4.5.10
Steps to reproduce
Run vue create my-project --preset assurance-maladie-digital/vue-cli-preset
and let default values for all the questions.
When it's done, run yarn serve
from the created folder.
What is expected?
All files are copied correctly.
What is actually happening?
Files (for example tsconfig.json
and Home.vue
) are not copied correctly and that generates errors on yarn serve
.
Hi,
This issue is happening randomly on my PC (I'm using WSL), so I cannot provide a minimal reproduction, but seems to be consitent on MacOS.
I'm using this custom preset which invokes this custom plugin thats replaces the default files created by Vue CLI.
I really don't known what's going on, maybe there is something wrong in my plugin or preset but since I cannot reproduce this consistently it's really hard to debug!