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

[25268:0919/170604.315:ERROR:crashpad_client_win.cc(868)] not connected #937

Open
1 of 5 tasks
gy9527 opened this issue Sep 19, 2024 · 0 comments
Open
1 of 5 tasks
Labels
bug Something isn't working

Comments

@gy9527
Copy link

gy9527 commented Sep 19, 2024

System Info

"@xenova/transformers": "^2.17.2"
"electron": "^31.3.1"

nodejs : v20.16.0

win11 x64

Environment/Platform

  • Website/web-app
  • Browser extension
  • Server-side (e.g., Node.js, Deno, Bun)
  • Desktop app (e.g., Electron)
  • Other (e.g., VSCode extension)

Description

I'm developing a project using Electron. Everything works fine in development mode, but after packaging and running it, The application fails to open and crashes immediately, showing the following error:[25268:0919/170604.315:ERROR:crashpad_client_win.cc(868)] not connected

I have confirmed that it is caused by Transformers

Reproduction

import { env, pipeline } from '@xenova/transformers';
import { fileURLToPath } from "node:url"
import * as path from "node:path";

const __dirname = path.dirname(fileURLToPath(import.meta.url))

env.localModelPath = path.join(__dirname, './models/');

env.allowRemoteModels = false;
env.allowLocalModels = true

env.backends.onnx.wasm.wasmPaths = path.join(__dirname, './transformers-wasm/');

const pipe = await pipeline('feature-extraction', 'all-MiniLM-L6-v2');
@gy9527 gy9527 added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant