-
Notifications
You must be signed in to change notification settings - Fork 6
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
PEM routines:get_name:no start line #532
Comments
Hey, @penguin02007 This issue seems to be that your privateKey is not properly generated. Did you follow the steps to create the App in your org? I built a command line tool that might give you a hint. (it's what that action uses underneath) You can run it on your computer and see what's going on. here is the project. |
I am on MacOS m1 12.6 and for some reason npm keep barks at me...
|
You have a problem in your computer. You are trying to install that package
in a place you can't install. EACCESS is that.
`sudo npm` or you just do npx (you will have to have all the credentials
in hand) like the example.
https://github.com/gagoar/github-app-installation-token#npx
Gago
Linux User #484680
http://scr.im/gagoar
echo ***@***.*** | sed 's/[SPAM]//g'
…On Wed, Sep 21, 2022 at 5:11 PM Leo Chan ***@***.***> wrote:
@gagoar <https://github.com/gagoar>,
Yes i did indeed!
[image: image]
<https://user-images.githubusercontent.com/3166772/191590294-9c1cabc2-98cf-49a0-a6f9-3d84a84604ca.png>
I am on MacOS m1 12.6 and for some reason npm keep barks at me...
penguin02007$ npm -v
8.15.0
penguin02007$ npm cache clean --force
npm WARN using --force Recommended protections disabled.
penguin02007$ npm -g install github-app-installation-token
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/github-app-installation-token
npm ERR! dest /usr/local/lib/node_modules/.github-app-installation-token-l59W0We5
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/github-app-installation-token' -> '/usr/local/lib/node_modules/.github-app-installation-token-l59W0We5'
npm ERR! [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/github-app-installation-token' -> '/usr/local/lib/node_modules/.github-app-installation-token-l59W0We5'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/usr/local/lib/node_modules/github-app-installation-token',
npm ERR! dest: '/usr/local/lib/node_modules/.github-app-installation-token-l59W0We5'
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:
npm ERR! /Users/ka.chan/.npm/_logs/2022-09-21T21_09_26_446Z-debug-0.log
—
Reply to this email directly, view it on GitHub
<#532 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABXJ766SYISVBDJSWQFXPLV7N2YBANCNFSM6AAAAAAQRYAJSE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for the tips @gagoar! I have no luck using npm run or npm exec, it works perfectly
|
Means that how you put the secrets in GitHub is not right. Also don't share the token in a public channel. Please edit the comment you left ! |
Hi, I'm trying to get UHA running in Github Cloud Enterprise.
I double checked the private key is in
Repository secrets
and the App is installed under Org level for permission.What should I check next? Any help would be appreciated.
The text was updated successfully, but these errors were encountered: