[Q2 Vite] TypeError: Cannot read properties of undefined (reading 'generateSW') #13860
Answered
by
ssuess
ssuess
asked this question in
CLI - PWA mode
-
Still trying to get vite to build, now I am stuck on this error:
my pwa section looks like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
ssuess
Jul 4, 2022
Replies: 1 comment
-
So, the conversion guide here left out a VERY important point: BEFORE copying your files over, run this command |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ssuess
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, the conversion guide here left out a VERY important point: BEFORE copying your files over, run this command
quasar mode add pwa
. Otherwise all the needed packages will not be added. Once I did that, my app built as expected. If you try that command AFTER you have copied yoursrc-pwa
folder, the cli will tell you it is already installed, which it most definitely is not.