Open
Description
Version
4.0.5
Reproduction link
Repository and in particular, this line
Environment info
Environment Info:
System:
OS: macOS Mojave 10.14.6
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Binaries:
Node: 10.14.2 - /usr/local/bin/node
Yarn: Not Found
npm: 6.4.1 - /usr/local/bin/npm
Browsers:
Chrome: 78.0.3904.70
Firefox: Not Found
Safari: 13.0.3
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.0.0
@vue/babel-preset-app: 4.0.5
@vue/babel-preset-jsx: 1.1.1
@vue/babel-sugar-functional-vue: 1.0.0
@vue/babel-sugar-inject-h: 1.0.0
@vue/babel-sugar-v-model: 1.1.1
@vue/babel-sugar-v-on: 1.1.0
@vue/cli-overlay: 4.0.5
@vue/cli-plugin-babel: ^4.0.5 => 4.0.5
@vue/cli-plugin-eslint: ^4.0.5 => 4.0.5
@vue/cli-plugin-router: 4.0.5
@vue/cli-plugin-unit-jest: ^4.0.5 => 4.0.5
@vue/cli-plugin-vuex: 4.0.5
@vue/cli-service: ^4.0.5 => 4.0.5
@vue/cli-shared-utils: 4.0.5
@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
babel-helper-vue-jsx-merge-props: 2.0.3
eslint-plugin-vue: ^5.0.0-0 => 5.2.2
jest-serializer-vue: 2.0.2
jest-vue-matcher: ^1.1.0 => 1.1.0
svg-to-vue: 0.4.0
typescript: 3.6.4
vue: ^2.6.10 => 2.6.10
vue-class-component: 6.3.2 (7.1.0)
vue-cli-plugin-styleguidist: ^3.26.2 => 3.26.2
vue-code-highlight: ^0.7.1 => 0.7.1
vue-docgen-api: 3.26.0
vue-eslint-parser: undefined (5.0.0)
vue-hot-reload-api: 2.3.3
vue-i18n: ^8.11.2 => 8.11.2
vue-i18n-loader: ^1.0.0 => 1.0.0
vue-inbrowser-compiler: 3.23.0
vue-jest: ^3.0.3 => 3.0.4 (3.0.5)
vue-loader: 15.7.1
vue-observe-visibility: ^0.4.4 => 0.4.4
vue-property-decorator: ^7.2.0 => 7.3.0
vue-resize-directive: ^1.2.0 => 1.2.0
vue-scrollto: ^2.15.0 => 2.15.0
vue-style-loader: 4.1.2
vue-styled-components: 1.4.5 => 1.4.5
vue-styleguidist: 3.26.2
vue-svg-loader: ^0.12.0 => 0.12.0
vue-template-compiler: ^2.6.10 => 2.6.10
vue-template-es2015-compiler: 1.6.0 (1.9.1)
vueify: ^9.4.1 => 9.4.1
vuex: ^3.1.1 => 3.1.1
vuex-pathify: ^1.4.0 => 1.4.0
npmGlobalPackages:
@vue/cli: 4.0.5
Steps to reproduce
- Run
vue ui
from the CLI, open it in Chrome - Go to Tasks
- Click on "build"
- Click Run Task
- Open the ouptut tab
What is expected?
The task succeeds in the VueCLI UI like it does when I run npm run build
What is actually happening?
An error. The task fails. When I remove the NODE_OPTIONS
from the build command, the task succeeds.
Error Output:
$ undefinedNODE_OPTIONS="--max_old_space_size=4096 vue-cli-service build --mode production --dest dist --target app --dashboard
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
Total task duration: 0.01s