Skip to content
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

Build fails on Windows with PowerShell #263

Open
fwextensions opened this issue Nov 2, 2023 · 0 comments
Open

Build fails on Windows with PowerShell #263

fwextensions opened this issue Nov 2, 2023 · 0 comments

Comments

@fwextensions
Copy link

fwextensions commented Nov 2, 2023

I cloned the repo, installed deno 1.38.0, and ran deno task build:

❯ deno task build
Task build deno run --allow-all --unstable './tasks/build.ts'
Warning Implicitly using latest version (0.205.0) for https://deno.land/std/testing/asserts.ts
error: Uncaught (in promise) Error: %1 is not a valid Win32 application. (os error 193)
          const result = await Deno.run({ cmd }).status()
                                    ^
    at opRun (ext:runtime/40_process.js:50:14)
    at Object.run (ext:runtime/40_process.js:136:15)
    at file:///C:/Projects/Chrome%20Extensions/json-formatter/tasks/lib/compile.ts:44:37
    at Array.map (<anonymous>)
    at file:///C:/Projects/Chrome%20Extensions/json-formatter/tasks/lib/compile.ts:34:24
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async https://deno.land/x/[email protected]/core/tmp.ts:47:5
    at async subsetTransform (https://deno.land/x/[email protected]/core/subset.ts:19:20)
    at async subsetTransform (https://deno.land/x/[email protected]/core/subset.ts:19:20)
    at async pipedTransform (https://deno.land/x/[email protected]/core/pipe.ts:21:25)

Looks like there's an issue with how the args are passed to the command line, but I don't know enough about deno to try to debug it.

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

No branches or pull requests

1 participant