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

Can't get started #8

Open
ericdmoore opened this issue Mar 11, 2021 · 5 comments
Open

Can't get started #8

ericdmoore opened this issue Mar 11, 2021 · 5 comments

Comments

@ericdmoore
Copy link

I was looking for a NodeGUI example to :

  1. see the finished project
  2. then look at the bones and architecture

Steps to reproduce:

  1. I have cloned the repo
  2. i cd in to the new dir and npm i
  3. Then the install explodes

Then the Problem Report for Python dialog box opens

Process:               Python [12444]
Path:                  /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               3.6.0 (3.6.0)
Code Type:             X86-64 (Native)
Parent Process:        node [12443]
Responsible:           Terminal [11605]
User ID:               502

Date/Time:             2021-03-11 11:11:19.862 -0600
OS Version:            macOS 11.2.2 (20D80)
Report Version:        12
Anonymous UUID:        0A03AFE5-BD97-7780-3C00-E43DC563C978

Sleep/Wake UUID:       97C77F5E-ED69-4511-9804-EED189799743

Time Awake Since Boot: 30000 seconds
Time Since Wake:       1100 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: No shared cache present
Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
  Reason: image not found

Binary Images:
       0x100000000 -        0x100000fff +org.python.python (3.6.0 - 3.6.0) <2D4A19AA-E1F7-61EE-36A7-8CEBCEBC97DA> /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
    0x7fff64f43000 -     0x7fff64fdefff  dyld (832.7.3) <0D4EA85F-7E30-338B-9215-314A5A5539B6> /usr/lib/dyld

After that the npm dialog shows:

ericmoore@cem mdview-nodegui % npm i 
npm ERR! code 1
npm ERR! path /Users/ericmoore/Web/mdview-nodegui/node_modules/@nodegui/nodegui
npm ERR! command failed
npm ERR! command sh -c cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon
npm ERR! > @nodegui/nodegui@0.13.1 prebuild:install
npm ERR! > prebuild-install --backend=cmake-js --runtime=napi --verbose
npm ERR! 
npm ERR! 
npm ERR! > @nodegui/nodegui@0.13.1 build:addon
npm ERR! > cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile
npm ERR! 
npm ERR! [
npm ERR!   '/Users/ericmoore/.nvm/versions/node/v12.18.0/bin/node',
npm ERR!   '/Users/ericmoore/Web/mdview-nodegui/node_modules/.bin/cmake-js',
npm ERR!   'compile'
npm ERR! ]
npm ERR! prebuild-install info begin Prebuild-install version 5.3.3
npm ERR! prebuild-install info install installing standalone, skipping download.
npm ERR! info TOOL Using Unix Makefiles generator.
npm ERR! info REP Build has been failed, trying to do a full rebuild.
npm ERR! ERR! OMG CMake executable is not found. Please use your system's package manager to install it, or you can get installers from there: http://cmake.org.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ericmoore/.npm/_logs/2021-03-11T17_11_32_096Z-debug.log
@ericdmoore
Copy link
Author

I am going to bump the version of @nodegui - and see what happens.

@ericdmoore
Copy link
Author

When I do a npm upgrade @nodegui/nodegui the python crash dialog shows up ... moving this thread to the nodegui repo for isssue tracking. will report back with root cause.

@ericdmoore
Copy link
Author

root cause was that my symlink for the python3 bash command was broken.

@ericdmoore
Copy link
Author

Ehh - not so fast - qode seems to hold the issue now.

@a7ul
Copy link
Owner

a7ul commented Mar 20, 2021

I bumped everything in package json and it works now.
Can you try agian ?

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

2 participants