diff --git a/docs/kb/npm/dyld-library-not-loaded-op-homebrew.md b/docs/kb/npm/dyld-library-not-loaded-op-homebrew.md new file mode 100644 index 00000000..5a46b61b --- /dev/null +++ b/docs/kb/npm/dyld-library-not-loaded-op-homebrew.md @@ -0,0 +1,29 @@ +--- +title: "dyld Library not loaded: /opt/homebrew/opt/simdjson/lib/libsimdjson.27.dylib" +--- + +## What + +This error happens when trying to run the `npm` command + +```shell +➜ npm +dyld[28403]: Library not loaded: /opt/homebrew/opt/simdjson/lib/libsimdjson.27.dylib + Referenced from: /opt/homebrew/Cellar/node/24.9.0_1/bin/node + Reason: tried: '/opt/homebrew/opt/simdjson/lib/libsimdjson.27.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/simdjson/lib/libsimdjson.27.dylib' (no such file), '/opt/homebrew/opt/simdjson/lib/libsimdjson.27.dylib' (no such file), '/opt/homebrew/Cellar/simdjson/4.1.0/lib/libsimdjson.27.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/simdjson/4.1.0/lib/libsimdjson.27.dylib' (no such file), '/opt/homebrew/Cellar/simdjson/4.1.0/lib/libsimdjson.27.dylib' (no such file) +zsh: abort npm +``` + +I am not actually sure what I was doing at the time to encounter this issue + +## Solution + +```shell +brew upgrade node +``` + +Seems really simple, but it worked. + +## Related reading + +* [gh:Homebrew/disc/6449](https://github.com/orgs/Homebrew/discussions/6449) diff --git a/mkdocs.yml b/mkdocs.yml index b653637a..cec35888 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -59,6 +59,7 @@ nav: - Cloudflare: - Cloudflare Zero Forwarded header: kb/cloudflare/cloudflare-zero-forwarded-header.md - Grocy: + - Set Grocy to use Cloudflare Zero trust usernames: kb/grocy/set-grocy-to-use-cloudflare-username.md - Set grocy to use pritunl Zero usernames: kb/grocy/set-grocy-to-use-pritunl-username.md - Intellij: - Always select open file in project explorer Intellij: kb/intellij/always-select-open-file-in-project-explorer-intellij.md @@ -133,6 +134,8 @@ nav: - Remove server headers: kb/nginx/remove-server-headers.md - nginx.service failed because the control process exited: kb/nginx/nginxservice-failed-because-the-control-process-exited.md - nginx redirects to the first alphabetical site when not found in config: kb/nginx/nginx-redirects-to-the-first-alphabetical-site-when-not-found-in-config.md + - NPM: + - "dyld Library not loaded: /opt/homebrew/opt/simdjson/lib/libsimdjson.27.dylib": kb/npm/dyld-library-not-loaded-op-homebrew.md - OpenVPN: - Install OpenVPN AS: kb/openvpn/install-openvpn-as.md - Connecting Mikrotik to OpenVPN AS: kb/openvpn/mikrotik-to-openvpn.md