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

ao build: error: Uncaught (in promise) NotFound: program not found #362

Open
xgocn opened this issue Oct 9, 2024 · 1 comment
Open

ao build: error: Uncaught (in promise) NotFound: program not found #362

xgocn opened this issue Oct 9, 2024 · 1 comment

Comments

@xgocn
Copy link

xgocn commented Oct 9, 2024

I ran ao build with Git bash in windows11,and got this error

Administrator@10_3_0_14 MINGW64 /c/aos/process (main)
$ ao build
error: Uncaught (in promise) NotFound: program not found
    at opRun (ext:runtime/40_process.js:58:10)
    at Object.run (ext:runtime/40_process.js:155:15)
    at Command.build [as actionHandler] (file:///C:/Users/ADMINI~1/AppData/Local/Temp/2/deno-compile-ao.exe/dev-cli/src/commands/build.js:8:18)
    at Command.execute (https://deno.land/x/[email protected]/command/command.ts:770:18)
    at async Command.parseCommand (https://deno.land/x/[email protected]/command/command.ts:652:14)
    at async file:///C:/Users/ADMINI~1/AppData/Local/Temp/2/deno-compile-ao.exe/dev-cli/src/mod.js:30:1

ao was installed:

$ ao --help

Usage:   ao
Version: 0.1.5

Description:

  The ao CLI for build, publishing, and spawning ao Modules and Processes

Options:

  -h, --help     - Show this help.
  -V, --version  - Show the version number for this program.

Commands:

  init     <name>      - Create an ao Process Source Project
  lua                  - Start a Lua Repl
  run      <file>      - Run a Lua File
  build                - Build the Lua Project into WASM
  publish  <wasmfile>  - Publish the file to Arweave
  spawn                - Spawn an ao Process using a published ao Module
  bundler              - ao CLI Bundler commands
  exec     <command>   - Exec command in the container ( ie: exec emcmake cmake . )

How can I fix it?

@xgocn
Copy link
Author

xgocn commented Oct 9, 2024

I found that the entire C:\Users\Administrator\AppData\Local\Temp\2\deno-compile-ao.exe\ folder is empty except for an empty node_modules directory inside

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