npm website link to a packages homepage is being generated incorrectly for GitHub links

website

(Ewan Harris) #1

What I Wanted to Do

Go to the homepage of a package

What Happened Instead

Directed to the wrong place

Reproduction Steps

  • Visit a package on the npm website, some I have noticed are

nyc

  • Click the homepage link

  • 404 occurs

If I look in the package.json then the homepage there appears to be correct.

This is reported on GitHub here https://github.com/npm/www/issues/456


(Kat Marchán) #2

It looks like the Homepage link display is adding /tree to the URL. It’s not present in the metadata.


(Rebecca Turner) #3

(Ewan Harris) #4

Thanks for the response/turnaround! :)


(system) #5

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.