Comments (6)
@master-atul thanks for finding that, I had this issue too and I can confirm that switching to Python 2 for the installation resolves it.
If you have Python installed using pyenv
(https://github.com/pyenv/pyenv), this is very easy to do (and if you don't have Python installed using pyenv
, I highly recommend it). Basic steps with pyenv
:
pyenv install 2.7.16
(assuming a version of Python 2 is not already installed)pyenv shell 2.7.16
npm install
These steps will set your current shell/terminal so that only Python 2 is available, and then when you run npm install
from that same shell, the installation/build works.
from react-nodegui.
Alright this seems to be node-gyp issue.
libxmljs/libxmljs#469
Seems like you have python3 installed and node-gyp has issues with it. Would it be possible for you to try with python2 or alternatives as suggested on the above link?
I am planning to add precompiled binary support for this library. But until then this might help.
from react-nodegui.
Will update Readme and close this issue : https://github.com/nodegui/nodegui/projects/1#card-25295641
from react-nodegui.
Is this only with this specific example or all of them?
from react-nodegui.
Could you try the starter repo https://github.com/nodegui/react-desktop-starter ?
from react-nodegui.
Related node-gyp issues: nodejs/node-gyp#193
from react-nodegui.
Related Issues (20)
- Bad URL Protocol C: when running on Windows.
- react nodegui call stack exceeded error when using GridView/ BoxView components HOT 5
- What should I use to manipulate audio in react nodegui? HOT 1
- Running for the second time no Macbook M1 HOT 3
- [Question] How do I use an SVG as an app background?
- It seems that react third-party component libraries are not supported HOT 1
- RNList and FlexLayout
- process dlopen: Cannot find symbol in flat namespace
- Can I create Intel windows binary on Apple Arm M1 machine ?
- libQt5Core.so.5: version `Qt_5.15' not found
- Cannot receive close event of FileDialog HOT 2
- Can I create submenus for System Tray Menu Actions?
- Is List component same as FlatList (efficient renderer)?
- Frameless window
- qmenubar.setCornerWidget
- Getting selected text in PlainTextEdit
- QTableWidget support
- This project is unmaintained
- Add windowGeometryChanged to QMainWindowSignals to track window changes. HOT 1
- was this project die?
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 react-nodegui.