Comments (9)
@ashleygwilliams We're directing people to these package pages and it makes us look super-broken. Is there any workaround?
from www.
@RyanCavanaugh The couch package document appears to point at the correct README.md
filename (via readmeFilename
), however the "readme"
key in the couch package document points at an empty string. That key is populated by the CLI on publish, and used by the website to display readme data — when it's missing we display the above error. I'm looking through the readme processing logs now and I don't see any errors importing the package document, which leads me to suspect that the data wasn't added by the CLI during publish. Are you using npm publish
to publish this package?
from www.
@chrisdickinson No, we've switched to using the API. Code here https://github.com/Microsoft/types-publisher/blob/master/src/lib/npm-client.ts#L1
/cc @andy-ms
from www.
So it sounds like we need to read the README.md
contents and put it into the readme
key during our API-based publish? It's super surprising to me that these things work differently but it sounds like an easy fix on our end.
from www.
Closing. Thanks for answering, @chrisdickinson !
from www.
@RyanCavanaugh Yep! Apologies for the surprise. Our goal is to start providing documentation for the existing registry API on the registry repo, but it's a work in progress!
from www.
Hi, it's us again!
Some packages are not showing the latest data available. For example, d3 says that "0.0.33 is the latest of 15 releases", but actually 3.5.34 was published yesterday and is the latest of 16 releases. (Also, the readme contents are old.)
Here's the background: we are directly using the publish method from npm-registry-client
.
Currently we use a very simple technique to get the metadata: we read in the contents of README.md and attach it to the package.json
.
I suspect that we are still not providing all of the metadata needed. Is there something else we need to be doing there?
(The new issue is microsoft/types-publisher#140.)
from www.
@andy-ms can you log a new issue? Seems this isn't getting any visibility
from www.
from www.
Related Issues (20)
- the image in the README is displayed beyond the screen HOT 1
- how can we close Solr Connection once it open
- Readability issues with new code block font HOT 2
- Readmes missing after publishing a new package HOT 6
- "@" in the install instruction is cut off
- unexpected status code from user-acl: 500 when trying to create a new account
- NPM Package UI (CSS) Breaking For My Package
- problem with rtl
- Links in h1 titles in packages' README files are hidden
- npmjs.org always assumes that all dependencies are on npmjs.org and ends up linking to unrelated packages. HOT 1
- Not able to install via npm
- Package search shows wrong date and version
- Index out of bounds exception when navigating to a member page past maximum
- Wrong documentation last modified date in docs.npmjs.com (October 26, 1985)
- Search result shows old version HOT 1
- 2fa recovery codes truncated HOT 1
- Provide links for specific tags at the top of the package details page (Readme, admin, dependencies, etc)
- Home page link url is incorrect HOT 2
- Repository link url is broken HOT 1
- Searchbar for @scoped packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from www.