Skip to content
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

docs: provide man page #806

Merged
merged 2 commits into from
May 13, 2024
Merged

docs: provide man page #806

merged 2 commits into from
May 13, 2024

Conversation

antongolub
Copy link
Contributor

@antongolub antongolub commented May 12, 2024

{
"bin": {
    "zx": "./build/cli.js"
  },
  "man": "./man/zx.1",
  "engines": {
    "node": ">= 12.17.0"
  },
}

@antonmedv antonmedv merged commit c70bff1 into google:main May 13, 2024
7 checks passed
@qlonik
Copy link

qlonik commented May 17, 2024

Just wanted to let you know, that this feature now causes zx global installation on github runners to fail:

Run npm install -g zx
npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../../../lib/node_modules/zx/man/zx.1
npm ERR! dest /usr/local/share/man/man1/zx.1
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, symlink '../../../lib/node_modules/zx/man/zx.1' -> '/usr/local/share/man/man1/zx.1'
npm ERR!  [Error: EACCES: permission denied, symlink '../../../lib/node_modules/zx/man/zx.1' -> '/usr/local/share/man/man1/zx.1'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'symlink',
npm ERR!   path: '../../../lib/node_modules/zx/man/zx.1',
npm ERR!   dest: '/usr/local/share/man/man1/zx.1'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2024-05-15T22_07_55_134Z-debug-0.log
Error: Process completed with exit code 243.

@antongolub
Copy link
Contributor Author

antongolub commented May 17, 2024

@antongolub
Copy link
Contributor Author

IMO, man pages should not be installed for CI at all.

@antongolub
Copy link
Contributor Author

antongolub commented May 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants