Skip to content

Startup error #76

Description

@rasenfer

Following the example for v0.1.15 the wasm files was generad correctly. But if I try to run the plugin on envoy it launch next error:

wasm log vm_poc_service_mesh_wasm_js: Missing root context factory for root id: at: ~lib/@solo-io/proxy-runtime/assembly/runtime.ts(1044:5)

Testing in kubernetes + istio I get the same error.

Tested with "assemblyscript": "^0.19.0" and "assemblyscript": "^0.20.0"
Tested with proxy-runtime v0.1.14 too.

Package.json
{ "name": "poc-service-mesh-wasm-js", "version": "1.0.0", "dependencies": { "@solo-io/proxy-runtime": "0.1.15", "@assemblyscript/loader": "^0.19.23" }, "devDependencies": { "assemblyscript": "^0.19.0" }, "scripts": { "asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm --use abort=abort_proc_exit -t build/untouched.wat --sourceMap http://127.0.0.1:8081/build/untouched.wasm.map --debug", "asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm --use abort=abort_proc_exit -t build/optimized.wat --sourceMap --optimize", "asbuild": "npm run asbuild:untouched && npm run asbuild:optimized" }, "type": "module" }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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