question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[IPC Library: File Watcher (nsfw)] Error: dlopen failed: cannot locate symbol

See original GitHub issue
  • Web Browser:
  • Local OS:
  • Remote OS:
  • Remote Architecture:
  • code-server --version:

run on termux

$ uname -a
Linux localhost 4.14.83-perf+ #1 SMP PREEMPT Wed May 6 14:25:36 CST 2020 aarch64 Android

error message

[IPC Library: File Watcher (nsfw)] Error: dlopen failed: cannot locate symbol "_ZN14InotifyServiceC1ENSt6__ndk110shared_ptrI10EventQueueEENS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE" referenced by "/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/node_modules/vscode-nsfw/build/Release/nsfw.node"...                                                            at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)                                           at Module.load (internal/modules/cjs/loader.js:1049:32)    at Function.Module._load (internal/modules/cjs/loader.js:937:14)                                                      at Module.require (internal/modules/cjs/loader.js:1089:19)
    at require (internal/modules/cjs/helpers.js:73:18)         at Object.<anonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/node_modules/vscode-nsfw/lib/src/index.js:3:16)                  at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)                                             at Module.load (internal/modules/cjs/loader.js:1049:32)
    at Function.Module._load (internal/modules/cjs/loader.js:937:14)
    at Module.require (internal/modules/cjs/loader.js:1089:19)
    at require (internal/modules/cjs/helpers.js:73:18)
    at t.load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:16:119)
    at e.load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:13:586)
    at i (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:29:259)
    at Object.errorback (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:29:383)
    at e.triggerErrorback (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:13:955)
    at /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:13:659
    at ReadFileContext.callback (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:16:494)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:260:13)
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:205:27)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (internal/streams/destroy.js:100:8)
    at emitErrorCloseNT (internal/streams/destroy.js:68:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read'
}
error VS Code exited unexpectedly with code 1

code-server --version

3.4.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yozmancommented, Jul 18, 2020

I think it’s a bug with nsfw native module, so I opened an issue here https://github.com/Axosoft/nsfw/issues/117

0reactions
stale[bot]commented, Oct 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

File Watcher (nsfw)] Error: dlopen failed: cannot locate symbol ...
[IPC Library: File Watcher (nsfw)] Error: dlopen failed: cannot locate symbol #1879 ; blocked This issue cannot proceed due to external factors ...
Read more >
openssl - How to fix 'dlopen failed: cannot locate symbol ...
I found on StackOverflow, that it can be caused, if you compile native library (as openssl) against higher android version, then the used...
Read more >
Untitled
#gardner Smp pgri 6 malang, Wild game jerky and sausage gun, Dirt sifting table, Zelary 2003 movie, Thomas riis johansen, My logo design...
Read more >
Issues · Axosoft/nsfw · GitHub
A super fast and scaleable file watcher that provides a consistent ... [IPC Library: File Watcher (nsfw)] Error: dlopen failed: cannot locate symbol....
Read more >
Untitled
Fix error path if regex engine cannot be created in _build_matcher(). ... (.v) files are installed - Stopped addition of other icon file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found