vuejs / vue-cli

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

编译时出现Syntax Error: SyntaxError: Assigning to rvalue (1:1465)提示的代码是被合并成了1行的,不方便排查问题 #4164

Closed minzojian closed 5 years ago

minzojian commented 5 years ago

Version

3.8.4

Environment info

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.16.0 - D:\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-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.8.0
    @vue/babel-preset-jsx:  1.0.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.0.0
    @vue/cli: 3.8.4 => 3.8.4
    @vue/cli-overlay:  3.8.0
    @vue/cli-plugin-babel: ^3.4.0 => 3.8.0
    @vue/cli-service: ^3.4.0 => 3.8.4
    @vue/cli-shared-utils:  3.8.0
    @vue/cli-ui:  3.8.4
    @vue/cli-ui-addon-webpack:  3.8.4
    @vue/cli-ui-addon-widgets:  3.8.4
    @vue/component-compiler-utils:  2.6.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    typescript:  3.5.2
    vue: ^2.5.22 => 2.6.10
    vue-circle-menu: ^1.1.1 => 1.1.1
    vue-cli-plugin-apollo:  0.20.0
    vue-hot-reload-api:  2.3.3
    vue-loader:  15.7.0
    vue-router: ^3.0.1 => 3.0.6
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
    vuex: ^3.0.1 => 3.1.1
    vuex-persistedstate: ^2.5.4 => 2.5.4

Steps to reproduce

就是正常的vue-clie-service serve 我知道错误出现的可能原因,但是因为报错没有提示明确哪一行上,加之我的VUE文件太大了,非常不方便排除问题.

What is expected?

希望能显示出具体是源代码vue文件的哪一行出现的问题

What is actually happening?

看起来象是显示的是合并成1行后的文件的报错位置

haoqunjiang commented 5 years ago

正常来说应该有 source map 的,麻烦提供一下复现代码

vue-bot commented 5 years ago

Hello! This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues requiring feedback after 20 days of inactivity. It’s been at least 10 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. (A maintainer can also add the label not stale to keep this issue open.)

Thanks for being a part of the Vue community! 💪💚️

vue-bot commented 5 years ago

Hey again! 😸️

It’s been 20 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. 🤖 Please feel free to reopen this issue or create a new one if you need anything else.

Thanks again for being part of the Vue community! 💚️