Skip to content

Instantly share code, notes, and snippets.

@stephenplusplus
Created November 16, 2016 21:55
Show Gist options
  • Save stephenplusplus/00cdb2b43c529e30efe18384d8cb160d to your computer and use it in GitHub Desktop.
Save stephenplusplus/00cdb2b43c529e30efe18384d8cb160d to your computer and use it in GitHub Desktop.
> npm run prepare-ghpages vision 0.6.0 master [5517111]
> google-cloud-node@ prepare-ghpages /Users/stephen/dev/gcloud-node
> node ./scripts/docs/prepare.js "vision" "0.6.0"
git rev-parse --abbrev-ref HEAD
master
git submodule add -q -b gh-pages https://github.com/GoogleCloudPlatform/google-cloud-node.git gh-pages
git rev-parse --abbrev-ref HEAD
gh-pages
npm run docs vision 0.6.0
> google-cloud-node@ docs /Users/stephen/dev/gcloud-node
> node ./scripts/docs "vision" "0.6.0"
git rev-parse --abbrev-ref HEAD
master
Building docs for [email protected]
git checkout vision-0.6.0
Note: checking out 'vision-0.6.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 64bbaaf... vision @ 0.6.0 tagged.
A .gitmodules
A gh-pages
git checkout -
Previous HEAD position was 64bbaaf... vision @ 0.6.0 tagged.
Switched to branch 'master'
A .gitmodules
A gh-pages
Your branch is up-to-date with 'origin/master'.
git checkout v0.44.0
error: Your local changes to the following files would be overwritten by checkout:
docs/manifest.json
Please commit your changes or stash them before you switch branches.
Aborting
npm ERR! Darwin 16.1.0
npm ERR! argv "/Users/stephen/.nvm/versions/node/v6.3.1/bin/node" "/Users/stephen/dev/gcloud-node/node_modules/.bin/npm" "run" "docs" "vision" "0.6.0"
npm ERR! node v6.3.1
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! google-cloud-node@ docs: `node ./scripts/docs "vision" "0.6.0"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the google-cloud-node@ docs script 'node ./scripts/docs "vision" "0.6.0"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the google-cloud-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/docs "vision" "0.6.0"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs google-cloud-node
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls google-cloud-node
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/stephen/dev/gcloud-node/npm-debug.log
npm ERR! Darwin 16.1.0
npm ERR! argv "/Users/stephen/.nvm/versions/node/v6.3.1/bin/node" "/Users/stephen/.nvm/versions/node/v6.3.1/bin/npm" "run" "prepare-ghpages" "vision" "0.6.0"
npm ERR! node v6.3.1
npm ERR! npm v4.0.0
npm ERR! code ELIFECYCLE
npm ERR! google-cloud-node@ prepare-ghpages: `node ./scripts/docs/prepare.js "vision" "0.6.0"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the google-cloud-node@ prepare-ghpages script 'node ./scripts/docs/prepare.js "vision" "0.6.0"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the google-cloud-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/docs/prepare.js "vision" "0.6.0"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs google-cloud-node
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls google-cloud-node
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/stephen/dev/gcloud-node/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment