No - it seems it installed vue3 → I created a fresh sample app and everything looked fine, except of the error above :
{
"cwd": "/Users/andy/testing_vite/test_pwa",
"type": [
"pwa"
],
"name": "testpwa",
"framework": "vue",
"template": "tabs",
"bundler": "vite",
"cssPreProcessor": false,
"theming": {
"customColor": false,
"color": "#007aff",
"darkTheme": false,
"iconFonts": true,
"fillBars": false
},
"customBuild": false
}
running npm start
brought the error above…
package.json had this:
“dependencies”: {
“dom7”: “^3.0.0”,
“framework7”: “^6.3.2”,
“framework7-icons”: “^5.0.3”,
“framework7-vue”: “^6.3.2”,
“material-icons”: “^1.2.1”,
“skeleton-elements”: “^3.5.0”,
“swiper”: “^6.8.4”,
“vue”: “^3.2.11”
},
“devDependencies”: {
“@vitejs/plugin-vue”: “^1.6.0”,
“cpy-cli”: “^3.1.1”,
“cross-env”: “^7.0.3”,
“postcss-preset-env”: “^6.7.0”,
“vite”: “^2.5.3”,
“workbox-cli”: “^6.2.4”
}
}
After adding the command above, it worked:
"devDependencies": {
"@vitejs/plugin-vue": "^1.6.0",
"@vue/compiler-sfc": "^3.2.11",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"postcss-preset-env": "^6.7.0",
"vite": "^2.5.3",
"workbox-cli": "^6.2.4"
}
As I said - this was on a clean machine (basically only a current version of NodeJS installed).
But if nobody else ever reported that, maybe it was something else…