mscdex / mscdex/ssh2

failed to asynchronously prepare wasm: RangeError: WebAssembly.instantiate(): Out of memory: wasm memory

Open
#1,275 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.8k
Forks
734
PR merge metrics
No merged PRs in 30d

Description

i get runtime error while deployed on cPanal

failed to asynchronously prepare wasm: RangeError: WebAssembly.instantiate(): Out of memory: wasm memory [RangeError: WebAssembly.instantiate(): Out of memory: wasm memory] /home/velocityiot/public_html/node-project/node_modules/ssh2/lib/protocol/crypto/poly1305.js:19

check many realted issue but not working anyone.

image

works perfect in local machine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The failure surfaces in node_modules/ssh2/lib/protocol/crypto/poly1305.js:19; start by reproducing the deployment on cPanel and compare it with the local runtime, focusing on the WebAssembly memory error. Confirm whether the same failure occurs at that entry point and document a verified cause or deployment-compatible resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, wasm
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.