Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld: Symbol not found: _SecTrustEvaluateWithError #2183

Closed
mwang0 opened this issue Apr 15, 2022 · 4 comments
Closed

dyld: Symbol not found: _SecTrustEvaluateWithError #2183

mwang0 opened this issue Apr 15, 2022 · 4 comments

Comments

@mwang0
Copy link

mwang0 commented Apr 15, 2022

env
os: mac 10.12.6
node: v14.19.1
npm: 6.14.16
pnpm: 6.32.7

pnpm dev


> admin-web@1.0.0 dev /Users/meimei/workspace/admin-web
> vite --host

dyld: Symbol not found: _SecTrustEvaluateWithError
  Referenced from: /Users/meimei/workspace/admin-web/node_modules/.pnpm/esbuild-darwin-64@0.14.29/node_modules/esbuild-darwin-64/bin/esbuild
  Expected in: flat namespace

failed to load config from /Users/meimei/workspace/admin-web/vite.config.ts
error when starting dev server:
Error: The service was stopped
    at /Users/meimei/workspace/admin-web/node_modules/.pnpm/esbuild@0.14.29/node_modules/esbuild/lib/main.js:1332:25
    at /Users/meimei/workspace/admin-web/node_modules/.pnpm/esbuild@0.14.29/node_modules/esbuild/lib/main.js:663:9
    at Socket.afterClose (/Users/meimei/workspace/admin-web/node_modules/.pnpm/esbuild@0.14.29/node_modules/esbuild/lib/main.js:641:7)
    at Socket.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1334:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
 ELIFECYCLE  Command failed with exit code 1.
@evanw
Copy link
Owner

evanw commented Apr 15, 2022

Go's official website says that Go requires macOS 10.13 or later, and you are using macOS 10.12. So you are using an unsupported platform. Your options are to either update your OS, try to build esbuild for yourself using an older version of the Go compiler, use the WebAssembly version of esbuild, or to use another tool instead.

@evanw
Copy link
Owner

evanw commented Apr 16, 2022

I'm closing this because there's nothing to do here on esbuild's end. You'll have to use one of the workarounds described in my previous comment.

@siliushi
Copy link

siliushi commented Jul 26, 2022

i have resolved this porbloms
mac: 10.12.6
https://github.com/siliushi/note/blob/master/%E5%AE%89%E8%A3%85umi4%E9%98%BB%E7%A2%8D%E4%B8%80%E5%A4%A9%E7%9A%84%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3%E4%BA%86.md

@XuBin63
Copy link

XuBin63 commented Apr 8, 2023

Unhandled Rejection (Error): register failed, invalid key getInitialState from plugin

这个报错是啥情况也搜不到解决方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants