Skip to content

Commit f56064a

Browse files
committed
Fix
1 parent 63cc8c5 commit f56064a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/helpers/readCypressConfigUtil.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ function generateTscCommandAndTempTsConfig(bsConfig, bstack_node_modules_path, c
6262
if (isWindows) {
6363
// Windows: Use && to chain commands, no space after SET
6464
const setNodePath = isWindows
65-
? `set NODE_PATH=${nodePath}`
66-
: `NODE_PATH="${nodePath}"`;
65+
? `set NODE_PATH=${bstack_node_modules_path}`
66+
: `NODE_PATH="${bstack_node_modules_path}"`;
6767

6868
const tscCommand = `${setNodePath} && node "${typescript_path}" --project "${tempTsConfigPath}" && ${setNodePath} && node "${tsc_alias_path}" --project "${tempTsConfigPath}"`;
6969
return { tscCommand, tempTsConfigPath };

0 commit comments

Comments
 (0)