8000 "vue create ." overrides existing package.json · Issue #4544 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content

"vue create ." overrides existing package.json #4544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Joe-Kerr opened this issue Sep 5, 2019 · 1 comment · Fixed by #4827
Closed

"vue create ." overrides existing package.json #4544

Joe-Kerr opened this issue Sep 5, 2019 · 1 comment · Fixed by #4827

Comments

@Joe-Kerr
Copy link
Joe-Kerr commented Sep 5, 2019

Version

3.11.0

Environment info

Environment Info:
  Windows
  Binaries:
    Node: 10.15.1 - node.EXE
    Yarn: Not Found
    npm: 6.1.0 - npm.CMD
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0 
    @vue/babel-plugin-transform-vue-jsx:  1.0.0 
    @vue/babel-preset-app:  3.11.0 
    @vue/babel-preset-jsx:  1.1.0 
    @vue/babel-sugar-functional-vue:  1.0.0 
    @vue/babel-sugar-inject-h:  1.0.0 
    @vue/babel-sugar-v-model:  1.0.0 
    @vue/babel-sugar-v-on:  1.1.0 
    @vue/cli-overlay:  3.11.0 
    @vue/cli-plugin-babel: ^3.11.0 => 3.11.0 
    @vue/cli-plugin-pwa: ^3.11.0 => 3.11.0 
    @vue/cli-plugin-unit-mocha: ^3.11.0 => 3.11.0 
    @vue/cli-service: ^3.11.0 => 3.11.0 
    @vue/cli-shared-utils:  3.11.0 
    @vue/component-compiler-utils:  3.0.0 
    @vue/preload-webpack-plugin:  1.1.1 
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29 
    @vue/web-component-wrapper:  1.2.0 
    vue: ^2.6.10 => 2.6.10 
    vue-hot-reload-api:  2.3.3 
    vue-loader:  15.7.1 
    vue-style-loader:  4.1.2 
    vue-template-compiler: ^2.6.10 => 2.6.10 
    vue-template-es2015-compiler:  1.9.1 
    vuex: ^3.0.1 => 3.1.1 
  npmGlobalPackages:
    @vue/cli: Not Found 

Steps to reproduce

  • npm init
  • vue create .

What is expected?

merge package.json

What is actually happening?

override package.json

@Joe-Kerr
Copy link
Author
Joe-Kerr commented Sep 5, 2019

The contents of the existing nodes_modules folder were removed as well :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0