Skip to content

Help Needed - Web-Client Always Throws Error "Function Import Requires a Callable" #45

Open
@jerryokk

Description

@jerryokk

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 (👇👇👇).
image

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

Activity

jerryokk

jerryokk commented on Mar 6, 2023

@jerryokk
Author

image
use nginx

canghai908

canghai908 commented on May 11, 2023

@canghai908

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.

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @canghai908@jerryokk

        Issue actions

          Help Needed - Web-Client Always Throws Error "Function Import Requires a Callable" · Issue #45 · maxmcd/webtty