❯ pnpm add -g http-server-md
Downloading svg-icon@0.8.2: 21.95 MB/21.95 MB, done
../../store/v3/tmp/_tmp_18328_9f19d3739d674327917ffabc20436fc3 [reurl@1.0.0-rc.2]: Running npm-install script, failed in 2.2s
...8328_9f19d3739d674327917ffabc20436fc3 npm-install$ npm install
│ npm ERR! code 2
│ npm ERR! path /Users/tobiashochgurtel/Library/pnpm/store/v3/tmp/_tmp_18328_9f19d3739d674327917ffabc20436fc3
│ npm ERR! command failed
│ npm ERR! command sh -c npm run build
│ npm ERR! > reurl@1.0.0-rc.2 build
│ npm ERR! > make
│ npm ERR!
│ npm ERR! Making a minified ES module bundle
│ npm ERR! ✘ [ERROR] Could not resolve "spec-url"
│ npm ERR!
│ npm ERR! lib/index.js:1:22:
│ npm ERR! 1 │ import * as core from 'spec-url'
│ npm ERR! ╵ ~~~~~~~~~~
│ npm ERR!
│ npm ERR! You can mark the path "spec-url" as external to exclude it from the bundle, which will remove this error.
│ npm ERR!
│ npm ERR! 1 error
│ npm ERR! node:child_process:929
│ npm ERR! throw err;
│ npm ERR! ^
│ npm ERR!
│ npm ERR! Error: Command failed: /Users/tobiashochgurtel/.config/yarn/global/node_modules/esbuild-darwin-arm64/bin/esbuild --bundle --format=esm --minify lib/index.js
│ npm ERR! at genericNodeError (node:internal/errors:984:15)
│ npm ERR! at wrappedFn (node:internal/errors:538:14)
│ npm ERR! at checkExecSyncError (node:child_process:890:11)
│ npm ERR! at Object.execFileSync (node:child_process:926:15)
│ npm ERR! at Object.<anonymous> (/Users/tobiashochgurtel/.config/yarn/global/node_modules/esbuild/bin/esbuild:173:28)
│ npm ERR! at Module._compile (node:internal/modules/cjs/loader:1368:14)
│ npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
│ npm ERR! at Module.load (node:internal/modules/cjs/loader:1205:32)
│ npm ERR! at Module._load (node:internal/modules/cjs/loader:1021:12)
│ npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) {
│ npm ERR! status: 1,
│ npm ERR! signal: null,
│ npm ERR! output: [ null, null, null ],
│ npm ERR! pid: 18634,
│ npm ERR! stdout: null,
│ npm ERR! stderr: null
│ npm ERR! }
│ npm ERR!
│ npm ERR! Node.js v21.7.3
│ npm ERR! make: *** [dist/reurl.min.js] Error 1
│ npm ERR! A complete log of this run can be found in: /Users/tobiashochgurtel/.npm/_logs/2024-11-07T11_08_33_210Z-debug-0.log
└─ Failed in 2.2s at /Users/tobiashochgurtel/Library/pnpm/store/v3/tmp/_tmp_18328_9f19d3739d674327917ffabc20436fc3
ERR_PNPM_PREPARE_PACKAGE Failed to prepare git-hosted package fetched from "https://codeload.github.com/jsepia/reurl/tar.gz/a3210117636c115fb139517fcfb2ea929025cded": reurl@1.0.0-rc.2 npm-install: `npm install`
Exit status 2
This error happened while installing the dependencies of http-server-md@1.1.13
at markdown-it-wikilinks@1.4.0
Progress: resolved 1160, reused 1146, downloaded 1, added 0

Environment Details:
❯ node -v
v21.7.3
❯ pnpm -v
9.10.0
❯ uname -a
Darwin macbookpro 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000 arm64
Same with npm install -g http-server-md.
Environment Details:
❯ node -v v21.7.3 ❯ pnpm -v 9.10.0 ❯ uname -a Darwin macbookpro 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000 arm64Same with
npm install -g http-server-md.