[MacPorts] #63774: nodejs16 built on Monterey causes Z_DATA_ERROR zlib checksum failure in npm
MacPorts
noreply at macports.org
Tue Nov 2 21:29:51 UTC 2021
#63774: nodejs16 built on Monterey causes Z_DATA_ERROR zlib checksum failure in npm
------------------------+----------------------
Reporter: i0ntempest | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: monterey | Port: nodejs16
------------------------+----------------------
My port filebrowser requires a {{{npm ci && npm run build}}} command, but
nodejs16 built on Monterey fails to run this with:
{{{
:info:build npm verb Darwin 21.1.0
:info:build npm verb argv "/opt/local/bin/node" "/opt/local/bin/npm" "--
verbose" "ci"
:info:build npm verb node v16.13.0
:info:build npm verb npm v8.1.2
:info:build npm ERR! code Z_DATA_ERROR
:info:build npm ERR! errno -3
:info:build npm ERR! zlib: incorrect data check
:info:build npm verb exit -3
}}}
If I hack the MP build process to install the archive built for Big Sur,
it runs fine. Complete log attached below. \\
nodejs17 gives a different SSL error but I didn't save the log.
--
Ticket URL: <https://trac.macports.org/ticket/63774>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list