Giter Club home page Giter Club logo

Comments (1)

TheRafaelFarias avatar TheRafaelFarias commented on June 2, 2024

Im trying to start a new project with proton native, but when i execute the command

Im getting this error

` > npx proton-native-cli init Creator
npx: instalou 45 em 13.866s
Creating a new Proton Native app on /home/rafael/dev/pratice/Creator

Installing packages... This may take a few minutes.

[email protected] install /home/rafael/dev/pratice/Creator/node_modules/node-qt-napi
cross-env JOBS=max node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Remote end closed socket abruptly.
/bin/sh: 1: pkg-config: not found
gyp: Call to 'pkg-config --libs-only-l Qt5Core Qt5Gui Qt5Widgets' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/home/rafael/.asdf/installs/nodejs/12.16.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.3.0-51-generic
gyp ERR! command "/home/rafael/.asdf/installs/nodejs/12.16.3/bin/node" "/home/rafael/.asdf/installs/nodejs/12.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/rafael/dev/pratice/Creator/node_modules/node-qt-napi/bindings/napi-v4/qt.node" "--module_name=qt" "--module_path=/home/rafael/dev/pratice/Creator/node_modules/node-qt-napi/bindings/napi-v4" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=4" "--node_napi_label=napi-v4"
gyp ERR! cwd /home/rafael/dev/pratice/Creator/node_modules/node-qt-napi
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/rafael/.asdf/installs/nodejs/12.16.3/bin/node /home/rafael/.asdf/installs/nodejs/12.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/rafael/dev/pratice/Creator/node_modules/node-qt-napi/bindings/napi-v4/qt.node --module_name=qt --module_path=/home/rafael/dev/pratice/Creator/node_modules/node-qt-napi/bindings/napi-v4 --napi_version=5 --node_abi_napi=napi --napi_build_version=4 --node_napi_label=napi-v4' (1)
node-pre-gyp ERR! stack at ChildProcess. (/home/rafael/dev/pratice/Creator/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 5.3.0-51-generic
node-pre-gyp ERR! command "/home/rafael/.asdf/installs/nodejs/12.16.3/bin/node" "/home/rafael/dev/pratice/Creator/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/rafael/dev/pratice/Creator/node_modules/node-qt-napi
node-pre-gyp ERR! node -v v12.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
Failed to execute '/home/rafael/.asdf/installs/nodejs/12.16.3/bin/node /home/rafael/.asdf/installs/nodejs/12.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/rafael/dev/pratice/Creator/node_modules/node-qt-napi/bindings/napi-v4/qt.node --module_name=qt --module_path=/home/rafael/dev/pratice/Creator/node_modules/node-qt-napi/bindings/napi-v4 --napi_version=5 --node_abi_napi=napi --napi_build_version=4 --node_napi_label=napi-v4' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: cross-env JOBS=max node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/rafael/.npm/_logs/2020-05-15T17_11_33_605Z-debug.log`

How i resolve, i installed qtbase5-dev and qt5-default (Ubuntu 18.04)

from proton-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.