-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm:aws-cdk init
throws TypeError (windows only)
#2916
Comments
npm:aws-cdk init
throws TypeErrornpm:aws-cdk init
throws TypeError (windows only)
Since this is Windows only, would you care to help debug or fix, @GJZwiers ? |
I can do some debugging! Is there a way to make my local deno binary/cargo build work with my local copy of |
Yep! Here is what I use:
|
The issue seems to be that the A potential fix for this issue could be to pass a value for |
Thanks for taking a look. Interestingly, Node does not pass a default value to here either. |
Based on denoland/deno#17841 I made a simpler reproduction for the error: import * as fs from "npm:fs-extra";
await fs.copy("foo.js", "bar.js"); |
In https://github.com/jprichardson/node-fs-extra/blob/f3a7f0beeb5858c628b10010ad819c813c7f3565/lib/copy/copy.js#L102 The With Node.js we can get the mode value of the file, even on Windows, but with Deno it returns |
https://github.com/denoland/deno_std/blob/1cda9238eaa24b26fd34e1d5963906ed1bcdd301/node/_fs/_fs_stat.ts#L273 It would be nice if functions like A workaround might be to ignore |
skipping |
Edit: Only happens on Windows
The text was updated successfully, but these errors were encountered: