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

Error when using inside a worker #471

Open
sm-zeus opened this issue Jul 24, 2020 · 0 comments
Open

Error when using inside a worker #471

sm-zeus opened this issue Jul 24, 2020 · 0 comments

Comments

@sm-zeus
Copy link

sm-zeus commented Jul 24, 2020

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'
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant