Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation no longer works due to failing object.assign dependency #15044

Closed
geoidesic opened this issue Dec 2, 2022 · 13 comments
Closed

Installation no longer works due to failing object.assign dependency #15044

geoidesic opened this issue Dec 2, 2022 · 13 comments
Labels
area/cli bug/1-repro-available A reproduction is available and needs to be confirmed. kind/bug 🐞 Qv1

Comments

@geoidesic
Copy link
Contributor

What happened?

Installation of quasar v1 no longer works via yarn nor npm, nor via the quasar cli.

% yarn add -D @quasar/app@2
yarn add v1.22.19
[1/5]   Validating package.json...
[2/5]   Resolving packages...
...
[3/5]   Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz: incorrect data check".
info If you think this is a bug, please open a bug report with the information provided in "/Users/noeldacosta/repo/gitlab/netbuilder/common/utils-quasar/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

What did you expect to happen?

Should install without dependency failures.

Reproduction URL

https://codesandbox.io/s/github/quasarframework/quasar-codesandbox/tree/legacy-v1

How to reproduce?

yarn add -D @quasar/app@2

Flavour

Quasar CLI (@quasar/cli | @quasar/app)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app)

Platforms/Browsers

Other

Quasar info output

`quasar info` --- command not found.

Relevant log output

No response

Additional context

A reproduction URL is not relevant to installation related problems. I've pasted in the basic template because this form insists on a URL.

@github-actions github-actions bot added area/cli bug/1-repro-available A reproduction is available and needs to be confirmed. labels Dec 2, 2022
@yusufkandemir
Copy link
Member

yusufkandemir commented Dec 3, 2022

I can't reproduce the problem. It works fine, the CodeSandbox template works fine as well. Creating a completely empty folder and running yarn add -D @quasar/app@2 works fine as well.

Try cleaning the yarn/npm cache (yarn cache clean).

@yusufkandemir yusufkandemir closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2022
@geoidesic
Copy link
Contributor Author

Nope. After clearing the cache I still cannot install quasar

@geoidesic
Copy link
Contributor Author

Note that this is using node v 12

@yusufkandemir
Copy link
Member

As I said, I can't reproduce it, there must be something wrong with your setup.

$ node -v
v12.22.12

$ mkdir test # create an empty folder in somewhere outside the project

$ cd test

$ yarn add -D @quasar/app@2
yarn add v1.22.19
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning @quasar/app > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning @quasar/app > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @quasar/app > @types/electron-packager > electron-notarize@0.1.1: Please use @electron/notarize moving forward.  There is no API change, just a package name change
warning @quasar/app > @types/electron-packager > electron-osx-sign@0.4.17: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
warning @quasar/app > copy-webpack-plugin > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
warning @quasar/app > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning @quasar/app > webpack-dev-server > webpack-log > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @quasar/app > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @quasar/app > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @quasar/app > stylus > css-parse > css > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @quasar/app > cssnano > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning @quasar/app > stylus > css-parse > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @quasar/app > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @quasar/app > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @quasar/app > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
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
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
success Saved 759 new dependencies.
info Direct dependencies
└─ @quasar/app@2.4.3
info All dependencies
├─ @ampproject/remapping@2.2.0
├─ @babel/core@7.20.5
├─ @babel/helper-builder-binary-assignment-operator-visitor@7.18.9
├─ @babel/helper-compilation-targets@7.20.0
├─ @babel/helper-explode-assignable-expression@7.18.6
├─ @babel/helper-plugin-utils@7.20.2
├─ @babel/helper-remap-async-to-generator@7.18.9
├─ @babel/helper-replace-supers@7.19.1
├─ @babel/helper-simple-access@7.20.2
├─ @babel/helper-string-parser@7.19.4
├─ @babel/helper-wrap-function@7.20.5
├─ @babel/helpers@7.20.6
├─ @babel/highlight@7.18.6
├─ @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6
├─ @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.18.9
├─ @babel/plugin-proposal-async-generator-functions@7.20.1
├─ @babel/plugin-proposal-class-properties@7.18.6
├─ @babel/plugin-proposal-class-static-block@7.18.6
├─ @babel/plugin-proposal-decorators@7.20.5
├─ @babel/plugin-proposal-dynamic-import@7.18.6
├─ @babel/plugin-proposal-export-namespace-from@7.18.9
├─ @babel/plugin-proposal-function-sent@7.18.6
├─ @babel/plugin-proposal-json-strings@7.18.6
├─ @babel/plugin-proposal-logical-assignment-operators@7.18.9
├─ @babel/plugin-proposal-nullish-coalescing-operator@7.18.6
├─ @babel/plugin-proposal-numeric-separator@7.18.6
├─ @babel/plugin-proposal-object-rest-spread@7.20.2
├─ @babel/plugin-proposal-optional-catch-binding@7.18.6
├─ @babel/plugin-proposal-private-methods@7.18.6
├─ @babel/plugin-proposal-private-property-in-object@7.20.5
├─ @babel/plugin-proposal-throw-expressions@7.18.6
├─ @babel/plugin-proposal-unicode-property-regex@7.18.6
├─ @babel/plugin-syntax-class-properties@7.12.13
├─ @babel/plugin-syntax-decorators@7.19.0
├─ @babel/plugin-syntax-function-sent@7.18.6
├─ @babel/plugin-syntax-import-assertions@7.20.0
├─ @babel/plugin-syntax-import-meta@7.10.4
├─ @babel/plugin-syntax-throw-expressions@7.18.6
├─ @babel/plugin-syntax-top-level-await@7.14.5
├─ @babel/plugin-transform-arrow-functions@7.18.6
├─ @babel/plugin-transform-async-to-generator@7.18.6
├─ @babel/plugin-transform-block-scoped-functions@7.18.6
├─ @babel/plugin-transform-block-scoping@7.20.5
├─ @babel/plugin-transform-classes@7.20.2
├─ @babel/plugin-transform-computed-properties@7.18.9
├─ @babel/plugin-transform-destructuring@7.20.2
├─ @babel/plugin-transform-dotall-regex@7.18.6
├─ @babel/plugin-transform-duplicate-keys@7.18.9
├─ @babel/plugin-transform-exponentiation-operator@7.18.6
├─ @babel/plugin-transform-for-of@7.18.8
├─ @babel/plugin-transform-function-name@7.18.9
├─ @babel/plugin-transform-literals@7.18.9
├─ @babel/plugin-transform-member-expression-literals@7.18.6
├─ @babel/plugin-transform-modules-amd@7.19.6
├─ @babel/plugin-transform-modules-commonjs@7.19.6
├─ @babel/plugin-transform-modules-systemjs@7.19.6
├─ @babel/plugin-transform-modules-umd@7.18.6
├─ @babel/plugin-transform-named-capturing-groups-regex@7.20.5
├─ @babel/plugin-transform-new-target@7.18.6
├─ @babel/plugin-transform-object-super@7.18.6
├─ @babel/plugin-transform-property-literals@7.18.6
├─ @babel/plugin-transform-regenerator@7.20.5
├─ @babel/plugin-transform-reserved-words@7.18.6
├─ @babel/plugin-transform-runtime@7.19.6
├─ @babel/plugin-transform-shorthand-properties@7.18.6
├─ @babel/plugin-transform-spread@7.19.0
├─ @babel/plugin-transform-sticky-regex@7.18.6
├─ @babel/plugin-transform-template-literals@7.18.9
├─ @babel/plugin-transform-typeof-symbol@7.18.9
├─ @babel/plugin-transform-unicode-escapes@7.18.10
├─ @babel/plugin-transform-unicode-regex@7.18.6
├─ @babel/preset-env@7.20.2
├─ @babel/preset-modules@0.1.5
├─ @babel/runtime@7.20.6
├─ @electron/get@1.14.1
├─ @gar/promisify@1.1.3
├─ @jridgewell/gen-mapping@0.3.2
├─ @jridgewell/resolve-uri@3.1.0
├─ @jridgewell/set-array@1.1.2
├─ @jridgewell/source-map@0.3.2
├─ @jridgewell/sourcemap-codec@1.4.14
├─ @nodelib/fs.scandir@2.1.5
├─ @nodelib/fs.stat@2.0.5
├─ @npmcli/fs@1.1.1
├─ @npmcli/move-file@1.1.2
├─ @polka/url@1.0.0-next.21
├─ @positron/stack-trace@1.0.0
├─ @quasar/app@2.4.3
├─ @quasar/babel-preset-app@2.0.1
├─ @quasar/fastclick@1.1.5
├─ @sindresorhus/is@0.14.0
├─ @szmarczak/http-timer@1.1.2
├─ @types/body-parser@1.19.2
├─ @types/connect-history-api-fallback@1.3.5
├─ @types/connect@3.4.35
├─ @types/cordova@0.0.34
├─ @types/electron-packager@14.0.0
├─ @types/express-serve-static-core@4.17.31
├─ @types/express@4.17.14
├─ @types/glob@7.2.0
├─ @types/html-minifier-terser@5.1.2
├─ @types/http-proxy@1.17.9
├─ @types/json-schema@7.0.11
├─ @types/lru-cache@5.1.1
├─ @types/mime@3.0.1
├─ @types/minimatch@5.1.2
├─ @types/parse-json@4.0.0
├─ @types/q@1.5.5
├─ @types/range-parser@1.2.4
├─ @types/source-list-map@0.1.2
├─ @types/tapable@1.0.8
├─ @types/terser-webpack-plugin@4.2.2
├─ @types/uglify-js@3.17.1
├─ @types/webpack-bundle-analyzer@3.9.5
├─ @types/webpack-dev-server@3.11.6
├─ @types/webpack-sources@3.2.0
├─ @vue/compiler-sfc@2.7.14
├─ @vue/component-compiler-utils@3.3.0
├─ @webassemblyjs/floating-point-hex-parser@1.9.0
├─ @webassemblyjs/helper-code-frame@1.9.0
├─ @webassemblyjs/helper-fsm@1.9.0
├─ @webassemblyjs/helper-wasm-section@1.9.0
├─ @webassemblyjs/wasm-edit@1.9.0
├─ @webassemblyjs/wasm-opt@1.9.0
├─ @xtuc/ieee754@1.2.0
├─ accepts@1.3.8
├─ acorn-walk@8.2.0
├─ acorn@8.8.1
├─ aggregate-error@3.1.0
├─ ajv-errors@1.0.1
├─ ajv-keywords@3.5.2
├─ ajv@6.12.6
├─ ansi-colors@3.2.4
├─ ansi-escapes@4.3.2
├─ ansi-html-community@0.0.8
├─ anymatch@3.1.3
├─ archiver@5.3.1
├─ argparse@1.0.10
├─ arr-flatten@1.1.0
├─ array-union@2.1.0
├─ array-uniq@1.0.3
├─ array.prototype.reduce@1.0.5
├─ asn1.js@5.4.1
├─ assert@1.5.0
├─ assign-symbols@1.0.0
├─ astral-regex@2.0.0
├─ async-each@1.0.3
├─ async-limiter@1.0.1
├─ atob@2.1.2
├─ autoprefixer@9.8.6
├─ babel-loader@8.3.0
├─ babel-plugin-dynamic-import-node@2.3.3
├─ babel-plugin-module-resolver@4.1.0
├─ base@0.11.2
├─ base64-js@1.5.1
├─ batch@0.6.1
├─ binary-extensions@2.2.0
├─ bindings@1.5.0
├─ bl@4.1.0
├─ bluebird@3.7.2
├─ body-parser@1.19.2
├─ bonjour@3.5.0
├─ boolbase@1.0.0
├─ brace-expansion@1.1.11
├─ braces@2.3.2
├─ brorand@1.1.0
├─ browserify-aes@1.2.0
├─ browserify-cipher@1.0.1
├─ browserify-des@1.0.2
├─ browserify-rsa@4.1.0
├─ browserify-sign@4.2.1
├─ browserify-zlib@0.2.0
├─ buffer-alloc-unsafe@1.1.0
├─ buffer-alloc@1.2.0
├─ buffer-crc32@0.2.13
├─ buffer-fill@1.0.0
├─ buffer-indexof@1.1.1
├─ buffer-xor@1.0.3
├─ buffer@4.9.2
├─ builtin-status-codes@3.0.0
├─ cache-base@1.0.1
├─ cacheable-request@6.1.0
├─ caller-callsite@2.0.0
├─ caller-path@2.0.0
├─ callsites@2.0.0
├─ camel-case@3.0.0
├─ camelcase@5.3.1
├─ caniuse-lite@1.0.30001436
├─ chardet@0.7.0
├─ chokidar@3.5.3
├─ chrome-trace-event@1.0.3
├─ ci-info@2.0.0
├─ cipher-base@1.0.4
├─ class-utils@0.3.6
├─ clean-css@4.2.4
├─ clean-stack@2.2.0
├─ cli-width@3.0.0
├─ cliui@5.0.0
├─ clone-response@1.0.3
├─ coa@2.0.2
├─ collection-visit@1.0.0
├─ color-convert@1.9.3
├─ color-name@1.1.4
├─ color-string@1.9.1
├─ color@3.2.1
├─ colorette@1.4.0
├─ compare-version@0.1.2
├─ compress-commons@4.1.1
├─ compressible@2.0.18
├─ compression-webpack-plugin@5.0.1
├─ compression@1.7.4
├─ concat-map@0.0.1
├─ concat-stream@1.6.2
├─ config-chain@1.1.13
├─ connect-history-api-fallback@1.6.0
├─ console-browserify@1.2.0
├─ consolidate@0.15.1
├─ constants-browserify@1.0.0
├─ convert-source-map@1.9.0
├─ cookie@0.4.2
├─ copy-concurrently@1.0.5
├─ copy-descriptor@0.1.1
├─ copy-webpack-plugin@6.3.2
├─ core-js@3.26.1
├─ core-util-is@1.0.3
├─ crc-32@1.2.2
├─ crc32-stream@4.0.2
├─ create-ecdh@4.0.4
├─ create-hmac@1.1.7
├─ cross-spawn@7.0.3
├─ crypto-browserify@3.12.0
├─ css-color-names@0.0.4
├─ css-declaration-sorter@4.0.1
├─ css-loader@3.6.0
├─ css-parse@2.0.0
├─ css-select-base-adapter@0.1.1
├─ css-select@4.3.0
├─ css-tree@1.0.0-alpha.37
├─ css-what@6.1.0
├─ css@2.2.4
├─ cssnano-preset-default@4.0.8
├─ cssnano-util-raw-cache@4.0.1
├─ cssnano-util-same-parent@4.0.1
├─ cssnano@4.1.10
├─ csstype@3.1.1
├─ cyclist@1.0.1
├─ de-indent@1.0.2
├─ debug@2.6.9
├─ decamelize@1.2.0
├─ decode-uri-component@0.2.2
├─ decompress-response@3.3.0
├─ deep-equal@1.1.1
├─ deepmerge@1.5.2
├─ default-gateway@4.2.0
├─ defer-to-connect@1.1.3
├─ define-properties@1.1.4
├─ del@4.1.1
├─ des.js@1.0.1
├─ detect-node@2.1.0
├─ diffie-hellman@5.0.3
├─ dir-glob@3.0.1
├─ 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
├─ domain-browser@1.2.0
├─ domutils@2.8.0
├─ dot-case@3.0.4
├─ dot-prop@5.3.0
├─ duplexer@0.1.2
├─ duplexify@3.7.1
├─ ejs@3.1.8
├─ electron-notarize@0.1.1
├─ electron-osx-sign@0.4.17
├─ electron-to-chromium@1.4.284
├─ elementtree@0.1.7
├─ emoji-regex@7.0.3
├─ encodeurl@1.0.2
├─ enhanced-resolve@4.5.0
├─ env-paths@2.2.1
├─ errno@0.1.8
├─ error-stack-parser@2.1.4
├─ es-array-method-boxes-properly@1.0.0
├─ es-to-primitive@1.2.1
├─ es6-error@4.1.1
├─ escalade@3.1.1
├─ eslint-scope@4.0.3
├─ esprima@4.0.1
├─ esrecurse@4.3.0
├─ estraverse@4.3.0
├─ esutils@2.0.3
├─ eventemitter3@4.0.7
├─ events@3.3.0
├─ eventsource@2.0.2
├─ execa@1.0.0
├─ expand-brackets@2.1.4
├─ express@4.17.3
├─ external-editor@3.1.0
├─ extglob@2.0.4
├─ fast-glob@3.2.12
├─ fast-json-stable-stringify@2.1.0
├─ fastq@1.14.0
├─ faye-websocket@0.11.4
├─ figures@3.2.0
├─ file-loader@6.2.0
├─ file-uri-to-path@1.0.0
├─ filelist@1.0.4
├─ filesize@3.6.1
├─ fill-range@4.0.0
├─ finalhandler@1.1.2
├─ find-babel-config@1.2.0
├─ findup@0.1.5
├─ flush-write-stream@1.1.1
├─ follow-redirects@1.15.2
├─ for-in@1.0.2
├─ fork-ts-checker-webpack-plugin@6.5.2
├─ forwarded@0.2.0
├─ friendly-errors-webpack-plugin@1.7.0
├─ from2@2.3.0
├─ fs-constants@1.0.0
├─ fs-extra@8.1.0
├─ fs-monkey@1.0.3
├─ fs.realpath@1.0.0
├─ fsevents@2.3.2
├─ function.prototype.name@1.1.5
├─ gensync@1.0.0-beta.2
├─ get-caller-file@2.0.5
├─ get-stream@4.1.0
├─ get-symbol-description@1.0.0
├─ get-value@2.0.6
├─ global-agent@3.0.0
├─ global-tunnel-ng@2.7.1
├─ globalthis@1.0.3
├─ globby@11.1.0
├─ got@9.6.0
├─ gzip-size@6.0.0
├─ handle-thing@2.0.1
├─ has-ansi@2.0.0
├─ has-bigints@1.0.2
├─ has-value@1.0.0
├─ hash.js@1.1.7
├─ hex-color-regex@1.1.0
├─ hmac-drbg@1.0.1
├─ hpack.js@2.1.6
├─ hsl-regex@1.0.0
├─ hsla-regex@1.0.0
├─ html-entities@1.4.0
├─ html-minifier-terser@5.1.1
├─ html-minifier@4.0.0
├─ html-webpack-plugin@4.5.0
├─ htmlparser2@6.1.0
├─ http-cache-semantics@4.1.0
├─ http-deceiver@1.2.7
├─ http-parser-js@0.5.8
├─ http-proxy-middleware@0.19.1
├─ http-proxy@1.18.1
├─ https-browserify@1.0.0
├─ ieee754@1.2.1
├─ ignore@5.2.1
├─ import-cwd@2.1.0
├─ import-fresh@2.0.0
├─ import-from@2.1.0
├─ import-local@2.0.0
├─ indent-string@4.0.0
├─ indexes-of@1.0.1
├─ infer-owner@1.0.4
├─ inflight@1.0.6
├─ ini@1.3.8
├─ inquirer@7.3.3
├─ internal-ip@4.3.0
├─ internal-slot@1.0.3
├─ ip-regex@2.1.0
├─ ip@1.1.8
├─ ipaddr.js@1.9.1
├─ is-absolute-url@3.0.3
├─ is-accessor-descriptor@1.0.0
├─ is-arguments@1.1.1
├─ is-arrayish@0.2.1
├─ is-bigint@1.0.4
├─ is-binary-path@2.1.0
├─ is-boolean-object@1.1.2
├─ is-callable@1.2.7
├─ is-color-stop@1.1.0
├─ is-core-module@2.11.0
├─ is-data-descriptor@1.0.0
├─ is-descriptor@1.0.2
├─ is-directory@0.3.1
├─ is-extglob@2.1.1
├─ is-negative-zero@2.0.2
├─ is-number-object@1.0.7
├─ is-obj@2.0.0
├─ is-path-cwd@2.2.0
├─ is-path-in-cwd@2.1.0
├─ is-path-inside@2.1.0
├─ is-plain-obj@3.0.0
├─ is-plain-object@2.0.4
├─ is-shared-array-buffer@1.0.2
├─ is-stream@1.1.0
├─ is-string@1.0.7
├─ is-symbol@1.0.4
├─ is-weakref@1.0.2
├─ is-windows@1.0.2
├─ isarray@1.0.0
├─ isbinaryfile@4.0.8
├─ jake@10.8.5
├─ javascript-stringify@2.1.0
├─ jest-worker@26.6.2
├─ js-tokens@4.0.0
├─ jsesc@2.5.2
├─ json-buffer@3.0.0
├─ json-parse-better-errors@1.0.2
├─ json-parse-even-better-errors@2.3.1
├─ json-schema-traverse@0.4.1
├─ json-stringify-safe@5.0.1
├─ json5@2.2.1
├─ keyv@3.1.0
├─ killable@1.0.1
├─ kind-of@3.2.2
├─ klona@2.0.5
├─ last-call-webpack-plugin@3.0.0
├─ launch-editor-middleware@2.3.0
├─ launch-editor@2.6.0
├─ lazystream@1.0.1
├─ lines-and-columns@1.2.4
├─ loader-runner@2.4.0
├─ locate-path@3.0.0
├─ lodash.clonedeep@4.5.0
├─ lodash.debounce@4.0.8
├─ lodash.defaults@4.2.0
├─ lodash.difference@4.5.0
├─ lodash.flatten@4.4.0
├─ lodash.isplainobject@4.0.6
├─ lodash.memoize@4.1.2
├─ lodash.template@4.5.0
├─ lodash.templatesettings@4.2.0
├─ lodash.throttle@4.1.1
├─ lodash.truncate@4.4.2
├─ lodash.union@4.6.0
├─ lodash@4.17.21
├─ log-update@4.0.0
├─ loglevel@1.8.1
├─ lower-case@1.1.4
├─ lowercase-keys@1.0.1
├─ make-dir@3.1.0
├─ map-visit@1.0.0
├─ matcher@3.0.0
├─ mdn-data@2.0.4
├─ media-typer@0.3.0
├─ memfs@3.4.12
├─ merge-source-map@1.1.0
├─ merge-stream@2.0.0
├─ merge2@1.4.1
├─ miller-rabin@4.0.1
├─ mime-db@1.52.0
├─ mime-types@2.1.35
├─ mimic-fn@2.1.0
├─ mini-css-extract-plugin@0.11.2
├─ minipass-collect@1.0.2
├─ minipass-flush@1.0.5
├─ minipass-pipeline@1.2.4
├─ minizlib@2.1.2
├─ mississippi@3.0.0
├─ mixin-deep@1.3.2
├─ mkdirp@0.5.6
├─ moment@2.29.4
├─ move-concurrently@1.0.1
├─ mrmime@1.0.1
├─ multicast-dns-service-types@1.1.0
├─ multicast-dns@6.2.3
├─ mute-stream@0.0.8
├─ nan@2.17.0
├─ nanoid@3.3.4
├─ nanomatch@1.2.13
├─ negotiator@0.6.3
├─ neo-async@2.6.2
├─ nice-try@1.0.5
├─ node-forge@0.10.0
├─ node-libs-browser@2.2.1
├─ node-loader@1.0.2
├─ node-releases@2.0.6
├─ normalize-range@0.1.2
├─ normalize-url@1.9.1
├─ npm-conf@1.1.3
├─ npm-run-path@2.0.2
├─ nth-check@2.1.1
├─ num2fraction@1.2.2
├─ object-assign@4.1.1
├─ object-copy@0.1.0
├─ object-inspect@1.12.2
├─ object-is@1.1.5
├─ object.assign@4.1.4
├─ object.getownpropertydescriptors@2.1.5
├─ object.values@1.1.6
├─ obuf@1.1.2
├─ on-headers@1.0.2
├─ onetime@5.1.2
├─ open@7.1.0
├─ opener@1.5.2
├─ opn@5.5.0
├─ optimize-css-assets-webpack-plugin@5.0.4
├─ os-browserify@0.3.0
├─ os-tmpdir@1.0.2
├─ ouch@2.0.1
├─ p-cancelable@1.1.0
├─ p-finally@1.0.0
├─ p-limit@2.3.0
├─ p-locate@3.0.0
├─ p-map@4.0.0
├─ p-retry@3.0.1
├─ p-try@2.2.0
├─ pako@1.0.11
├─ parallel-transform@1.2.0
├─ param-case@2.1.1
├─ parent-module@1.0.1
├─ parse-asn1@5.1.6
├─ parse-json@4.0.0
├─ parseurl@1.3.3
├─ pascal-case@3.1.2
├─ pascalcase@0.1.1
├─ path-browserify@0.0.1
├─ path-dirname@1.0.2
├─ path-is-inside@1.0.2
├─ path-key@2.0.1
├─ path-parse@1.0.7
├─ picomatch@2.3.1
├─ pinkie-promise@2.0.1
├─ pinkie@2.0.4
├─ pkg-up@3.1.0
├─ plist@3.0.6
├─ portfinder@1.0.32
├─ posix-character-classes@0.1.1
├─ postcss-calc@7.0.5
├─ postcss-colormin@4.0.3
├─ postcss-convert-values@4.0.1
├─ postcss-discard-comments@4.0.2
├─ postcss-discard-duplicates@4.0.2
├─ postcss-discard-empty@4.0.1
├─ postcss-discard-overridden@4.0.1
├─ postcss-load-config@2.1.2
├─ postcss-loader@3.0.0
├─ postcss-merge-longhand@4.0.11
├─ postcss-merge-rules@4.0.3
├─ postcss-minify-font-values@4.0.2
├─ postcss-minify-gradients@4.0.2
├─ postcss-minify-params@4.0.2
├─ postcss-minify-selectors@4.0.2
├─ postcss-modules-extract-imports@2.0.0
├─ postcss-modules-local-by-default@3.0.3
├─ postcss-modules-scope@2.2.0
├─ postcss-modules-values@3.0.0
├─ postcss-normalize-charset@4.0.1
├─ postcss-normalize-display-values@4.0.2
├─ postcss-normalize-positions@4.0.2
├─ postcss-normalize-repeat-style@4.0.2
├─ postcss-normalize-string@4.0.2
├─ postcss-normalize-timing-functions@4.0.2
├─ postcss-normalize-unicode@4.0.1
├─ postcss-normalize-url@4.0.1
├─ postcss-normalize-whitespace@4.0.2
├─ postcss-ordered-values@4.1.2
├─ postcss-reduce-initial@4.0.3
├─ postcss-reduce-transforms@4.0.2
├─ postcss-rtl@1.7.3
├─ postcss-safe-parser@4.0.2
├─ postcss-svgo@4.0.3
├─ postcss-unique-selectors@4.0.1
├─ prepend-http@1.0.4
├─ prettier@2.8.0
├─ process-nextick-args@2.0.1
├─ process@0.11.10
├─ progress@2.0.3
├─ proto-list@1.2.4
├─ prr@1.0.1
├─ pseudomap@1.0.2
├─ public-encrypt@4.0.3
├─ pumpify@1.5.1
├─ punycode@2.1.1
├─ q@1.5.1
├─ query-string@4.3.4
├─ querystring-es3@0.2.1
├─ querystring@0.2.0
├─ querystringify@2.2.0
├─ queue-microtask@1.2.3
├─ randomfill@1.0.4
├─ range-parser@1.2.1
├─ raw-body@2.4.3
├─ readdir-glob@1.1.2
├─ readdirp@3.6.0
├─ regenerate-unicode-properties@10.1.0
├─ regenerator-runtime@0.13.11
├─ regenerator-transform@0.15.1
├─ regexp.prototype.flags@1.4.3
├─ regexpu-core@5.2.2
├─ register-service-worker@1.7.2
├─ regjsgen@0.7.1
├─ regjsparser@0.9.1
├─ remove-trailing-separator@1.1.0
├─ renderkid@2.0.7
├─ repeat-element@1.1.4
├─ require-directory@2.1.1
├─ require-from-string@2.0.2
├─ require-main-filename@2.0.0
├─ reselect@4.1.7
├─ resolve-cwd@2.0.0
├─ resolve-url@0.2.1
├─ resolve@1.22.1
├─ responselike@1.0.2
├─ restore-cursor@3.1.0
├─ ret@0.1.15
├─ retry@0.12.0
├─ reusify@1.0.4
├─ rgb-regex@1.0.1
├─ rgba-regex@1.0.0
├─ roarr@2.15.4
├─ rtlcss@2.5.0
├─ run-async@2.4.1
├─ run-parallel@1.2.0
├─ run-queue@1.0.3
├─ rxjs@6.6.7
├─ safe-regex-test@1.0.0
├─ safer-buffer@2.1.2
├─ sass-loader@10.1.0
├─ sass@1.32.12
├─ select-hose@2.0.0
├─ selfsigned@1.10.14
├─ semver-compare@1.0.0
├─ semver@6.3.0
├─ serialize-error@7.0.1
├─ serve-index@1.9.1
├─ serve-static@1.14.2
├─ set-blocking@2.0.0
├─ set-value@2.0.1
├─ setimmediate@1.0.5
├─ shebang-command@2.0.0
├─ shebang-regex@3.0.0
├─ shell-quote@1.7.4
├─ signal-exit@3.0.7
├─ simple-swizzle@0.2.2
├─ sirv@1.0.19
├─ slash@3.0.0
├─ snapdragon-node@2.1.1
├─ snapdragon-util@3.0.1
├─ sockjs-client@1.6.1
├─ sockjs@0.3.24
├─ sort-keys@1.1.2
├─ source-list-map@2.0.1
├─ source-map-js@1.0.2
├─ source-map-resolve@0.5.3
├─ source-map-support@0.5.21
├─ source-map-url@0.4.1
├─ spdy-transport@3.0.0
├─ spdy@4.0.2
├─ split-string@3.1.0
├─ sprintf-js@1.0.3
├─ ssri@8.0.1
├─ stable@0.1.8
├─ stackframe@1.3.4
├─ static-extend@0.1.2
├─ statuses@1.5.0
├─ stream-browserify@2.0.2
├─ stream-each@1.2.3
├─ stream-http@2.8.3
├─ strict-uri-encode@1.1.0
├─ string_decoder@1.3.0
├─ string.prototype.trimend@1.0.6
├─ string.prototype.trimstart@1.0.6
├─ strip-eof@1.0.0
├─ strip-json-comments@2.0.1
├─ stylehacks@4.0.3
├─ stylus-loader@3.0.2
├─ stylus@0.54.8
├─ sumchecker@3.0.1
├─ supports-color@7.2.0
├─ supports-preserve-symlinks-flag@1.0.0
├─ svgo@1.3.2
├─ table@6.8.0
├─ tar-stream@2.2.0
├─ tar@6.1.12
├─ terser-webpack-plugin@4.2.2
├─ terser@4.8.1
├─ through@2.3.8
├─ thunky@1.1.0
├─ timers-browserify@2.0.12
├─ timsort@0.3.0
├─ tmp@0.0.33
├─ to-arraybuffer@1.0.1
├─ to-fast-properties@2.0.0
├─ to-object-path@0.3.0
├─ to-readable-stream@1.0.0
├─ to-regex-range@2.1.1
├─ totalist@1.1.0
├─ ts-loader@8.0.17
├─ tty-browserify@0.0.0
├─ tunnel@0.0.6
├─ type-fest@0.21.3
├─ typedarray@0.0.6
├─ typescript@4.2.2
├─ uglify-js@3.17.4
├─ unbox-primitive@1.0.2
├─ unicode-canonical-property-names-ecmascript@2.0.0
├─ unicode-match-property-ecmascript@2.0.0
├─ unicode-match-property-value-ecmascript@2.1.0
├─ unicode-property-aliases-ecmascript@2.1.0
├─ union-value@1.0.1
├─ uniq@1.0.1
├─ unique-slug@2.0.2
├─ unquote@1.1.1
├─ unset-value@1.0.0
├─ upath@1.2.0
├─ update-browserslist-db@1.0.10
├─ upper-case@1.1.3
├─ url-loader@4.1.1
├─ url-parse-lax@3.0.0
├─ url-parse@1.5.10
├─ use@3.1.1
├─ util-deprecate@1.0.2
├─ util.promisify@1.0.0
├─ util@0.11.1
├─ uuid@3.4.0
├─ vendors@1.0.4
├─ vm-browserify@1.1.2
├─ vue-hot-reload-api@2.3.4
├─ vue-loader@15.10.1
├─ vue-router@3.6.5
├─ vue-server-renderer@2.7.14
├─ vue-style-loader@4.1.3
├─ vue-template-compiler@2.7.14
├─ vue-template-es2015-compiler@1.9.1
├─ vue@2.7.14
├─ watchpack-chokidar2@2.0.1
├─ watchpack@1.7.5
├─ wbuf@1.7.3
├─ webpack-bundle-analyzer@4.7.0
├─ webpack-chain@6.5.1
├─ webpack-dev-middleware@3.7.3
├─ webpack-dev-server@3.11.3
├─ webpack-merge@4.2.2
├─ webpack-node-externals@2.5.2
├─ webpack@4.46.0
├─ websocket-driver@0.7.4
├─ websocket-extensions@0.1.4
├─ when@3.6.4
├─ which-boxed-primitive@1.0.2
├─ which-module@2.0.0
├─ which@2.0.2
├─ worker-farm@1.7.0
├─ wrap-ansi@6.2.0
├─ write-file-atomic@2.4.3
├─ write-file-webpack-plugin@4.5.1
├─ ws@6.2.2
├─ xmlbuilder@15.1.1
├─ xtend@4.0.2
├─ yaml@1.10.2
├─ yargs-parser@13.1.2
├─ yargs@13.3.2
├─ yocto-queue@0.1.0
├─ zip-stream@4.1.0
└─ zlib@1.0.5
✨  Done in 24.24s.

@geoidesic
Copy link
Contributor Author

I just tried it on a different computer, now an Almalinux box hosted on a completely different network. I installed node v12 fresh install and yarn a fresh install too, ditto for @quasar/cli... and I got this error:

error eslint-plugin-vue@9.8.0: The engine "node" is incompatible with this module. Expected version "^14.17.0 || >=16.0.0". Got "12.22.12"
error Found incompatible module.

@yusufkandemir
Copy link
Member

That's the error I told you about yesterday, if yarn add -D eslint-plugin-vue@^8.0.0 makes everything else work, I'll just update the template.

@geoidesic
Copy link
Contributor Author

Ok tx, yes that worked on this environment. Next I need to figure out why it's not working on my macbook pro :-/

yusufkandemir added a commit that referenced this issue Dec 3, 2022
yusufkandemir added a commit that referenced this issue Dec 3, 2022
@yusufkandemir
Copy link
Member

@rstoenescu after making these updates I found out v9 is needed for Vue 2.7 linting support. The problem is with eslint-plugin-vue v9 doesn't support Node v12, but in our docs, we explicitly state using Node versions higher than 12 is not possible.
https://v1.quasar.dev/quasar-cli/installation
image

I didn't test it in detail, but yarn quasar dev, yarn quasar dev -m ssr, yarn quasar build, and yarn quasar build -m ssr all work fine on Node v16.18.1. We might need to update the docs and create-quasar to let people know about this situation. If they want to use linting with Vue 2.7, they must use Node 14 and above, which seems possible. I am not sure about the source behind Webpack 4 not supporting higher than Node 12.

