function-stream icon indicating copy to clipboard operation
function-stream copied to clipboard

runtime/wazero error in windows environment

Open wyyolo opened this issue 1 year ago • 0 comments

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

wyyolo avatar Mar 26 '24 12:03 wyyolo