Skip to content

Missing os module import in task-executor.js #3

Open

Description

@mayoalexander

Bug

task-executor.js uses os.homedir() in multiple places (Remotion detection, config user ID, session injection) but did not import the os module:

const { spawn, execSync, execFileSync } = require('child_process')
const fs = require('fs')
const path = require('path')
// os was missing here
const https = require('https')
const http = require('http')

Error: os is not defined at runtime when any code path using os is hit.

Fix

Added const os = require('os') — shipped in 7d4cdc9.

Severity: Critical — runtime crash
Status: Fixed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions