[Upgrading Issue] Can someone help me to look the error in Webpack?
bepitulaz opened this issue · comments
Before adding more features for the next version, I update all JS dependencies. I upgraded Babel 7, Vue 2, and Webpack 4. But, I don't understand why Webpack always fails to build the source code. Can someone help me? This is my PR #32
I'm not good at doing front-end.
Thank you, @resir014. I will test your works on my laptop. Hopefully, it can be built now.
@resir014 I've tested locally. It compiled successfully, but I notice there's still an error related to pug-loader
.
You can reproduce it by running yarn run unit
or npm run unit
. The template is also not completely rendered on the browser (the header and the sidebar are missing.)
@bepitulaz Yeah, as I said there's still some problems loading lazy components 😅 Still figuring out why. Will look into it later today.
Oh, that's what you mean about lazy components :D Okay, take your time.
I'm fetching your update. How to reproduce the package import issue?
Ok, I got that error too. yarn run unit
and yarn run dev
is successfully executed.
@bepitulaz Yeah, that's what I'm still struggling with.
I just got home so I could only respond to your message now, but all I did was running yarn unit
, yarn dev
, then testing it inside the Go app with go build
and running the compiled binary.
@resir014, since our main issue to upgrade dependencies, is solved. I think better if I disable the Vue lazy load for this moment. Because we also want to modify and add some features to the Vue template itself.
It works after I disable it. I will merge your PR ;)
@bepitulaz Awesome. Thanks for your help!
@resir014 Big thanks for you! Awesome works!