BishopFox/unredacter

Can't start npm

edikiuspro opened this issue · 1 comments

Error code:
└─$ npm start

unredacter@1.0.0 start
npm run build && electron ./dist/main.js

unredacter@1.0.0 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.

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)