menu

NodeGui

A library for building cross-platform native desktop applications with Node.js and CSS.

Channels
Team

NodeGUI watercooler

September 1, 2019 at 8:40am
Show previous messages

January 18, 2020 at 3:25pm
are the QMessageBox StandardButtons not implemented yet or is there another way to implement them in QMessageBox?
StandardButtons will not be implemented since we can achieve the desired functionality without them. StandardButtons add additional complexity due to the way qt and nodegui work internally.
  • reply
  • like
one would just use the QpushButton/addButton convention then for all buttons? defaultButton is still a thing as i see it in the docs, correct?
  • reply
  • like

January 21, 2020 at 1:24am
Hey Kylart, there are few ways to do this. 1. You could do qapp.processEvents() in a setTimeout in js side. This is what majority of qt bindings do. The issue with this approach is that cpu never becomes idle. 2. Another approach is to merge both qt and nodejs event loops. This is what qode does. It basically creates a qapp and runs qapp.exec for you. So on js side you would just write all the window creation etc.
Sorry for the late reply, I jumped on something else to resolve this. After looking at qode's code that what I figured out. Unfortunately, I was trying to use Qt bindings within an Electron Process which also has its own Node fork and I did not want to mess with forks to make event loops work together which would be hell to work on. Calling processEvents did not seem to do anything for me for some reason which I still do not understand today :(
  • reply
  • like

February 8, 2020 at 4:33pm
Hi ! Thank you for you fantastic work you're doing here!
  • reply
  • like
I made some good progress in my research app, however I'm blocked with this issue: https://github.com/nodegui/examples/issues/4#issuecomment-583752613
  • reply
  • like
Would love to see a reply from you when you have a chance!
  • reply
  • like

February 26, 2020 at 1:20am
Hey everyone, I'm looking into using QtMultimedia and its widgets. From what I gathered, it seems like NodeGUI intends these APIs to be included in plugins, like in https://github.com/nodegui/nodegui-plugin-example Is this right and I am supposed to clone that repo and go to town doing bindings, or is there another recommended way?
  • reply
  • like

February 28, 2020 at 9:41pm
hello , thanks for this gret project. I got a question for you and the community about distributing an application made with nodegui (qt based version). If i clone the nodegui-starter project, then i do npm install --production, the result is a node_modules dir that weights ~240mb, that is a lot for running an "hello world". Is there a suggested way to release and distribute application in order to minimize its size? Thank you
Edited
  • reply
  • like
hello , thanks for this gret project. I got a question for you and the community about distributing an application made with nodegui (qt based version). If i clone the nodegui-starter project, then i do npm install --production, the result is a node_modules dir that weights ~240mb, that is a lot for running an "hello world". Is there a suggested way to release and distribute application in order to minimize its size? Thank you
Hi You can look at https://github.com/nodegui/packer . Also node_modules folder will not be packaged with the final app. Webpack will bundle only the required js into a single js bundle along with necessary assets.
  • reply
  • like

February 29, 2020 at 8:57am
Hi You can look at https://github.com/nodegui/packer . Also node_modules folder will not be packaged with the final app. Webpack will bundle only the required js into a single js bundle along with necessary assets.
thnx!
  • reply
  • like

March 2, 2020 at 2:35am
I'm trying to go ahead with the QtMultimedia wrappers based on the nodegui-plugin-example project but I'm hitting a wall I assume with the build system. I already added libQt5Multimedia.so and libQt5MultimediaWidgets.so to the target_link_libraries call and I'm trying to import QMediaContent, but it's telling me it doesn't exist when compiling. Any ideas?
  • reply
  • like

March 2, 2020 at 9:08am
I'm trying to go ahead with the QtMultimedia wrappers based on the nodegui-plugin-example project but I'm hitting a wall I assume with the build system. I already added libQt5Multimedia.so and libQt5MultimediaWidgets.so to the target_link_libraries call and I'm trying to import QMediaContent, but it's telling me it doesn't exist when compiling. Any ideas?
Hey Amazing! Can you mention the link to the repo so that I can take a look? Also it will be amazing if you can post the error your are seeing too.
  • reply
  • like

