Closed
Description
- Version: v13.2.0
- Platform: Windows 10 x64
- Subsystem:
Issue
Running npm help install
throws an error:
Windows cannot find
'E:\Programs\NodeJS\node_modules\npm\docs\public\cli-commands\npm-install\index.html'.
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
folder- build documentation by using default
npm
scripts
Workaround
$ 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 consumed- Newly updated
npm
was incorporated into NodeJS by v13.2.0 (deps: update npm to 6.13.0 #30271) version
Misc
CC @ruyadorno
Why not to convert the deps/npm
to a git submodule?