Skip to content

Conversation

mugenen
Copy link
Contributor

@mugenen mugenen commented May 31, 2012

Windows doesn't have process.env.TMPDIR.
Therefore, JSX failed to create a temporary file in JSX.execNodeJS() on Windows with the error message "Error: ENOENT, no such file or directory 'C:\tmp\jsx.28228.137a1cb2717.js'

To fix this bug, I added "|| process.env.TMP" to "var tmpdir."

kazuho added a commit that referenced this pull request May 31, 2012
JSX failed to create a temporary file in JSX.execNodeJS() on Windows.
@kazuho kazuho merged commit b87b17f into jsx:master May 31, 2012
@kazuho
Copy link
Member

kazuho commented May 31, 2012

Thank you for the fix!

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

Successfully merging this pull request may close these issues.

2 participants