- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.3k
 
Closed
Description
Version
3.2.1
Reproduction link
https://github.com/richex-cn/vue-cli-demo/commit/8be83a87cfeac1b16f3fe39ca3e570c21ac7aa27
Environment info
System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
  Binaries:
    Node: Not Found
    Yarn: 1.10.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
  npmPackages:
    @vue/babel-preset-app:  3.2.0
    @vue/cli-overlay:  3.2.0
    @vue/cli-plugin-babel: ^3.2.0 => 3.2.0
    @vue/cli-plugin-eslint: ^3.2.0 => 3.2.1
    @vue/cli-service: ^3.2.0 => 3.2.0
    @vue/cli-shared-utils:  3.2.0
    @vue/component-compiler-utils:  2.3.1
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    babel-plugin-transform-vue-jsx:  4.0.1
    eslint-plugin-vue: ^5.0.0-0 => 5.0.0
    vue: ^2.5.17 => 2.5.21
    vue-eslint-parser:  4.0.3
    vue-hot-reload-api:  2.3.1
    vue-loader:  15.4.2
    vue-router: ^3.0.1 => 3.0.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.17 => 2.5.21
    vue-template-es2015-compiler:  1.6.0
  npmGlobalPackages:
    @vue/cli: Not Found
Steps to reproduce
Run yarn serve after:
 ERROR  Failed to compile with 2 errors                                                                         10:49:42
 error
Template execution failed: ReferenceError: BASE_URL is not defined
  ReferenceError: BASE_URL is not defined
  - index.html:4 eval
    [.]/[html-webpack-plugin]/lib/loader.js!./public/index.html:4:11
  - index.html:9 module.exports
    [.]/[html-webpack-plugin]/lib/loader.js!./public/index.html:9:3
  - index.js:284 Promise.resolve.then
    [vue_cli_demo]/[html-webpack-plugin]/index.js:284:18
What is expected?
Good running.
What is actually happening?
Couldn't run serve.
see this github repositories: https://github.com/richex-cn/vue-cli-demo/commit/8be83a87cfeac1b16f3fe39ca3e570c21ac7aa27
Metadata
Metadata
Assignees
Labels
No labels