App extension with symbolic link in package.json throws error App Extension "generic-components-service" has missing index script... #17655
Labels
area/app-ext
bug/0-needs-info
Need more info to reproduce
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When running
quasar prepare
, an app extension that is linked via file:// in package.json throws exception that there is a missing index script.What did you expect to happen?
prepare would complete with success
Reproduction URL
n/a
How to reproduce?
Error thrown:
App •⚠️ App Extension "generic-components-service" has missing index script...
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
App Extension API
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
package.json:
`{
"name": "testwebclient",
"version": "0.0.1",
"description": "Test Web Client",
"productName": "Test Web Client",
"author": "[email protected]",
"type": "module",
"private": true,
"scripts": {
"lint": "eslint --ext .js,.ts,.vue ./",
"format": "prettier --write "**/*.{js,ts,vue,scss,html,md,json}" --ignore-path .gitignore",
"test": "echo "No test specified" && exit 0",
"dev": "quasar dev",
"build": "quasar build",
"postinstall": "quasar prepare"
},
,
"dependencies": {
"@quasar/extras": "^1.16.4",
"axios": "^1.2.1",
"pinia": "^2.0.11",
"quasar": "^2.16.0",
"vue": "^3.4.18",
"vue-i18n": "^9.2.2",
"vue-router": "^4.0.12"
},
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^2.0.0",
"@quasar/app-vite": "^2.0.0-rc.3",
"@quasar/quasar-app-extension-testing-unit-vitest": "^1.1.0",
"@types/node": "^20.5.9",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"autoprefixer": "^10.4.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.0.0",
"prettier": "^3.0.3",
"quasar-app-extension-generic-components-service": "file:../../Code/CommonLib/WebClientLib/quasar/app-extensions/generic-components-service",
"typescript": "~5.5.3",
"vite-plugin-checker": "^0.8.0",
"vitest": "^2.1.5",
"vue-tsc": "^2.0.29"
},
"engines": {
"node": "^24 || ^22 || ^20 || ^18",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"
}
}
quasar.extensions.json:
{"@quasar/testing-unit-vitest": {
"options": [
"ui"
]
},
"generic-components-service": {}
}
`
The text was updated successfully, but these errors were encountered: