You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next hardcodes from npm instead of using registry from .npmrc or from other config.
In my case, I catched that by using MSW catching all unhandled requests.
Then, it doesnt allow for npx next upgrade because of versions from proxy registry (verdaccio in my case).
Proposal
Let npmjs as fallback, but fetch from .npmrc (or similar) where the project is actually fetching next pkg
(and/or) upgrade script taking a version so we can use the script to upgrade, but choosing the version to upgrade. Also nice in the case of upgrading from an older version (in the future), since you could gradually upgrade instead of going straight to latest.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Goals
Non-Goals
No response
Background
next.js/packages/next/src/server/dev/hot-reloader-shared-utils.ts
Line 17 in 02d8ff2
Next hardcodes from npm instead of using registry from .npmrc or from other config.
In my case, I catched that by using MSW catching all unhandled requests.
Then, it doesnt allow for
npx next upgradebecause of versions from proxy registry (verdaccio in my case).Proposal
All reactions