npm README field is blank
See original GitHub issueTo reproduce:
curl https://registry.npmjs.org/preact | pbcopy
(link)- Open you favorite JSON formatter (ex: https://codebeautify.org/jsonviewer)
- See that the top-level “readme” property is empty string
- See that there is no “readme” property on the latest version (or any versions <10)
- See that a “readme” property does exist on the “next” version (and all versions 10+)
This is the only package I’ve seen this for in all of my npm traveling. I can’t tell why this is (README does exist in the installed package) but just wanted to bring it to your attention since package README-viewers may be failing for your package.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
NPM - How to fix "No readme data"
When I execute "npm install" i get the following warning which I would like to fix: "npm WARN package.json camapaign@0.0.1 No readme data."...
Read more >package.json
The file in the "main" field. README & LICENSE can have any case and extension. Conversely, some files are always ignored: .git ...
Read more >internetarchive/icon-calendar-blank - NPM Package Overview
Package does not have a linked source code repository. Without this field, a package will have no reference to the location of the...
Read more >Create a package.json File
json. Re-running npm init is additive. It won't overwrite values you have already entered, but will update any previously blank fields it can ......
Read more >How to publish a npm package in four steps
Run npm init inside your git directory and follow the prompts. If you don't know what to put in a field, just leave...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I contacted npm support with that insight, hopefully I can find the root cause now!
Oh ok, just checked and our package contains the right version of the readme. Not sure why the registry points to something else. Like Jason said, it seems to be an issue with the registry when multiple tags are used. I don’t think there is anything we can do to resolve that in Preact.