Issues compiling properly for debugging #9929
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
try this: // vue.config.js
module.exports = {
configureWebpack: {
devtool: 'source-map'
}
} BTW, we recommend using https://github.com/vuejs/create-vue instead of vue-cli |
Beta Was this translation helpful? Give feedback.
-
@edison1105 ...odd... that worked. I'm very perplexed as to the why because if I use the exact same project with literally no other changes - so far three other machines - it works just fine on all three. Only on my new machine do I need to add that to the Is there some sort of global settings these other machines may have set that the new one does not? I realize this seems to fix the issue but I'd love to get to the bottom and answer why. Update that worked for a new template project but fails when I try to do the same in an existing project. I'm now trying to diff what is different between the two projects. So far the versions are very close for Update 2: I dug through the webpack configuration which was customized and updated our
to this:
Which fixed it there as well. Was |
Beta Was this translation helpful? Give feedback.
-
Why are you starting a brand new Webpack + Vue2 project nowadays? It will be End of Life at the end of this week. |
Beta Was this translation helpful? Give feedback.
-
I wanted it to be tit-for-tat with the legacy application I’m supporting which is still on Vue2. We could get into why that project uses Vue2 still but it would be better suited for another forum or private discussion (tldr: dependencies that do not support anything more than Vue2, it’s a work in progress). Do you have any idea why this could occur on one machine but not another? |
Beta Was this translation helpful? Give feedback.
try this:
BTW, we recommend using https://github.com/vuejs/create-vue instead of vue-cli