Repository navigation
6.3.1 src tarball: missing files and directories #7872
Description
Activity
I think this was done intentionally awhile back in an effort to reduce the distributed tarball size. You will need to checkout the git repo to build docs and the like.
- addedquestionIssues asking questions about Node.js.Issues asking questions about Node.js.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.
on Jul 25, 2016 :( - wondering who cares about 1-2 MB these days ...
Anyway, shouldn't it be documented somewhere?
So...how does one do this "git repo" thing to "build docs and the like" to resolve this issue?
Running
git clone https://github.com/nodejs/node.gitshould give you anodedirectory containing everything in this repository.It’s probably easier and works just as well to just run
npm installin thetools/doc/directory of the tarball, though.had to go to folder with git.py in it and typed "c:\python27\python.exe git.py clone https://github.com/nodejs/node.git" and something happened without any output in the console. npm install didn't begin to work at that point. how do I "run npm install in the tools/doc/ directory of the tartball"? I can't any such folder. Is there a way to just download this thing without those missing files by chance?
@lungbubble you should not have to use python to clone the repo
do you have git installed?
you can get git here.
Once you have git installed you can use the command that was mentioned above
git clone https://github.com/nodejs/node.gitto clone the repoIf you want to learn more about git you can read this intro
Ty, I installed the git clone, typed that in program files\nodejs and it did a bunch of stuff. Then I typed npm install npm -g (also just npm install). This was the result I got:
npm ERR! not a package c:\program files\nodejs\npm
npm ERR! addlocal Could not install c:\program files nodejs\npm
npm ERR! Windows_NT 6.1.7601
npm ERR! argy "C:\program files\nodejs\node.exe" "C:\program files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "npm" "-g"
npm ERR! v6.3.1
npm ERR! v3.10.3
npm ERR! path c:\users\MyUser\AppData\Local\Temp\npm-8488-242c2023\unpack-8456689f2\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall opennpm ERR! enoent ENOENT: no such file or directory, open 'C:\users\MyUser\AppData\Local\Temp\npm-8488-242c2023\unpack-845689f2\package.json'
npmE ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Myuser\AppData\Local\Temp\npm-8488-242c2023\unpack-845689f2\package.json'
npm ERR! enoent This is likely not a problem with npm itself
npm ERR! enoent and this is related to npm not being able to find a fileI have no idea why its checking for files in my app data/local stuff as npm is in my program files\nodejs.
@lungbubble let's step back for a moment.
what is your ultimate goal? what are you trying to do? get a local copy of
the docs?On Sun, Aug 7, 2016, 2:16 PM lungbubble notifications@github.com wrote:
Ty, I installed the git clone, typed that in program files\nodejs and it
did a bunch of stuff. Then I typed npm install npm -g (also just npm
install). This was the result I got:npm ERR! not a package c:\program files\nodejs\npm
npm ERR! addlocal Could not install c:\program files nodejs\npm
npm ERR! Windows_NT 6.1.7601
npm ERR! argy "C:\program files\nodejs\node.exe" "C:\program
files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "npm" "-g"
npm ERR! v6.3.1
npm ERR! v3.10.3
npm ERR! path
c:\users\MyUser\AppData\Local\Temp\npm-8488-242c2023\unpack-8456689f2\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall opennpm ERR! enoent ENOENT: no such file or directory, open
'C:\users\MyUser\AppData\Local\Temp\npm-8488-242c2023\unpack-845689f2\package.json'
npmE ERR! enoent ENOENT: no such file or directory, open
'C:\Users\Myuser\AppData\Local\Temp\npm-8488-242c2023\unpack-845689f2\package.json'
npm ERR! enoent This is likely not a problem with npm itself
npm ERR! enoent and this is related to npm not being able to find a fileI have no idea why its checking for files in my app data/local stuff as
npm is in my program files\nodejs.—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
#7872 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAecVyqfw3jQcujvzanduDiJj9Iwo6BNks5qdkszgaJpZM4JUZgJ
.We did a distinction between a developer and user. If you want to e.g. generate documentation instead of using the one that is generate for you, or for instance invoke
lintyou will need a git checkout. Compiling and verifying the generated binary (make test) works just fine as a user.I'm trying to run a python script which states I need to run "grunt build" before running the script. From what I've read (i've gone through so much stuff now, I might be missing a piece or two) I need to install nodejs to do the grunt build. So I'm just trying to install nodejs so that I can use "grunt build" so I can run the script I have.
@lungbubble it would appear you are heading down the wrong path. If you would like to install node please follow the instructions found at --> http://nodejs.org/download/
- added a commit that references this issue
on Oct 11, 2016 - added 2 commits that reference this issue
on Oct 14, 2016 - added a commit that references this issue
on Oct 18, 2016 - added a commit that references this issue
on Oct 26, 2016 - added a commit that references this issue
on Jul 27, 2026
https://nodejs.org/dist/v6.3.1/node-v6.3.1.tar.[gx]z source tar balls seems to be screwed up: e.g.
tools/{osx-pkg.pmdoc,pkgsrc,eslint,eslint-rules}/ are missing, whereby at least the latter 2 in turn break doc building: