Open pwkeyser opened 2 years ago
Could you solve the problem?
No, I was not able to.
I am also running into this error. Adding this with quasar ext add
does not work.
When I attempt to install this via bootfile, I get a types error on the Plugin
exported from this package.
$ quasar ext add @quasar/qactivity@next
I'm in the process of upgrading to quasar 2 from quasar 1. So far everything is going well, except I cannot use q-activity.
q-activity works fine under version 1, but I get a dependency error under quasar 2. I'm trying to use vite under version 2.
$ quasar ext add @quasar/qactivity App β’ Installing "@quasar/qactivity" Quasar App Extension
App β’ Installing @quasar/quasar-app-extension-qactivity... App β’ [sync] Running "yarn add --dev @quasar/quasar-app-extension-qactivity" in /Users/wouter/Progs/Web-Dev/sb_frontend_new
yarn add v1.22.17 [1/5] π Validating package.json... [2/5] π Resolving packages... [3/5] π Fetching packages... [4/5] π Linking dependencies... warning " > @intlify/vite-plugin-vue-i18n@3.4.0" has unmet peer dependency "vite@^2.0.0". warning "@quasar/app-vite > rollup-plugin-visualizer@5.6.0" has unmet peer dependency "rollup@^2.0.0". warning " > autoprefixer@10.4.7" has unmet peer dependency "postcss@^8.1.0". [5/5] π¨ Building fresh packages... success Saved lockfile. success Saved 1 new dependency. info Direct dependencies ββ @quasar/quasar-app-extension-qactivity@2.0.0 info All dependencies ββ @quasar/quasar-app-extension-qactivity@2.0.0 β¨ Done in 5.24s. App β’ Updating /quasar.extensions.json for "@quasar/qactivity" extension ... App β’ Quasar App Extension "@quasar/qactivity" successfully installed.
$ quasar dev
.d88888b. d88P" "Y88b 888 888 888 888 888 888 8888b. .d8888b 8888b. 888d888 888 888 888 888 "88b 88K "88b 888P" 888 Y8b 888 888 888 .d888888 "Y8888b. .d888888 888 Y88b.Y8b88P Y88b 888 888 888 X88 888 888 888 "Y888888" "Y88888 "Y888888 88888P' "Y888888 888 Y8b
App β’ Running "vuelidate-rules" Quasar App Extension... App β’ Running "@quasar/qoverlay" Quasar App Extension... App β’ Running "@quasar/qactivity" Quasar App Extension...
App β’ β οΈ Extension(@quasar/qactivity): Dependency not found - @quasar/app. Please install it.
If I try try to add @quasar/app, I get another error:
$ yarn add @quasar/app yarn add v1.22.17 [1/5] π Validating package.json... [2/5] π Resolving packages... warning @quasar/app > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility [3/5] π Fetching packages... [4/5] π Linking dependencies... warning " > @intlify/vite-plugin-vue-i18n@3.4.0" has unmet peer dependency "vite@^2.0.0". warning "@quasar/app-vite > rollup-plugin-visualizer@5.6.0" has unmet peer dependency "rollup@^2.0.0". warning " > autoprefixer@10.4.7" has unmet peer dependency "postcss@^8.1.0". [5/5] π¨ Building fresh packages... success Saved lockfile. success Saved 229 new dependencies. info Direct dependencies ββ @quasar/app@3.3.3 info All dependencies ββ @babel/highlight@7.18.6 ββ @babel/plugin-proposal-class-properties@7.18.6 ββ @babel/plugin-proposal-export-namespace-from@7.18.6 ββ @babel/plugin-proposal-json-strings@7.18.6 ββ @babel/plugin-proposal-numeric-separator@7.18.6 ββ @polka/url@1.0.0-next.21 ββ @quasar/app@3.3.3 ββ @quasar/babel-preset-app@2.0.1 ββ @quasar/fastclick@1.1.4 ββ @quasar/ssr-helpers@2.1.1 ββ @trysound/sax@0.2.0 ββ @types/bonjour@3.5.10 ββ @types/connect-history-api-fallback@1.3.5 ββ @types/eslint-scope@3.7.3 ββ @types/eslint@8.4.3 ββ @types/html-minifier-terser@6.1.0 ββ @types/http-proxy@1.17.9 ββ @types/retry@0.12.0 ββ @types/serve-index@1.9.1 ββ @types/sockjs@0.3.33 ββ @types/webpack-bundle-analyzer@4.4.1 ββ @types/ws@8.5.3 ββ @webassemblyjs/floating-point-hex-parser@1.11.1 ββ @webassemblyjs/helper-numbers@1.11.1 ββ @webassemblyjs/helper-wasm-section@1.11.1 ββ @webassemblyjs/wasm-edit@1.11.1 ββ @webassemblyjs/wasm-opt@1.11.1 ββ @webassemblyjs/wast-printer@1.11.1 ββ @xtuc/ieee754@1.2.0 ββ acorn-import-assertions@1.8.0 ββ acorn-walk@8.2.0 ββ aggregate-error@3.1.0 ββ ansi-html-community@0.0.8 ββ archiver@5.3.0 ββ array-union@3.0.1 ββ babel-plugin-module-resolver@4.1.0 ββ batch@0.6.1 ββ bonjour@3.5.0 ββ browserslist@4.21.1 ββ buffer-indexof@1.1.1 ββ caniuse-lite@1.0.30001361 ββ chrome-trace-event@1.0.3 ββ ci-info@3.3.0 ββ clean-stack@2.2.0 ββ commondir@1.0.1 ββ compression-webpack-plugin@9.2.0 ββ connect-history-api-fallback@1.6.0 ββ copy-webpack-plugin@10.2.4 ββ core-js@3.23.3 ββ cosmiconfig@6.0.0 ββ css-declaration-sorter@6.3.0 ββ css-loader@5.2.6 ββ css-minimizer-webpack-plugin@3.4.1 ββ css-tree@1.1.3 ββ css-what@6.1.0 ββ cssnano-preset-default@5.2.12 ββ cssnano@5.0.17 ββ csso@4.2.0 ββ deep-equal@1.1.1 ββ default-gateway@6.0.3 ββ del@6.1.1 ββ detect-node@2.1.0 ββ dns-equal@1.0.0 ββ dns-packet@1.3.4 ββ dns-txt@2.0.2 ββ dom-converter@0.2.0 ββ dom-serializer@1.4.1 ββ domutils@2.8.0 ββ dot-case@3.0.4 ββ duplexer@0.1.2 ββ electron-to-chromium@1.4.173 ββ enhanced-resolve@5.10.0 ββ errno@0.1.8 ββ error-ex@1.3.2 ββ error-stack-parser@2.0.6 ββ es-module-lexer@0.9.3 ββ eventemitter3@4.0.7 ββ events@3.3.0 ββ execa@5.1.1 ββ faye-websocket@0.11.4 ββ file-loader@6.2.0 ββ find-babel-config@1.2.0 ββ find-cache-dir@3.3.2 ββ find-up@5.0.0 ββ fork-ts-checker-webpack-plugin@6.5.0 ββ fs-monkey@1.0.3 ββ get-stream@6.0.1 ββ globby@12.2.0 ββ gzip-size@6.0.0 ββ handle-thing@2.0.1 ββ hash-sum@2.0.0 ββ hpack.js@2.1.6 ββ html-entities@2.3.3 ββ html-minifier-terser@6.1.0 ββ html-webpack-plugin@5.5.0 ββ htmlparser2@6.1.0 ββ http-deceiver@1.2.7 ββ http-parser-js@0.5.8 ββ http-proxy-middleware@2.0.6 ββ http-proxy@1.18.1 ββ human-signals@2.1.0 ββ indent-string@4.0.0 ββ inquirer@8.2.0 ββ ip@1.1.8 ββ is-arguments@1.1.1 ββ is-arrayish@0.2.1 ββ is-path-cwd@2.2.0 ββ is-path-inside@3.0.3 ββ is-plain-obj@3.0.0 ββ isbinaryfile@4.0.8 ββ javascript-stringify@2.1.0 ββ json-parse-even-better-errors@2.3.1 ββ klona@2.0.5 ββ launch-editor-middleware@2.3.0 ββ launch-editor@2.4.0 ββ lines-and-columns@1.2.4 ββ loader-runner@4.3.0 ββ locate-path@6.0.0 ββ lodash.memoize@4.1.2 ββ lodash.throttle@4.1.1 ββ lodash.uniq@4.5.0 ββ log-update@4.0.0 ββ make-dir@3.1.0 ββ mdn-data@2.0.14 ββ memfs@3.4.7 ββ memory-fs@0.5.0 ββ mini-css-extract-plugin@1.6.0 ββ minimalistic-assert@1.0.1 ββ mkdirp@0.5.6 ββ mrmime@1.0.1 ββ multicast-dns-service-types@1.1.0 ββ multicast-dns@6.2.3 ββ node-forge@1.3.1 ββ node-loader@2.0.0 ββ normalize-url@6.1.0 ββ npm-run-path@4.0.1 ββ null-loader@4.0.1 ββ object-is@1.1.5 ββ obuf@1.1.2 ββ opener@1.5.2 ββ ouch@2.0.0 ββ p-limit@2.3.0 ββ p-locate@5.0.0 ββ p-map@4.0.0 ββ p-retry@4.6.2 ββ p-try@2.2.0 ββ pascal-case@3.1.2 ββ pkg-dir@4.2.0 ββ pkg-up@3.1.0 ββ portfinder@1.0.28 ββ postcss-calc@8.2.4 ββ postcss-colormin@5.3.0 ββ postcss-convert-values@5.1.2 ββ postcss-discard-comments@5.1.2 ββ postcss-discard-duplicates@5.1.0 ββ postcss-discard-empty@5.1.1 ββ postcss-discard-overridden@5.1.0 ββ postcss-loader@6.2.1 ββ postcss-merge-longhand@5.1.6 ββ postcss-merge-rules@5.1.2 ββ postcss-minify-font-values@5.1.0 ββ postcss-minify-gradients@5.1.1 ββ postcss-minify-params@5.1.3 ββ postcss-minify-selectors@5.2.1 ββ postcss-modules-extract-imports@3.0.0 ββ postcss-modules-local-by-default@4.0.0 ββ postcss-modules-scope@3.0.0 ββ postcss-modules-values@4.0.0 ββ postcss-normalize-charset@5.1.0 ββ postcss-normalize-display-values@5.1.0 ββ postcss-normalize-positions@5.1.1 ββ postcss-normalize-repeat-style@5.1.1 ββ postcss-normalize-string@5.1.0 ββ postcss-normalize-timing-functions@5.1.0 ββ postcss-normalize-unicode@5.1.0 ββ postcss-normalize-url@5.1.0 ββ postcss-normalize-whitespace@5.1.1 ββ postcss-ordered-values@5.1.3 ββ postcss-reduce-initial@5.1.0 ββ postcss-reduce-transforms@5.1.0 ββ postcss-rtlcss@3.5.2 ββ postcss-svgo@5.1.0 ββ postcss-unique-selectors@5.1.1 ββ pretty-error@4.0.0 ββ prr@1.0.1 ββ renderkid@3.0.0 ββ requires-port@1.0.0 ββ reselect@4.1.6 ββ retry@0.13.1 ββ rtlcss@3.5.0 ββ sass-loader@12.4.0 ββ select-hose@2.0.0 ββ selfsigned@2.0.1 ββ serve-index@1.9.1 ββ shell-quote@1.7.3 ββ sirv@1.0.19 ββ sockjs@0.3.24 ββ source-list-map@2.0.1 ββ spdy-transport@3.0.0 ββ spdy@4.0.2 ββ stable@0.1.8 ββ stackframe@1.3.4 ββ statuses@1.5.0 ββ strip-final-newline@2.0.0 ββ stylehacks@5.1.0 ββ svgo@2.8.0 ββ terser-webpack-plugin@5.3.1 ββ thunky@1.1.0 ββ totalist@1.1.0 ββ ts-loader@9.2.6 ββ typescript@4.5.5 ββ update-browserslist-db@1.0.4 ββ url-loader@4.1.1 ββ utila@0.4.0 ββ uuid@8.3.2 ββ vue-loader@17.0.0 ββ vue-style-loader@4.1.3 ββ watchpack@2.4.0 ββ wbuf@1.7.3 ββ webpack-bundle-analyzer@4.5.0 ββ webpack-chain@6.5.1 ββ webpack-dev-middleware@5.3.3 ββ webpack-dev-server@4.7.4 ββ webpack-node-externals@3.0.0 ββ webpack-sources@1.4.3 ββ webpack@5.73.0 ββ websocket-driver@0.7.4 ββ websocket-extensions@0.1.4 ββ yocto-queue@0.1.0 β¨ Done in 25.28s.
$ quasar dev
App β’ β οΈ Error. This command must be executed inside a Quasar v1+ project folder.
I have to remove @quasar/app in order to run 'quasar info':
quasar info
Operating System - Darwin(21.5.0) - darwin/x64 NodeJs - 16.15.0
Global packages NPM - 8.5.5 yarn - 1.22.17 @quasar/cli - 1.3.2 @quasar/icongenie - 2.5.1 cordova - You have been opted out of telemetry. To change this, run: cordova telemetry on. 11.0.0
Important local packages quasar - 2.7.1 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time @quasar/app-vite - 1.0.1 -- Quasar Framework App CLI with Vite @quasar/extras - 1.14.0 -- Quasar Framework fonts, icons and animations eslint-plugin-quasar - 1.1.0 -- Official ESLint plugin for Quasar vue - 3.2.37 -- The progressive JavaScript framework for building modern web UI. vue-router - 4.0.16 pinia - 2.0.14 -- Intuitive, type safe and flexible Store for Vue vuex - 4.0.2 -- state management for Vue.js vite - 2.9.1 -- Native-ESM powered web dev build tool eslint - 8.17.0 -- An AST-based pattern checker for JavaScript. electron - Not installed electron-packager - Not installed electron-builder - Not installed register-service-worker - 1.7.2 -- Script for registering service worker, with hooks @capacitor/core - Not installed @capacitor/cli - Not installed @capacitor/android - Not installed @capacitor/ios - Not installed
Quasar App Extensions quasar-app-extension-vuelidate-rules - 0.5.1 -- Use Vuelidate methods as internal Quasar rules for validation @quasar/quasar-app-extension-qoverlay - 2.0.1 -- A Quasar App Extension @quasar/quasar-app-extension-qactivity - 2.0.0 -- QActivity is an app extension for Quasar for making an activity list
Networking Host - Keyser2.local en0 - 192.168.1.32 en3 - 192.168.1.84
(node:22126) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/wouter/Progs/Web-Dev/sb_frontend_new/node_modules/vuex/package.json. Update this package.json to use a subpath pattern like "./*". (Use
node --trace-deprecation ...
to show where the warning was created)$ npm list package.json@0.0.1 /Users/wouter/Progs/Web-Dev/sb_frontend_new βββ @intlify/vite-plugin-vue-i18n@3.4.0 βββ @quasar/app-vite@1.0.1 βββ @quasar/extras@1.14.0 βββ @quasar/quasar-app-extension-qactivity@2.0.0 βββ @quasar/quasar-app-extension-qoverlay@2.0.1 βββ @quasar/quasar-ui-qactivity@2.0.0 βββ @quasar/quasar-ui-qoverlay@2.0.1 βββ apexcharts@3.35.3 βββ autoprefixer@10.4.7 βββ axios@0.27.2 βββ cors@2.8.5 βββ eslint-config-prettier@8.5.0 βββ eslint-plugin-quasar@1.1.0 βββ eslint-plugin-vue@9.1.1 βββ eslint@8.17.0 βββ mqtt@4.3.7 βββ pinia@2.0.14 βββ prettier@2.7.0 βββ quasar-app-extension-vuelidate-rules@0.5.1 βββ quasar@2.7.1 βββ vue-i18n@9.1.10 βββ vue-router@4.0.16 βββ vue-screen-size@2.0.4 βββ vue@3.2.37 βββ vue3-apexcharts@1.4.1 βββ vuelidate@0.7.7 βββ vuex@4.0.2 βββ workbox-build@6.5.3 βββ workbox-cacheable-response@6.5.3 βββ workbox-core@6.5.3 βββ workbox-expiration@6.5.3 βββ workbox-precaching@6.5.3 βββ workbox-routing@6.5.3 βββ workbox-strategies@6.5.3 βββ workbox-window@6.5.3
Please can you help. I have searched for an answer, but so far I'm unable to resolve. Apologies if I have logged this incorrectly.