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

Can't start npm #32

Open
edikiuspro opened this issue Dec 26, 2022 · 1 comment
Open

Can't start npm #32

edikiuspro opened this issue Dec 26, 2022 · 1 comment

Comments

@edikiuspro
Copy link

Error code:
└─$ npm start

[email protected] start
npm run build && electron ./dist/main.js

[email protected] build
tsc

(node:27185) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[27185:1226/123022.939019:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

@Eucrates
Copy link

Eucrates commented Jul 31, 2024

I got the same error. After researching similar errors for other programs, I found adding --no-sandbox to the line "start": "npm run build && electron --no-sandbox ./dist/main.js" in the package.json file allowed me to run the program.

Automattic/simplenote-electron#3044 (comment)

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

2 participants