# Nexus NPM 3 json does not return the latest version of package

**URL:** <https://community.sonatype.com/t/nexus-npm-3-json-does-not-return-the-latest-version-of-package/3912>\
**Category:** Sonatype Nexus Repository\
**Created:** [April 15, 2020, 1:47pm UTC](https://community.sonatype.com/t/nexus-npm-3-json-does-not-return-the-latest-version-of-package/3912 "2020-04-15T13:47:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ismailyenigul](https://avatars.discourse-cdn.com/v4/letter/i/4da419/32.png) [@ismailyenigul](https://community.sonatype.com/u/ismailyenigul)\
**Post date:** [April 15, 2020, 1:47pm UTC](https://community.sonatype.com/t/nexus-npm-3-json-does-not-return-the-latest-version-of-package/3912/1 "2020-04-15T13:47:35Z")

</div>

I upgraded Nexus Repository manager from Nexus 2 to Nexus 3.22.0-2 by using Update HTTP download option. I successfully synced all packages and repos. I can’t see all my users/repos/packages on Nexus 3 console.  
Nexus 3 is on new instance and running Linux with docker images

But when I try to install a package with npm install with nexus npm 3 url configured. npm can’t find the package.  
when I checked the nexus npm3 https:// [ynexus3npmurl.com/repository/npm-all-public/mypackage](http://ynexus3npmurl.com/repository/npm-all-public/mypackage),  
dist-tags:  
latest: 1.0.0

But when I check the version on nexus 2 URL  
I see the latest version in json output.

dist-tags:  
latest: 4.2.1-beta.1

This version and all version between 1.00- 4.2 are also available on Nexus 3 repo. I can browse them.  
Why Nexus 3 npm does not show 4.2.X versions?  
I tried to rebuild metadata, invalidate cache but it did not help.

Do you have any idea about the problem?
