Skip to content

runtime/wazero error in windows environment #167

@wyyolo

Description

@wyyolo

When command "bin/function-stream client consume -n example-output" is executed, the following problems occur:

Failed to parse JSON: invalid character 'n' looking for beginning of object key string
2024/03/26 20:15:11 ERROR Error calling process function name=example index=0 runtime=default component=function-instance error="module closed with exit_code(1)\nError calling wasm function\ngithub.com/functionstream/function-stream
/fs/runtime/wazero.(*WazeroFunctionRuntimeFactory).NewFunctionRuntime.func2\n\tD:/Github/function-stream/fs/runtime/wazero/wazero_runtime.go:91\ngithub.com/functionstream/function-stream/fs/runtime/wazero.(*WazeroFunctionRuntime).Ca
ll\n\tD:/Github/function-stream/fs/runtime/wazero/wazero_runtime.go:120\ngithub.com/functionstream/function-stream/fs.(*FunctionInstanceImpl).Run\n\tD:/Github/function-stream/fs/instance_impl.go:112\nruntime.goexit\n\tD:/Golang/src/
runtime/asm_amd64.s:1650"

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions