Skip to content

File '~lib/@solo-io/proxy-runtime/proxy.ts' not found #294

Open
@scaledapps

Description

Trying a sample assembly script. What's missing here?

prashantpatil~$npm list
wasm_ascript@ /Users/prashantpatil/istio/wasm_ascript
├── @solo-io/[email protected]
└── [email protected]

prashantpatil~$npm install

up to date, audited 5 packages in 750ms

1 package is looking for funding
run npm fund for details

found 0 vulnerabilities
prashantpatil~$npm run asbuild:debug

asbuild:debug
asc assembly/index.ts --target debug

ERROR TS6054: File '~lib/@solo-io/proxy-runtime/proxy.ts' not found.
:
1 │ export * from "@solo-io/proxy-runtime/proxy"; // this exports the required functions for the proxy to interact with us.
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
└─ in assembly/index.ts(1,15)

ERROR TS6054: File '~lib/@solo-io/proxy-runtime.ts' not found.
:
2 │ import { RootContext, Context, registerRootContext, FilterHeadersStatusValues, stream_context } from "@solo-io/proxy-runtime";
│ ~~~~~~~~~~~~~~~~~~~~~~~~
└─ in assembly/index.ts(2,102)

FAILURE 2 parse error(s)

image

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