Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scaledapps opened this issue Oct 21, 2022 · 1 comment
Open

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

scaledapps opened this issue Oct 21, 2022 · 1 comment

Comments

@scaledapps
Copy link

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

prashantpatil~$npm list
wasm_ascript@ /Users/prashantpatil/istio/wasm_ascript
├── @solo-io/proxy-runtime@0.1.15
└── assemblyscript@0.21.6

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

@scaledapps
Copy link
Author

@yuval-k : can you please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant