mirror of
https://github.com/koush/scrypted.git
synced 2026-05-04 21:30:30 +01:00
install: fix env
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "scrypted",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.5",
|
||||
"description": "",
|
||||
"main": "./dist/packages/cli/src/main.js",
|
||||
"bin": {
|
||||
|
||||
@@ -20,6 +20,7 @@ async function runCommand(command: string, ...args: string[]) {
|
||||
const cp = child_process.spawn(command, args, {
|
||||
stdio: 'inherit',
|
||||
env: {
|
||||
...process.env,
|
||||
// https://github.com/lovell/sharp/blob/eefaa998725cf345227d94b40615e090495c6d09/lib/libvips.js#L115C19-L115C46
|
||||
SHARP_IGNORE_GLOBAL_LIBVIPS: 'true',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user