Comments (1)
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)
- What is the difference between Proton Native and React Native for Windows by Microsoft ? HOT 1
- Embedded database
- example use of HTML5 canvas
- How do I add screen management to my project
- Screen Management
- No matching version found for node-qt-napi@^0.0.4.
- Little typo error on proton-native wep page
- Error while running exe created
- [macOS] Create a spotlight-like window HOT 3
- Integrating with existing React-Native apps
- continuation HOT 5
- Error Executig npm start
- Unable to create a Proton-Native App in Raspberry Pi 4B HOT 3
- Will anyone ever make a fork of this repo? HOT 16
- Problems with converting the notepad example from js to tsx
- How do you log to the console? HOT 1
- Proton-native in 2022 HOT 1
- Usage on windows
- Display window above other Fullscreen windows (Games) on Windows OS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proton-native.