Open bizmarker opened 1 day ago
Hi @bizmarker! 👋
It looks like you provided an invalid or unsupported reproduction URL. Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub. Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc. Please edit your original post above and provide a valid reproduction URL as explained.
Without a proper reproduction, your issue will have to get closed.
Thank you for your collaboration. 👏
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": "test@test.com", "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": {} } `