-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build npm docs #30719
Comments
I know #30533 landed last week on |
Well when you run If you run In other words running |
hi @hinell thanks for digging into this 😊 something that would be amazing to confirm if the problem has been solved already is to compile the latest node from current |
@ruyadorno Well as long as there there is no pre-generated |
It's a bug in Line 132 in cc3f2b3
This meant that anyone following the Maintaining npm in Node.js guide would run I've submitted npm/cli#546. cc @nodejs/npm |
@richardlau Well yeah. That's must be the root of the problem. I wonder how they did release docs without using
Didn't know these guides exist. They aren't linked from |
thank you so much @hinell for finding this out and @richardlau for promptly submitting a fix, the timing is great since we have a release scheduled for today, I'll make sure to follow up there 👍 |
All supported Node.js release lines now include npm 6.13.4 so this should be fixed (the fix went into npm 6.13.2). |
Issue
Running
npm help install
throws an error:The error is caused by non-existing
public/
folder in default NodeJS path installation:NodeJS/node_modules/npm/docs/public
, which contains local npm documentation.Addressing
cd
todeps/npm/docs
foldernpm
scriptsWorkaround
$ npm i -g npm
Background
NPM
documentation was recently updated by v6.13.0 version to use Gatsby framework, which requires users to generate static documentation from* .md
files before it can be consumednpm
was incorporated into NodeJS by v13.2.0 (deps: update npm to 6.13.0 #30271) versionMisc
CC @ruyadorno
Why not to convert the
deps/npm
to a git submodule?The text was updated successfully, but these errors were encountered: