i just installed the latest node.js and tried to learn the react. but the npm always return the error:0A00010B when install and login.
i have searched some solutions and try them like disable ssl checking, change the proxy, registry and so on. but nothing helps. please help.
carawang@learn_react %npm login
npm notice Log in on https://mirrors.huaweicloud.com/repository/npm
npm error code EPROTO
npm error syscall write
npm error errno EPROTO
npm error request to https://mirrors.huaweicloud.com/repository/npm/-/v1/login failed, reason: write EPROTO C00FDF59F87F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:355:
Expected Behavior
hope npm can work well
Steps To Reproduce
on the macos 14.5
just navigate to node.js website and get the latest node.js and install it
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
i just installed the latest node.js and tried to learn the react. but the npm always return the error:0A00010B when install and login. i have searched some solutions and try them like disable ssl checking, change the proxy, registry and so on. but nothing helps. please help.
Expected Behavior
hope npm can work well
Steps To Reproduce
Environment
_auth = (protected) access = null all = false allow-same-version = false also = null audit = true audit-level = null auth-type = "web" before = null ; bin-links = true ; overridden by user browser = null ca = null cache = "/Users/carawang/.npm" cache-max = null cache-min = 0 cafile = null call = "" cert = null cidr = null color = true commit-hooks = true cpu = null depth = null description = true dev = false diff = [] diff-dst-prefix = "b/" diff-ignore-all-space = false diff-name-only = false diff-no-prefix = false diff-src-prefix = "a/" diff-text = false diff-unified = 3 dry-run = false editor = "vi" engine-strict = false expect-result-count = null expect-results = null fetch-retries = 2 fetch-retry-factor = 10 fetch-retry-maxtimeout = 60000 fetch-retry-mintimeout = 10000 fetch-timeout = 300000 force = false foreground-scripts = false format-package-lock = true fund = true git = "git" git-tag-version = true global = false global-style = false globalconfig = "/usr/local/etc/npmrc" heading = "npm" ; https-proxy = null ; overridden by user if-present = false ignore-scripts = false include = [] include-staged = false include-workspace-root = false init-author-email = "" init-author-name = "" init-author-url = "" init-license = "ISC" init-module = "/Users/carawang/.npm-init.js" init-version = "1.0.0" init.author.email = "" init.author.name = "" init.author.url = "" init.license = "ISC" init.module = "/Users/carawang/.npm-init.js" init.version = "1.0.0" install-links = false install-strategy = "hoisted" json = false key = null legacy-bundling = false legacy-peer-deps = false libc = null link = false local-address = null location = "user" lockfile-version = null loglevel = "notice" logs-dir = null logs-max = 10 ; long = false ; overridden by cli maxsockets = 15 message = "%s" node-options = null noproxy = [""] npm-version = "10.8.2" offline = false omit = [] omit-lockfile-registry-resolved = false only = null optional = null os = null otp = null pack-destination = "." package = [] package-lock = true package-lock-only = false parseable = false prefer-dedupe = false prefer-offline = false prefer-online = false prefix = "/usr/local" preid = "" production = null progress = true provenance = false provenance-file = null ; proxy = null ; overridden by user read-only = false rebuild-bundle = true ; registry = "https://registry.npmjs.org/" ; overridden by user replace-registry-host = "npmjs" save = true save-bundle = false save-dev = false save-exact = false save-optional = false save-peer = false save-prefix = "^" save-prod = false sbom-format = null sbom-type = "library" scope = "" script-shell = null searchexclude = "" searchlimit = 20 searchopts = "" searchstaleness = 900 shell = "/usr/local/bin/bash" shrinkwrap = true sign-git-commit = false sign-git-tag = false strict-peer-deps = false ; strict-ssl = true ; overridden by user tag = "latest" tag-version-prefix = "v" timing = false umask = 0 unicode = true update-notifier = true usage = false user-agent = "npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}" userconfig = "/Users/carawang/.npmrc" version = false versions = false viewer = "man" which = null workspace = [] workspaces = null workspaces-update = true yes = null
; "global" config from /usr/local/etc/npmrc
; registry = "http://registry.npmjs.org" ; overridden by user
; "user" config from /Users/carawang/.npmrc
bin-links = false https-proxy = "https://squid.corp.redhat.com:3128" proxy = "https://squid.corp.redhat.com:3128" registry = "https://mirrors.huaweicloud.com/repository/npm" strict-ssl = false
; "cli" config from command line options
long = true