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

building nodegui_core required? #20

Open
tiptronic opened this issue Aug 2, 2020 · 0 comments
Open

building nodegui_core required? #20

tiptronic opened this issue Aug 2, 2020 · 0 comments

Comments

@tiptronic
Copy link

First of all, thanks for your efforts to provide a Qt-based application framework.

In the beginners docs it states, no core-build-step is necessary, however, when I npm i any of the examples, it needs to build the nodegui_core ...

Is there something wrong on my side? Or do I miss some steps?

thx

andy

➜  systray git:(master) npm i

> [email protected] install /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node

> @nodegui/[email protected] postinstall /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/qode
> node install.js

Downloading Qode v2.0.4 [==================================================================] 100% of 11.16MB 0.0s
Extracting /Users/andy/Library/Caches/qode-nodejs/qode-darwin-x64-v2.0.4.tar.gz to /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/qode/binaries ...
Qode was setup successfully at : /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/qode/binaries

> @nodegui/[email protected] postinstall /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui
> cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)


> @nodegui/[email protected] setupqt /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui
> cross-env node ./scripts/setupMiniQt.js

Minimal Qt 5.14.1 setup:
Archive already exists at /Users/andy/Library/Caches/nodegui-mini-qt-nodejs/5.14.1-0-202001241000qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z. Skipping download....
Extracting /Users/andy/Library/Caches/nodegui-mini-qt-nodejs/5.14.1-0-202001241000qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z to /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui/miniqt ...
Archive already exists at /Users/andy/Library/Caches/nodegui-mini-qt-nodejs/5.14.1-0-202001241000qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z. Skipping download....
Extracting /Users/andy/Library/Caches/nodegui-mini-qt-nodejs/5.14.1-0-202001241000qttools-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z to /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui/miniqt ...
Qt Tools for Minimal Qt: 5.14.1 installation was setup successfully.  outDir: /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui/miniqt
Qt Base for Minimal Qt: 5.14.1 installation was setup successfully.  outDir: /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui/miniqt

> @nodegui/[email protected] prebuild:install /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui
> prebuild-install --backend=cmake-js --runtime=napi --verbose

prebuild-install info begin Prebuild-install version 5.3.3
prebuild-install info looking for cached prebuild @ /Users/andy/.npm/_prebuilds/b85994-nodegui-v0.15.5-napi-v3-darwin-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.15.5/nodegui-v0.15.5-napi-v3-darwin-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.15.5/nodegui-v0.15.5-napi-v3-darwin-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=darwin)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] prebuild:install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

and then a (longer) cmake process starts:

-- Build files have been written to: /Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui/build
info CMD BUILD
info RUN cmake --build "/Users/andy/Desktop/odegui/examples/nodegui/systray/node_modules/@nodegui/nodegui/build" --config Release
Scanning dependencies of target nodegui_core_autogen
[  1%] Automatic MOC and UIC for target nodegui_core
[  1%] Built target nodegui_core_autogen
Scanning dependencies of target nodegui_core
[  2%] Building CXX object CMakeFiles/nodegui_core.dir/nodegui_core_autogen/mocs_compilation.cpp.o
[  4%] Building CXX object CMakeFiles/nodegui_core.dir/src/cpp/main.cpp.o
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

1 participant