Skip to content

pkgmgr_install with proxy or registry options #773

@yssource

Description

@yssource

https://registry.npmjs.org/ is blocked in some countries, which causes the following failure when running R2PM_OFFLINE=1 r2pm -r src/r2frida-compile -i || src/r2frida-compile -i

Install failed: Failed to GET https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz: Error resolving ?registry.npmjs.org?: Temporary failure in name resolution.

Could you support a proxy option for pkgmgr_search or pkgmgr_install?

It could be helpful, if it works as npm install --registry=https://registry.npm.taobao.org.

Very appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions