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
[ERR!] Original version for package 'my-package' is not configured.
This error occurs because it detected that the version specified in 'package.json' was a pre-release, however it was not configured in 'conver.json'. This can happen if you manually change the version in 'package.json' or remove the pre-release entry from 'conver.json'.
package.json
{
// The current pre-release version in package.json"version": "1.3.0-rc.3",
}
conver.json
{
"original": {
// The original version before pre-release (missing)"my-package": "1.2.3"
}
}
The original version (the stable version present in the package.json before pre-release) is required to be configured. If this field is missing, you can manually add it to fix this error.
{
"original": {
+ "my-package": "1.2.3"
}
}
The original version is used to determine the main (stable version before pre-release suffix) bump. It should only ever bump once per pre-release, and that is why we need to original version.
Examples:
original -> pre-release // bump
-------------------------------
1.2.3 -> 1.2.4-rc.0 // patch
1.2.3 -> 1.3.0-rc.0 // minor
1.2.3 -> 2.0.0-rc.0 // major
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This error occurs because it detected that the version specified in 'package.json' was a pre-release, however it was not configured in 'conver.json'. This can happen if you manually change the version in 'package.json' or remove the pre-release entry from 'conver.json'.
package.json
conver.json
The original version (the stable version present in the package.json before pre-release) is required to be configured. If this field is missing, you can manually add it to fix this error.
{ "original": { + "my-package": "1.2.3" } }
The original version is used to determine the main (stable version before pre-release suffix) bump. It should only ever bump once per pre-release, and that is why we need to original version.
Examples:
Ask any further questions in a new discussion please!
Beta Was this translation helpful? Give feedback.
All reactions