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

NPM registry server returned an error, so we cannot detect latest version #15804

Closed
sebaguse opened this issue May 9, 2023 · 9 comments
Closed

Comments

@sebaguse
Copy link

sebaguse commented May 9, 2023

What happened?

After upgrade Quasar CLI to @quasar/cli 2.1.0, when I run quasar upgrade I get NPM registry server returned an error, so we cannot detect latest version error:

Global Quasar CLI • Gathering information with npm...

@quasar/extras: 1.16.3 → Skipping!
(⚠️ NPM registry server returned an error, so we cannot detect latest version)
quasar: 2.12.0 → Skipping!
(⚠️ NPM registry server returned an error, so we cannot detect latest version)
@quasar/app-webpack: 3.9.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.

I downgraded Quasar CLI to 2.0.1 and now get:

quasar upgrade

Quasar CLI · Gathering information with npm...

Congrats! All Quasar packages are up to date.

(no errors but no new version upgrade also)

What did you expect to happen?

Quasar upgrade to v2.12.0

Reproduction URL

http://localhost

How to reproduce?

  1. Upgrade Quasar CLI to 2.1.0
  2. Run quasar upgrade / quasar upgrade -i

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

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

Platforms/Browsers

Other

Quasar info output

Operating System - Windows_NT(10.0.19044) - win32/x64
NodeJs - 18.15.0

Global packages
  NPM - 9.5.0
  yarn - Not installed
  @quasar/cli - 2.0.1
  @quasar/icongenie - 2.5.4
  cordova - Not installed

Important local packages
  quasar - 2.12.0 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-webpack - 3.9.0 -- Quasar Framework App CLI with Webpack
  @quasar/extras - 1.16.3 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.2.47 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.1.6
  pinia - 2.0.36 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  @babel/core - 7.21.8 -- Babel compiler core.
  webpack - 5.82.0 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
  webpack-dev-server - 4.11.1 -- Serves a webpack app. Updates the browser on changes.
  workbox-webpack-plugin - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  typescript - 4.9.4 -- TypeScript is a language for application scale JavaScript development
  @capacitor/core - Not installed
  @capacitor/cli - Not installed    
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

Relevant log output

No response

Additional context

No response

@github-actions
Copy link

github-actions bot commented May 9, 2023

Hi @sebaguse! 👋

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. 👏

@pdanpdan
Copy link
Collaborator

pdanpdan commented May 9, 2023

:) open it on npm

@pdanpdan pdanpdan closed this as completed May 9, 2023
@sebaguse
Copy link
Author

sebaguse commented May 9, 2023

this happened after Quasar CLI upgrade so I think might be somehow related to Quasar? ;)

@pdanpdan
Copy link
Collaborator

pdanpdan commented May 9, 2023

Does it happen if you try again?

@pdanpdan pdanpdan reopened this May 9, 2023
@sebaguse
Copy link
Author

sebaguse commented May 9, 2023

it happens every time I try to upgrade using CLI v2.1.0, seems fine with 2.0.1

@rstoenescu
Copy link
Member

What package manager are you using in your project folder? @sebaguse

@rstoenescu
Copy link
Member

Found the culprit. Releasing new q/cli in 10 min.

@rstoenescu
Copy link
Member

rstoenescu commented May 9, 2023

Please upgrade the q/cli to v2.1.1

@fdstevex
Copy link

I'm using @quasar/cli 2.1.1 and I'm seeing this 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:

% 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.

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

No branches or pull requests

4 participants