March 2, 2020 at 8:15pm
Hi, I want to try node gui for small pet project. But I can't find folder with production build(
  • reply
  • like

March 3, 2020 at 8:29am
Hi, I want to try node gui for small pet project. But I can't find folder with production build(
Hi Igor, can you explain a bit more? You cant find the starter repo ?
Edited
  • reply
  • like
This is what I currently have: https://github.com/mixedCase/nodegui-plugin-qtmultimedia This is what the error looks like: https://pastebin.com/raw/82JCJSWv
I ll take a look after work today. The issue is basically that QtMultimedia cant find headers. This is because current version of Qode doesnt ship with those. So to solve this there is Qode 2.0. I ll raise a PR to your repo in a day or two with changes and you can take a look at there.
like-fill
1
  • reply
  • like

March 3, 2020 at 5:02pm
Hi Igor, can you explain a bit more? You cant find the starter repo ?
I try do this issue issue but I always catch exception.
Edited
  • reply
  • like
  • reply
  • like
Hi Looks like you are using an alpha version of packer which is not yet released for public use. It is supposed to be used with next version of NodeGui. Can you try using 1.1.2 version of packer and let me know the result ?
  • reply
  • like
Hi Looks like you are using an alpha version of packer which is not yet released for public use. It is supposed to be used with next version of NodeGui. Can you try using 1.1.2 version of packer and let me know the result ?
Thanks!! It works! Now I can start develop my app!! You do project with fine performance!
  • reply
  • like

March 7, 2020 at 11:16pm
I ll take a look after work today. The issue is basically that QtMultimedia cant find headers. This is because current version of Qode doesnt ship with those. So to solve this there is Qode 2.0. I ll raise a PR to your repo in a day or two with changes and you can take a look at there.
Hi I have raised a PR to your repo. Please do have a look whenever you can.
  • reply
  • like

March 20, 2020 at 7:52pm
Hi everyone I have started a couple of projects with nodegui and everything works correctly with version 0.13.4 From March 14 onwards with version 0.16.0 and later I keep getting an npm ERR! Code ELIFECYCLE error when I run npm install
This also happens by running npm install in the nodegui-starter repository instead of in my projects
I have already tried to delete the whole node_modules folder and run npm cache clean --force, but the problem has not been solved
I am on ubuntu 18.04 npm 6.13.4 node v12.16.1 cmake 3.16.5
I attach the output of the problem
> @nodegui/[email protected] prebuild:install /home/USER/git/nodegui-starter/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 @ /home/USER/.npm/_prebuilds/deb586-nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=linux)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/nodeg[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.
Edited
  • reply
  • like

March 21, 2020 at 10:59pm
Hi everyone I have started a couple of projects with nodegui and everything works correctly with version 0.13.4 From March 14 onwards with version 0.16.0 and later I keep getting an npm ERR! Code ELIFECYCLE error when I run npm install
This also happens by running npm install in the nodegui-starter repository instead of in my projects
I have already tried to delete the whole node_modules folder and run npm cache clean --force, but the problem has not been solved
I am on ubuntu 18.04 npm 6.13.4 node v12.16.1 cmake 3.16.5
I attach the output of the problem
> @nodegui/[email protected] prebuild:install /home/USER/git/nodegui-starter/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 @ /home/USER/.npm/_prebuilds/deb586-nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=linux)
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.
Hi This looks like only part of the entire install log. Could you post the entire log ? This just tells us that prebuilt binary failed to install.
We need to see more details. Also have you installed cmake on your system ?
  • reply
  • like
