Skip to content
This repository was archived by the owner on Mar 31, 2021. It is now read-only.
This repository was archived by the owner on Mar 31, 2021. It is now read-only.

Error when using inside a worker #471

@sm-zeus

Description

@sm-zeus

TypeError [ERR_WORKER_UNSUPPORTED_OPERATION]: process.chdir() is not supported in workers
at process.unavailableInWorker [as chdir] (internal/process/worker_thread_only.js:12:11)
at Object. (/home/x/x/x/x/node_modules/steam/node_modules/steam-resources/steam_language_parser/index.js:8:9)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/home/x/x/x/x/node_modules/steam/node_modules/steam-resources/index.js:36:1)
at Module._compile (internal/modules/cjs/loader.js:1137:30) {
code: 'ERR_WORKER_UNSUPPORTED_OPERATION'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions