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

Demo not working #233

Closed
dani69654 opened this issue Jan 31, 2023 · 5 comments
Closed

Demo not working #233

dani69654 opened this issue Jan 31, 2023 · 5 comments

Comments

@dani69654
Copy link

dani69654 commented Jan 31, 2023

Following the steps here: https://docs.nodegui.org/#quick-start

git clone https://github.com/nodegui/nodegui-starter
cd nodegui-starter
npm install
npm start

Throws error on npm start

Error: dlopen(/Users/*/*/Coding/nodegui-starter/dist/nodegui_core-11b86f3fc08e20c5e2f70d6cf217ccd5.node, 0x0001): Library not loaded: @rpath/QtSvg.framework/Versions/5/QtSvg
  Referenced from: <C709F5BC-C745-31F0-B913-EAFDC85C3C00> /Users/*/*/Coding/nodegui-starter/dist/nodegui_core-11b86f3fc08e20c5e2f70d6cf217ccd5.node
  Reason: tried: '/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/QtSvg.framework/Versions/5/QtSvg' (no such file), '/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/nodegui/nodegui/miniqt/5.15.2/clang_64/lib/QtSvg.framework/Versions/5/QtSvg' (no such file), '/Library/Frameworks/QtSvg.framework/Versions/5/QtSvg' (no such file), '/System/Library/Frameworks/QtSvg.framework/Versions/5/QtSvg' (no such file, not in dyld cache)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1154:18)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at eval (webpack://nodegui-starter/./node_modules/@nodegui/nodegui/build/Release/nodegui_core.node?:1:18)
    at Object../node_modules/@nodegui/nodegui/build/Release/nodegui_core.node (/Users/*/*/Coding/nodegui-starter/dist/index.js:2632:1)
    at __webpack_require__ (/Users/*/*/Coding/nodegui-starter/dist/index.js:3139:42)
    at eval (webpack://nodegui-starter/./node_modules/@nodegui/nodegui/dist/lib/utils/addon.js?:3:15)
    at Object../node_modules/@nodegui/nodegui/dist/lib/utils/addon.js (/Users/*/*/Coding/nodegui-starter/dist/index.js:2549:1) {
  code: 'ERR_DLOPEN_FAILED'
}
@baradhili
Copy link

same here...

@wieczrafal
Copy link

And same here.

@lafkpages
Copy link

Getting the same on MacOS.

@KettLovahr
Copy link

A different, but likely related error on Linux:

/home/kett/Documents/Project/Other/JS/nodegui-starter/node_modules/@nodegui/qode/binaries/qode: symbol lookup error: /home/kett/Documents/Project/Other/JS/nodegui-starter/dist/nodegui_core-290f6c2c05e3b47bcedc55c3bd1078e0.node: undefined symbol: _ZdlPvm, version Qt_5

Seems to have to do with this issue. Changing the nodegui version as a comment on the linked issue says allows it to run normally.

This was a very bad first impression, though. This demo should probably be updated so that it works.

@sedwards2009
Copy link
Contributor

See #235

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

6 participants