{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/1871","repository_url":"https://api.github.com/repos/vuejs/vue-cli","labels_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1871/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1871/comments","events_url":"https://api.github.com/repos/vuejs/vue-cli/issues/1871/events","html_url":"https://github.com/vuejs/vue-cli/issues/1871","id":341686000,"node_id":"MDU6SXNzdWUzNDE2ODYwMDA=","number":1871,"title":"[EDGE CASE] Bad preset naming might break the functionality.","user":{"login":"serkanyersen","id":30582,"node_id":"MDQ6VXNlcjMwNTgy","avatar_url":"https://avatars1.githubusercontent.com/u/30582?v=4","gravatar_id":"","url":"https://api.github.com/users/serkanyersen","html_url":"https://github.com/serkanyersen","followers_url":"https://api.github.com/users/serkanyersen/followers","following_url":"https://api.github.com/users/serkanyersen/following{/other_user}","gists_url":"https://api.github.com/users/serkanyersen/gists{/gist_id}","starred_url":"https://api.github.com/users/serkanyersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkanyersen/subscriptions","organizations_url":"https://api.github.com/users/serkanyersen/orgs","repos_url":"https://api.github.com/users/serkanyersen/repos","events_url":"https://api.github.com/users/serkanyersen/events{/privacy}","received_events_url":"https://api.github.com/users/serkanyersen/received_events","type":"User","site_admin":false},"labels":[{"id":304056336,"node_id":"MDU6TGFiZWwzMDQwNTYzMzY=","url":"https://api.github.com/repos/vuejs/vue-cli/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":915278079,"node_id":"MDU6TGFiZWw5MTUyNzgwNzk=","url":"https://api.github.com/repos/vuejs/vue-cli/labels/feat:%20cli","name":"feat: cli","color":"59f2ba","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-16T21:30:00Z","updated_at":"2018-07-18T02:09:40Z","closed_at":"2018-07-18T02:09:40Z","author_association":"NONE","body":"\r\n### Version\r\n3.0.0-rc.5\r\n\r\n### Reproduction link\r\n[https://github.com/vuejs/vue-cli](https://github.com/vuejs/vue-cli)\r\n\r\n### Steps to reproduce\r\nI 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`\r\n\r\n- `vue create project`\r\n- select any option you want, on the last step, say `Y` to `Save this as a preset for future projects?`\r\n- Type `project.json` to `Save preset as:` question. It could be anything, just add an extension to the name.\r\n\r\n- type `vue create` again, and select `project.json` should appear at the top.\r\n\r\n\r\n\r\n### What is expected?\r\nI guess it should initiate the preset without error. or it shouldn't let me type invalid name for a preset in the first place.\r\n\r\n### What is actually happening?\r\n`vue create` fails with `Error: ENOENT: no such file or directory, open 'project.json'` error\r\n![screen shot 2018-07-16 at 14 20 59](https://user-images.githubusercontent.com/30582/42784474-38ace586-8904-11e8-8d07-ba2c08a58b2e.png)\r\n\r\n---\r\nAlso 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.\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"}}
{"actor":{"display_login":"yyx990803"}}