Open ambrt opened 2 weeks ago
Getting the same error with this script, based on the example in the README:
import {init, Wasmer} from "@wasmer/sdk/node"
async function run() {
await init()
const pkg = await Wasmer.fromRegistry("python/python")
const instance = await pkg.entrypoint.run({
args: ["-c", "print('Hello, world!')"],
})
const { code, stdout } = await instance.wait()
console.log(`Python exited with ${code}: ${stdout}`)
}
run()
Wasmer throws error in cowsay example
Script is: