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

Question: Authorization Required for [email protected] #15

Closed
ceckoslab opened this issue Aug 28, 2024 · 2 comments · Fixed by #16
Closed

Question: Authorization Required for [email protected] #15

ceckoslab opened this issue Aug 28, 2024 · 2 comments · Fixed by #16

Comments

@ceckoslab
Copy link

Hello @auxten

Thanks for the quick fix for #13

I tried install the fix that is part of [email protected]

npm i [email protected]
but got:

Authorization Required: This application requires administrative access. If you are sure, enter your local username and password to continue.
(##################) ⠇ reify:node-addon-api: timing reifyNode:node_modules/chdb Completed in 31ms

[email protected] gets installed without any prompt about Authorization Required when I run npm i [email protected]

Not sure what prompts Authorization Required but would it be possible in ideal case scenario to skip this prompt?

Here is the full verbose terminal output:

npm verb cli /Users/secret-user/.nvm/versions/node/v18.20.2/bin/node /Users/secret-user/.nvm/versions/node/v18.20.2/bin/npm
npm info using [email protected]
npm info using [email protected]
npm verb title npm i [email protected]
npm verb argv "i" "[email protected]" "--loglevel" "verbose"
npm verb logfile logs-max:10 dir:/Users/secret-user/.npm/_logs/2024-08-28T09_40_30_797Z-
npm verb logfile /Users/secret-user/.npm/_logs/2024-08-28T09_40_30_797Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/chdb 719ms (cache revalidated)
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '20 || >=22' },
npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '20 || >=22' },
npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '20 || >=22' },
npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '20 || >=22' },
npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '20 || >=22' },
npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
npm WARN EBADENGINE }
npm info run [email protected] install node_modules/chdb npm run libchdb && npm run build
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 190ms
Authorization Required: This application requires administrative access. If you are sure, enter your local username and password to continue.
(##################) ⠧ reify:chdb: http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 190ms
@auxten
Copy link
Member

auxten commented Aug 28, 2024

Oh, this is because I reused the general curl -sL https://lib.chdb.io | bash to install libchdb.so in /usr/local which will require sudo.
That's a mistake, I will fix it now.

@auxten
Copy link
Member

auxten commented Aug 28, 2024

Fixed #16

@auxten auxten closed this as completed Aug 28, 2024
@auxten auxten linked a pull request Aug 28, 2024 that will close this issue
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 a pull request may close this issue.

2 participants