-
Notifications
You must be signed in to change notification settings - Fork 25
Description
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" }