Help Needed - Web-Client Always Throws Error "Function Import Requires a Callable"
jerryokk opened this issue · comments
jerryokk commented
I am facing an issue with my web-client where it always throws an error "Function Import Requires a Callable". I have tried to resolve it by changing two different computers but it still persists. My web-client address is https://jerryokk.github.io/webtty/ and I have attached a screenshot for your reference (👇👇👇).
Can you please help me fix this issue?
Versions:
npm version: 6.14.4
Node.js version: v10.19.0
Go version: 1.20.1
jerryokk commented
sole commented
I know,you can
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" webtty/web-client/src/
overwrite this file wasm_exec.js and
npm run build
will work.