''vue create' command only makes package.json and readme.md. what's the problem?

I want to create Vue.js Project.

So, I tried to use 'vue create [project name]' command.

But, It makes only package.json and readme.md files......

I want to see the complete project structure with src folder and public folder

I have a hard time solving this problem.. What's the problem?

please help me..

I followed the steps below ⬇️

For reference, My @vue/cli version is 4.5.15 and I use yarn-berry

  1. vue create mail-app
  2. choose 'Default (Vue 3)' manual
  3. And then, excuted as follows
Vue CLI v4.5.15
✨  Creating project in /Users/jylee/Vscode/yarn-berry/packages/mainApp/mail-app.
⚙️  Installing CLI plugins. This might take a while...

➤ YN0000: ┌ Resolution step
➤ YN0002: │ header@workspace:packages/container/header doesn't provide @testing-library/dom (pfd67c), requested by @testing-library/user-event
➤ YN0002: │ mail-app@workspace:packages/mainApp/mail-app doesn't provide eslint (p6d355), requested by @vue/cli-plugin-eslint
➤ YN0002: │ my-app@workspace:packages/mainApp/my-app doesn't provide eslint (paec95), requested by @vue/cli-plugin-eslint
➤ YN0002: │ news@workspace:packages/mainApp/news doesn't provide @testing-library/dom (p29bbd), requested by @testing-library/user-event
➤ YN0002: │ shopping@workspace:packages/mainApp/shopping doesn't provide eslint (pb74f4), requested by @vue/cli-plugin-eslint
➤ YN0002: │ shopping@workspace:packages/mainApp/shopping doesn't provide typescript (pf3b87), requested by @vue/cli-plugin-typescript
➤ YN0002: │ webpack-dev-server@npm:4.6.0 [7b00a] doesn't provide @types/express (p88af1), requested by http-proxy-middleware
➤ YN0002: │ webpack-dev-server@npm:4.6.0 [ca8ee] doesn't provide @types/express (pa4c44), requested by http-proxy-middleware
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 228ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 0s 554ms
🚀  Invoking generators...
📦  Installing additional dependencies...

➤ YN0000: ┌ Resolution step
➤ YN0002: │ header@workspace:packages/container/header doesn't provide @testing-library/dom (pfd67c), requested by @testing-library/user-event
➤ YN0002: │ mail-app@workspace:packages/mainApp/mail-app doesn't provide eslint (p6d355), requested by @vue/cli-plugin-eslint
➤ YN0002: │ my-app@workspace:packages/mainApp/my-app doesn't provide eslint (paec95), requested by @vue/cli-plugin-eslint
➤ YN0002: │ news@workspace:packages/mainApp/news doesn't provide @testing-library/dom (p29bbd), requested by @testing-library/user-event
➤ YN0002: │ shopping@workspace:packages/mainApp/shopping doesn't provide eslint (pb74f4), requested by @vue/cli-plugin-eslint
➤ YN0002: │ shopping@workspace:packages/mainApp/shopping doesn't provide typescript (pf3b87), requested by @vue/cli-plugin-typescript
➤ YN0002: │ webpack-dev-server@npm:4.6.0 [7b00a] doesn't provide @types/express (p88af1), requested by http-proxy-middleware
➤ YN0002: │ webpack-dev-server@npm:4.6.0 [ca8ee] doesn't provide @types/express (pa4c44), requested by http-proxy-middleware
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 214ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 0s 441ms
⚓  Running completion hooks...

📄  Generating README.md...

🎉  Successfully created project mail-app.
👉  Get started with the following commands:

 $ cd mail-app
 $ yarn serve


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source