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

Uncaught ReferenceError: __vimjs_memory_initializer #4

Open
sukritiverma1996 opened this issue Jun 1, 2021 · 0 comments
Open

Uncaught ReferenceError: __vimjs_memory_initializer #4

sukritiverma1996 opened this issue Jun 1, 2021 · 0 comments

Comments

@sukritiverma1996
Copy link

Hello,
We tried setting up this React component in a couple of ways. Each time we ran into the following error:

Uncaught ReferenceError: __vimjs_memory_initializer is not defined at vim.js:formatted:1426
Please advise on how to resolve, have spent quite some time trying to fix it. Unable to proceed.

Attaching vim.js snippet that raises this error:

Module["removeRunDependency"] = removeRunDependency;
Module["preloadedImages"] = {};
Module["preloadedAudios"] = {};
var memoryInitializer = null;
STATIC_BASE = 2048;
STATICTOP = STATIC_BASE + 2551960;
var EMTSTACKTOP = STATIC_BASE + 1503376
  , EMT_STACK_MAX = EMTSTACKTOP + 1048576;
__ATINIT__.push();
var memoryInitializer = __vimjs_memory_initializer;
var tempDoublePtr = Runtime.alignMemory(allocate(12, "i8", ALLOC_STATIC), 8);
assert(tempDoublePtr % 8 == 0);
function copyTempFloat(ptr) {
    HEAP8[tempDoublePtr] = HEAP8[ptr];
    HEAP8[tempDoublePtr + 1] = HEAP8[ptr + 1];
    HEAP8[tempDoublePtr + 2] = HEAP8[ptr + 2];
    HEAP8[tempDoublePtr + 3] = HEAP8[ptr + 3]
}
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