Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

electron example fails #1584

Closed
andreiamatuni opened this issue Sep 21, 2018 · 5 comments
Closed

electron example fails #1584

andreiamatuni opened this issue Sep 21, 2018 · 5 comments
Labels
exp/wizard Extensive knowledge (implications, ramifications) required help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up

Comments

@andreiamatuni
Copy link

  • Version: master
  • Platform: macOS
  • Subsystem: whatever uses fs-ext

Type:

Bug

Severity:

Medium

Description:

electron example fails due to fs-ext native module

Steps to reproduce the error:

running run-in-electron example, and starting with npm start

produces this error:

dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/andrei/code/third_party/js-ipfs/examples/run-in-electron/node_modules/fs-ext/build/Release/fs-ext.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/andrei/code/third_party/js-ipfs/examples/run-in-electron/node_modules/fs-ext/build/Release/fs-ext.node
  Expected in: flat namespace
@victorb
Copy link
Member

victorb commented Sep 21, 2018

Could you paste the output of npm version here?

@andreiamatuni andreiamatuni changed the title electron example failes electron example fails Sep 22, 2018
@andreiamatuni
Copy link
Author

{ npm: '6.4.1',
  ares: '1.14.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.33.0',
  node: '10.10.0',
  openssl: '1.1.0i',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.0',
  v8: '6.8.275.30-node.24',
  zlib: '1.2.11' }

@alanshaw alanshaw added kind/bug A bug in existing code (including security flaws) exp/wizard Extensive knowledge (implications, ramifications) required help wanted Seeking public contribution on this issue status/ready Ready to be worked P2 Medium: Good to have, but can wait until someone steps up labels Sep 28, 2018
@patrick-ogrady
Copy link

patrick-ogrady commented Oct 13, 2018

Any update here? I am also getting this issue. but the reference is to

Referenced from: /Users/patrickogrady/code/CS191W/simple-recommender/node_modules/secp256k1/build/Release/secp256k1.node
  Expected in: flat namespace

@alanshaw
Copy link
Member

To clarify, this occurs when upgrading the example to use electron 3

@alanshaw
Copy link
Member

alanshaw commented May 3, 2019

Tracking for this issue has moved here #2011

@alanshaw alanshaw closed this as completed May 3, 2019
@ghost ghost removed the status/ready Ready to be worked label May 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
exp/wizard Extensive knowledge (implications, ramifications) required help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up
Projects
None yet
Development

No branches or pull requests

4 participants