Hi This looks like only part of the entire install log. Could you post the entire log ? This just tells us that prebuilt binary failed to install.
We need to see more details. Also have you installed cmake on your system ?
yes, sorry, I had only posted that section of the log hoping that the error depended only on that '404' in 'prebuild install'
I can post the complete log but it is really long
If I run cmake --version I get an answer "cmake version 3.16.5" so I think it's installed correctly (I'm not a cmake expert)
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
> @nodegui/[email protected] postinstall /home/USER/git/nodegui-starter/node_modules/@nodegui/qode
> node install.js
Cached archive already exists at /home/USER/.cache/qode-nodejs/qode-linux-x64-v2.0.4.tar.gz. Skipping download....
Extracting /home/USER/.cache/qode-nodejs/qode-linux-x64-v2.0.4.tar.gz to /home/USER/git/nodegui-starter/node_modules/@nodegui/qode/binaries ...
Qode was setup successfully at : /home/USER/git/nodegui-starter/node_modules/@nodegui/qode/binaries
> @nodegui/[email protected] postinstall /home/USER/git/nodegui-starter/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 /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
> cross-env node ./scripts/setupMiniQt.js
Minimal Qt 5.14.1 setup:
Archive already exists at /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953qtbase-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z. Skipping download....
Extracting /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953qtbase-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z to /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt ...
Archive already exists at /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953icu-linux-Rhel7.2-x64.7z. Skipping download....
Extracting /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953icu-linux-Rhel7.2-x64.7z to /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt ...
Qt ICU for Minimal Qt: 5.14.1 installation was setup successfully. outDir: /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt
Qt Base for Minimal Qt: 5.14.1 installation was setup successfully. outDir: /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt
> @nodegui/[email protected] prebuild:install /home/USER/git/nodegui-starter/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 @ /home/USER/.npm/_prebuilds/deb586-nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=linux)
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?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/USER/.npm/_logs/2020-03-21T23_15_47_644Z-debug.log
> @nodegui/[email protected] build:addon /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
> cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile
[
'/usr/bin/node',
'/home/USER/git/nodegui-starter/node_modules/.bin/cmake-js',
'compile'
]
info TOOL Using Unix Makefiles generator.
info CMD CONFIGURE
info RUN cmake "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/Release" -DCMAKE_JS_INC="/home/USER/.cmake-js/node-x64/v12.16.1/include/node;/home/USER/git/nodegui-starter/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.1" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using QT installation for nodegui_core QT_CMAKE_HOME_DIR:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/cmake/Qt5
CMake Error at miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Failed to find "GL/gl.h" in "/usr/include/libdrm".
Call Stack (most recent call first):
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:207 (include)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
config/qt.cmake:23 (find_package)
CMakeLists.txt:164 (AddQtSupport)
-- Configuring incomplete, errors occurred!
See also "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build"
info CMD CONFIGURE
info RUN cmake "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/Release" -DCMAKE_JS_INC="/home/USER/.cmake-js/node-x64/v12.16.1/include/node;/home/USER/git/nodegui-starter/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.1" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using QT installation for nodegui_core QT_CMAKE_HOME_DIR:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/cmake/Qt5
CMake Error at miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Failed to find "GL/gl.h" in "/usr/include/libdrm".
Call Stack (most recent call first):
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:207 (include)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
config/qt.cmake:23 (find_package)
CMakeLists.txt:164 (AddQtSupport)
-- Configuring incomplete, errors occurred!
See also "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
ERR! OMG Process terminated: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] build:addon: `cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] build:addon 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?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/USER/.npm/_logs/2020-03-21T23_15_50_550Z-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/abbrev' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/ansi-regex' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/aproba' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/balanced-match' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/chownr' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/code-point-at' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/concat-map' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/console-control-strings' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/core-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/core-util-is' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/deep-extend' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/delegates' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/detect-libc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/detect-libc' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.detect-libc.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/fs.realpath' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/has-unicode' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/inherits' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/ini' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/isarray' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/minimist' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/ms' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/npm-normalize-package-bin):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/npm-normalize-package-bin' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.npm-normalize-package-bin.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/number-is-nan' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/object-assign' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/os-homedir' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/os-tmpdir' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/path-is-absolute' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/process-nextick-args' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/safe-buffer' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/safer-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/safer-buffer' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.safer-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/sax):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/sax' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.sax.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/semver' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/set-blocking' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/signal-exit' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/strip-json-comments' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/util-deprecate' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/wrappy' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.wrappy.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/yallist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/yallist' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.yallist.DELETE'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] postinstall: `cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
CONTENT OF "2020-03-21T23_15_47_644Z-debug.log" FILE
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'prebuild:install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild:install' ]
5 info lifecycle @nodegui/[email protected]~prebuild:install: @nodegui/[email protected]
6 verbose lifecycle @nodegui/[email protected]~prebuild:install: unsafe-perm in lifecycle true
7 verbose lifecycle @nodegui/[email protected]~prebuild:install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/node_modules/.bin:/home/USER/git/nodegui-starter/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/node_modules/.bin:/home/USER/git/nodegui-starter/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
8 verbose lifecycle @nodegui/[email protected]~prebuild:install: CWD: /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
9 silly lifecycle @nodegui/[email protected]~prebuild:install: Args: [
9 silly lifecycle '-c',
9 silly lifecycle 'prebuild-install --backend=cmake-js --runtime=napi --verbose'
9 silly lifecycle ]
10 silly lifecycle @nodegui/[email protected]~prebuild:install: Returned: code: 1 signal: null
11 info lifecycle @nodegui/[email protected]~prebuild:install: Failed to exec prebuild:install script
12 verbose stack Error: @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
12 verbose stack Exit status 1
12 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
12 verbose stack at EventEmitter.emit (events.js:311:20)
12 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
12 verbose stack at ChildProcess.emit (events.js:311:20)
12 verbose stack at maybeClose (internal/child_process.js:1021:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
13 verbose pkgid @nodegui/[email protected]
14 verbose cwd /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
15 verbose Linux 5.3.0-42-generic
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "prebuild:install"
17 verbose node v12.16.1
18 verbose npm v6.13.4
19 error code ELIFECYCLE
20 error errno 1
21 error @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
21 error Exit status 1
22 error Failed at the @nodegui/[email protected] prebuild:install script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
Edited
  • reply
  • like
yes, sorry, I had only posted that section of the log hoping that the error depended only on that '404' in 'prebuild install'
I can post the complete log but it is really long
If I run cmake --version I get an answer "cmake version 3.16.5" so I think it's installed correctly (I'm not a cmake expert)
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
> @nodegui/[email protected] postinstall /home/USER/git/nodegui-starter/node_modules/@nodegui/qode
> node install.js
Cached archive already exists at /home/USER/.cache/qode-nodejs/qode-linux-x64-v2.0.4.tar.gz. Skipping download....
Extracting /home/USER/.cache/qode-nodejs/qode-linux-x64-v2.0.4.tar.gz to /home/USER/git/nodegui-starter/node_modules/@nodegui/qode/binaries ...
Qode was setup successfully at : /home/USER/git/nodegui-starter/node_modules/@nodegui/qode/binaries
> @nodegui/[email protected] postinstall /home/USER/git/nodegui-starter/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 /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
> cross-env node ./scripts/setupMiniQt.js
Minimal Qt 5.14.1 setup:
Archive already exists at /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953qtbase-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z. Skipping download....
Extracting /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953qtbase-Linux-RHEL_7_6-GCC-Linux-RHEL_7_6-X86_64.7z to /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt ...
Archive already exists at /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953icu-linux-Rhel7.2-x64.7z. Skipping download....
Extracting /home/USER/.cache/nodegui-mini-qt-nodejs/5.14.1-0-202001240953icu-linux-Rhel7.2-x64.7z to /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt ...
Qt ICU for Minimal Qt: 5.14.1 installation was setup successfully. outDir: /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt
Qt Base for Minimal Qt: 5.14.1 installation was setup successfully. outDir: /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt
> @nodegui/[email protected] prebuild:install /home/USER/git/nodegui-starter/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 @ /home/USER/.npm/_prebuilds/deb586-nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=linux)
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?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/USER/.npm/_logs/2020-03-21T23_15_47_644Z-debug.log
> @nodegui/[email protected] build:addon /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
> cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile
[
'/usr/bin/node',
'/home/USER/git/nodegui-starter/node_modules/.bin/cmake-js',
'compile'
]
info TOOL Using Unix Makefiles generator.
info CMD CONFIGURE
info RUN cmake "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/Release" -DCMAKE_JS_INC="/home/USER/.cmake-js/node-x64/v12.16.1/include/node;/home/USER/git/nodegui-starter/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.1" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using QT installation for nodegui_core QT_CMAKE_HOME_DIR:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/cmake/Qt5
CMake Error at miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Failed to find "GL/gl.h" in "/usr/include/libdrm".
Call Stack (most recent call first):
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:207 (include)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
config/qt.cmake:23 (find_package)
CMakeLists.txt:164 (AddQtSupport)
-- Configuring incomplete, errors occurred!
See also "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build"
info CMD CONFIGURE
info RUN cmake "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/Release" -DCMAKE_JS_INC="/home/USER/.cmake-js/node-x64/v12.16.1/include/node;/home/USER/git/nodegui-starter/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.1" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using QT installation for nodegui_core QT_CMAKE_HOME_DIR:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/cmake/Qt5
CMake Error at miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
Failed to find "GL/gl.h" in "/usr/include/libdrm".
Call Stack (most recent call first):
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:207 (include)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
miniqt/5.14.1/gcc_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
config/qt.cmake:23 (find_package)
CMakeLists.txt:164 (AddQtSupport)
-- Configuring incomplete, errors occurred!
See also "/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
ERR! OMG Process terminated: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] build:addon: `cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] build:addon 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?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/USER/.npm/_logs/2020-03-21T23_15_50_550Z-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/abbrev' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/ansi-regex' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/aproba' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/balanced-match' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/chownr' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/code-point-at' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/concat-map' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/console-control-strings' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/core-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/core-util-is' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/deep-extend' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/delegates' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/detect-libc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/detect-libc' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.detect-libc.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/fs.realpath' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/has-unicode' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/inherits' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/ini' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/isarray' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/minimist' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/ms' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/npm-normalize-package-bin):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/npm-normalize-package-bin' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.npm-normalize-package-bin.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/number-is-nan' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/object-assign' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/os-homedir' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/os-tmpdir' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/path-is-absolute' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/process-nextick-args' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/safe-buffer' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/safer-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/safer-buffer' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.safer-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/sax):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/sax' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.sax.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/semver' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/set-blocking' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/signal-exit' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/strip-json-comments' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/util-deprecate' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/wrappy' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.wrappy.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents/node_modules/yallist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/yallist' -> '/home/USER/git/nodegui-starter/node_modules/fsevents/node_modules/.yallist.DELETE'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] postinstall: `cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
CONTENT OF "2020-03-21T23_15_47_644Z-debug.log" FILE
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'prebuild:install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild:install' ]
5 info lifecycle @nodegui/[email protected]~prebuild:install: @nodegui/[email protected]
6 verbose lifecycle @nodegui/[email protected]~prebuild:install: unsafe-perm in lifecycle true
7 verbose lifecycle @nodegui/[email protected]~prebuild:install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/node_modules/.bin:/home/USER/git/nodegui-starter/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui/node_modules/.bin:/home/USER/git/nodegui-starter/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
8 verbose lifecycle @nodegui/[email protected]~prebuild:install: CWD: /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
9 silly lifecycle @nodegui/[email protected]~prebuild:install: Args: [
9 silly lifecycle '-c',
9 silly lifecycle 'prebuild-install --backend=cmake-js --runtime=napi --verbose'
9 silly lifecycle ]
10 silly lifecycle @nodegui/[email protected]~prebuild:install: Returned: code: 1 signal: null
11 info lifecycle @nodegui/[email protected]~prebuild:install: Failed to exec prebuild:install script
12 verbose stack Error: @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
12 verbose stack Exit status 1
12 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
12 verbose stack at EventEmitter.emit (events.js:311:20)
12 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
12 verbose stack at ChildProcess.emit (events.js:311:20)
12 verbose stack at maybeClose (internal/child_process.js:1021:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
13 verbose pkgid @nodegui/[email protected]
14 verbose cwd /home/USER/git/nodegui-starter/node_modules/@nodegui/nodegui
15 verbose Linux 5.3.0-42-generic
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "prebuild:install"
17 verbose node v12.16.1
18 verbose npm v6.13.4
19 error code ELIFECYCLE
20 error errno 1
21 error @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
21 error Exit status 1
22 error Failed at the @nodegui/[email protected] prebuild:install script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
Got it! Thanks for the logs The issue is here: Failed to find "GL/gl.h" in "/usr/include/libdrm" Since 5.14 version of Qt i think in linux we need additional dependency You could try installing sudo apt install mesa-common-dev libglu1-mesa-dev and then run the build again
Edited
  • reply
  • like
Show more messages