figplug icon indicating copy to clipboard operation
figplug copied to clipboard

windows10 crash on "figplug build -w -o=build" command

Open promet99 opened this issue 4 years ago • 1 comments

when "figplug build -w -o=build" is executed on windows10, error occurs due to TSC_NONPOLLING_WATCHER env var not being recognized.

promet99 avatar Jan 19 '22 16:01 promet99

This also appears to be an issue when using this with https://rushjs.io for monorepo management. Can TSC_NONPOLLING_WATCHER be removed from this plugin?

Edit: correction, this appears to be an issue using both pnpm with the following error when using rushx build:

> rushx build
.../node_modules/.bin/figplug: line 16: exec: TSC_NONPOLLING_WATCHER=1: not found
The script failed with exit code 127

However, running rush build -t . works as expected. I don't think this is an issue specifically with this project, but removing this env variable (if possible) may avoid this issue when using rush + pnpm.

skovy avatar Jul 25 '22 23:07 skovy