@geoidesic
Copy link
Contributor Author

geoidesic commented Dec 3, 2022 via email

@geoidesic
Copy link
Contributor Author

Might be something wrong in babel config or dependencies in @quasar/babel-preset-app

@rstoenescu
Copy link
Member

rstoenescu commented Dec 16, 2022

You can now safely upgrade to Node 14+ with Quasar v1.
Updated docs banner and will be available on next deployment.

@geoidesic
Copy link
Contributor Author

geoidesic commented Dec 20, 2022

I had a go with it but ran into a problem. yarn dev will not compile due to use of optional chaining syntax in my app. It's a bit mysterious because we've been using optional chaining for nearly two years and we've never had this issue but suddenly... any ideas how to get it working? I'm not sure that this issue is related but it is a bit of a show-stopper.

To replicate this problem, create a new quasar v1 app using node v16: yarn create quasar, then edit the Index page (i.e. src/pages/Index.vue) to look like this:

<script>
export default {
  name: 'PageIndex',
  data() { return {a:{b:{c:1}}}},
  created() {
        console.log(this.a?.b?.d);
  }
}
</script>

Then try yarn; quasar dev and you'll see the problem.

I had a got at this: https://www.jondjones.com/frontend/javascript/js-tips/how-to-enable-optional-chaining-within-your-javascript-project/ but I don't know where to add the plugin for quasar v1.

Here's a codesandbox, illustrating the issue: https://codesandbox.io/s/gifted-ride-t9uu9m?file=/src/pages/Index.vue

@yusufkandemir
Copy link
Member

It's probably because you've never updated the browserslist DB in your project (npx update-browserslist-db@latest). But, in a new project, or when you regenerate the lock file, you got a more up-to-date browserslist DB, which targets newer browsers. Let's say you had package.json > browserslist > "last 10 Chrome versions", at the time it could be meaning Chrome 75-85, but now it means 101-111.

So, now babel leaves it untouched because the new browsers support it, but the Webpack 4 parser can't understand and process that. You basically have two options: update your browserslist to target specific browser versions instead of just "last x versions", or use @babel/plugin-proposal-optional-chaining so Babel transforms the code before Webpack can fail. ¹ You'd add the plugin to babel.config.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli bug/1-repro-available A reproduction is available and needs to be confirmed. kind/bug 🐞 Qv1
Projects
None yet
Development

No branches or pull requests

3 participants