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
I know this is the wrong usage, but when I initially used the presets I though it was going to create a preset file in the directory. so when asked I named the preset as project.json
vue create project
select any option you want, on the last step, say Y to Save this as a preset for future projects?
Type project.json to Save preset as: question. It could be anything, just add an extension to the name.
type vue create again, and select project.json should appear at the top.
What is expected?
I guess it should initiate the preset without error. or it shouldn't let me type invalid name for a preset in the first place.
What is actually happening?
vue create fails with Error: ENOENT: no such file or directory, open 'project.json' error
Also couldn't find a way to list or edit the presets after they are created. only way seems to be manually editing ~/.vuerc file. Which is totally fine, just wanted to point out.
The text was updated successfully, but these errors were encountered:
Version
3.0.0-rc.5
Reproduction link
https://github.com/vuejs/vue-cli
Steps to reproduce
I know this is the wrong usage, but when I initially used the presets I though it was going to create a preset file in the directory. so when asked I named the preset as
project.json
vue create project
select any option you want, on the last step, say
Y
toSave this as a preset for future projects?
Type
project.json
toSave preset as:
question. It could be anything, just add an extension to the name.type
vue create
again, and selectproject.json
should appear at the top.What is expected?
I guess it should initiate the preset without error. or it shouldn't let me type invalid name for a preset in the first place.
What is actually happening?
vue create
fails withError: ENOENT: no such file or directory, open 'project.json'
errorAlso couldn't find a way to list or edit the presets after they are created. only way seems to be manually editing
~/.vuerc
file. Which is totally fine, just wanted to point out.The text was updated successfully, but these errors were encountered: