ARTIFACTORY: Why am I having trouble resolving particular NPM package versions?

AuthorFullName__c
Fadi Rouhana
articleNumber
000005788
FirstPublishedDate
2023-06-14T17:03:12Z
lastModifiedDate
2025-07-20

ARTIFACTORY: Why am I having trouble resolving particular NPM package versions?

When publishing NPM packages, you may encounter issues where certain versions cannot be found. This typically happens when attempting to publish packages with versions that contain coordinates exceeding the maximum integer value.

For example, if you publish an NPM package with the version "1.1.2023020316123", you may face difficulties resolving it from Artifactory NPM repositories.

This behavior is expected due to Artifactory's adherence to the semantic versioning (
SemVer) specification for NPM versions. According to SemVer, a normal version number should follow the format X.Y.Z, where X, Y, and Z are non-negative integers.

In the Java programming language, the maximum value for an integer is 2147483647. Consequently, any versions exceeding this limit will not be found, resulting in unresolved versions.

To mitigate the issue of publishing packages with versions surpassing the maximum integer size, Artifactory introduces version length validation starting from version 7.61.3 in which such versions will be blocked from being published.