vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.75k stars 6.33k forks source link

vue-cli-service build --dest /../sampleouput/public/front doesn't work #6599

Closed JenuelDev closed 3 years ago

JenuelDev commented 3 years ago

Version

4.5.13

Reproduction link

https://github.com/Bible-Projects/believers-sword-app

Environment info


  System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz   
  Binaries:
    Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.19.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1023.0), Chromium (91.0.864.71)  
  npmPackages:
    @css-render/vue3-ssr:  0.15.4
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1
    @vue/babel-helper-vue-transform-on:  1.0.2
    @vue/babel-plugin-jsx:  1.0.6
    @vue/babel-plugin-transform-vue-jsx:  1.2.1
    @vue/babel-preset-app:  4.5.13
    @vue/babel-preset-jsx:  1.2.4
    @vue/babel-sugar-composition-api-inject-h:  1.2.1        
    @vue/babel-sugar-composition-api-render-instance:  1.2.4 
    @vue/babel-sugar-functional-vue:  1.2.2
    @vue/babel-sugar-inject-h:  1.2.2
    @vue/babel-sugar-v-model:  1.2.3
    @vue/babel-sugar-v-on:  1.2.3
    @vue/cli-overlay:  4.5.13
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.13
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.13
    @vue/cli-plugin-pwa: ~4.5.0 => 4.5.13
    @vue/cli-plugin-router: ~4.5.0 => 4.5.13
    @vue/cli-plugin-typescript: ~4.5.0 => 4.5.13
    @vue/cli-plugin-vuex: ~4.5.0 => 4.5.13
    @vue/cli-service: ~4.5.0 => 4.5.13
    @vue/cli-shared-utils:  4.5.13
    @vue/compiler-core:  3.1.5
    @vue/compiler-dom:  3.1.5
    @vue/compiler-sfc: ^3.0.0 => 3.1.5
    @vue/compiler-ssr:  3.1.5
    @vue/component-compiler-utils:  3.2.2
    @vue/devtools-api:  6.0.0-beta.15
    @vue/eslint-config-prettier: ^6.0.0 => 6.0.0
    @vue/eslint-config-typescript: ^7.0.0 => 7.0.0
    @vue/preload-webpack-plugin:  1.1.2
    @vue/reactivity:  3.1.5
    @vue/runtime-core:  3.1.5
    @vue/runtime-dom:  3.1.5
    @vue/shared:  3.1.5
    @vue/web-component-wrapper:  1.3.0
    eslint-plugin-vue: ^7.0.0 => 7.13.0
    typescript: ~4.1.5 => 4.1.6
    vue: ^3.0.0 => 3.1.5
    vue-cli-plugin-electron-builder: ~2.1.1 => 2.1.1
    vue-eslint-parser:  7.8.0
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.9.7 (16.3.1)
    vue-router: ^4.0.0-0 => 4.0.10
    vue-style-loader:  4.1.3
    vue-template-es2015-compiler:  1.9.1
    vueuc:  0.4.9
    vuex: ^4.0.0-0 => 4.0.2
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

running

cross-env WEB=1 vue-cli-service build --dest /../sampleouput/public/front

does not work.. I would like to move the output from different directory

What is expected?

Their should be a new Folder called sampleoutput/public/front from cd ..

What is actually happening?

nothing is being outputed in cd ..

SharakPL commented 3 years ago

You have "sampleouput" instead of "sampleoutput". Also "/../” doesn't exist so no wonder you don't get anything. Try "../” or "./../” instead.

JenuelDev commented 3 years ago

it works now, thanks

JenuelDev commented 3 years ago

it works now, thanks