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

_ZNK2v810StackFrame11GetLocationEv: symbol not found #453

Open
kilgaloon opened this issue Jan 25, 2024 · 5 comments
Open

_ZNK2v810StackFrame11GetLocationEv: symbol not found #453

kilgaloon opened this issue Jan 25, 2024 · 5 comments

Comments

@kilgaloon
Copy link

kilgaloon commented Jan 25, 2024

I rebuilt my docker container and suddenly I am seeing this error:

Error: Error relocating /build/node_modules/isolated-vm/out/isolated_vm.node: _ZNK2v810StackFrame11GetLocationEv: symbol not found
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1282:18)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/build/node_modules/isolated-vm/isolated-vm.js:1:18)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12) {
  code: 'ERR_DLOPEN_FAILED'

Container is built successfully and this is the error that is poping on the runtime.

Node version: 16.20.2

Also Python3, make and g++ are installed

@laverdet
Copy link
Owner

isolated-vm works on 16.20.2. It sounds like you are running an old binary somehow.

@kilgaloon
Copy link
Author

Sorry for the bother, after a couple of rebuilds, it is working now. Thanks for quick response!

@djibomar
Copy link

I facing the same issue on node 18.0 alpine no matter how many times I build the image. any workaround ?

@Tchoupinax
Copy link

Tchoupinax commented Mar 8, 2024

Hello,
I meet the same issue with node 21.
It works with node 18.12.

@kilgaloon
Copy link
Author

Just to point out this can be caused by node_modules being transferred to docker. I think that was my problem. Once I used node_modules in docker ignore and built an image with --no-cache it worked.

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

4 participants