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

@quasar/cli 2.1.1, "NPM registry server returned an error, so we cannot detect latest version" #15825

Closed
fdstevex opened this issue May 12, 2023 · 8 comments

Comments

@fdstevex
Copy link

I'm using @quasar/cli 2.1.1 and I'm seeing the issue from (closed) issue 15804. I commented there, but opening this as a new issue because I'm not sure what the process is for updating a closed issue.

% quasar info

Operating System - Darwin(22.4.0) - darwin/x64
NodeJs - 18.7.0

Global packages
  NPM - 9.6.6
  yarn - Not installed
  @quasar/cli - 2.1.1
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.11.7 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.2.1 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.15.11 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.2.38 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.1.5
  pinia - 2.0.21 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  vite - 2.9.15 -- Native-ESM powered web dev build tool
  eslint - 8.22.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
  *None installed*

Networking
  Host - stevebookthree.local
  en0 - 192.168.0.240
% quasar upgrade

 Global Quasar CLI • Gathering information with yarn...

 @quasar/extras: 1.15.11 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 quasar: 2.11.7 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 @quasar/app-vite: 1.2.1 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 @quasar/cli: 1.4.0 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 Global Quasar CLI • Congrats! All Quasar packages are up to date.

Originally posted by @fdstevex in #15804 (comment)

Thanks

@rstoenescu
Copy link
Member

Cannot reproduce with Yarn.
But I am noticing something NOT ok: you have locally installed "@quasar/cli" into your project folder.
Please remove it then try this command again.

@rstoenescu
Copy link
Member

Also, you don't have Yarn installed, but your project folder is configured with Yarn.
Delete yarn.lock file and install with your preferred node package manager.

Please reopen if I missed anything.

@fdstevex
Copy link
Author

fdstevex commented May 12, 2023

Done, no change unfortunately.

% quasar upgrade         

 Global Quasar CLI • Gathering information with yarn...

 @quasar/extras: 1.15.11 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 quasar: 2.11.7 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 @quasar/app-vite: 1.2.1 → Skipping!
   (⚠️  NPM registry server returned an error, so we cannot detect latest version)
 Global Quasar CLI • Congrats! All Quasar packages are up to date.
% ls -l
total 1088
-rw-r--r--    1 stevex  staff     182 10 Oct  2022 Dockerfile
-rw-r--r--    1 stevex  staff     589 13 Jan 21:42 README.md
drwxr-xr-x    7 stevex  staff     224  1 Sep  2022 cypress
-rw-r--r--    1 stevex  staff     184  1 Sep  2022 cypress.config.ts
drwxr-xr-x    5 stevex  staff     160 23 Jan 21:54 dist
-rw-r--r--    1 stevex  staff    1177 13 Jan 21:42 index.html
drwxr-xr-x  478 stevex  staff   15296 12 May 08:59 node_modules
-rw-r--r--    1 stevex  staff  509021 12 May 08:59 package-lock.json
-rw-r--r--    1 stevex  staff    1567 12 May 08:59 package.json
-rw-r--r--    1 stevex  staff     817 31 Aug  2022 postcss.config.js
drwxr-xr-x    9 stevex  staff     288  4 Nov  2022 public
-rw-r--r--    1 stevex  staff    6870 19 Mar 10:47 quasar.config.js
drwxr-xr-x   19 stevex  staff     608  2 Oct  2022 src
drwxr-xr-x    5 stevex  staff     160  7 Oct  2022 src-ssr
-rwxr-xr-x    1 stevex  staff      72 10 Oct  2022 start-frontend.sh
-rw-r--r--    1 stevex  staff      98 31 Aug  2022 tsconfig.json
-rw-r--r--    1 stevex  staff     317  1 Jan 17:36 vue.config.js

@rstoenescu
Copy link
Member

Either install Yarn v1 or delete yarn.lock and install with your preferred node package manager.

@fdstevex
Copy link
Author

I don't have a yarn.lock.

@rstoenescu rstoenescu reopened this May 12, 2023
@rstoenescu
Copy link
Member

Do you have a yarn.lock in any of the parent folders?
Can you contact me on Discord pls to speed this up?

@fdstevex
Copy link
Author

Crap, yes, there was a yarn.lock in my home directory! New laptop, not sure how I ended up with that, but that was it. Thank you!

@rstoenescu
Copy link
Member

Glad everything works for you now again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants