https://github.com/polyseam/deno-compile-win-error
https://github.com/polyseam/deno-compile-win-error
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/polyseam/deno-compile-win-error
- Owner: polyseam
- Created: 2025-01-14T07:01:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-14T08:33:42.000Z (over 1 year ago)
- Last Synced: 2025-01-14T08:34:52.809Z (over 1 year ago)
- Language: TypeScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deno `v2.1.5` Compile Error for Windows Target
[main.ts](main.ts) is a deno script that will behave properly when compiled on
MacOS and Linux, but throw an error when compiled for Windows.
The issue is only present in Deno `v2.1.5` and not in `v2.1.4`.
The issue seems to be related to `homedir` from `node:os`;
The issue is demonstrated in GitHub Actions in the
[demo.yml](.github/workflows/demo.yml) file.