Comments (35)
Hi @khanobd
Could you try deleteing you node_modules folder and do an npm install again ?
Also could you post the logs of your npm install aswell ?
from react-nodegui.
Hi @master-atul
Please find logs attached .
please find logs attached
2019-09-27T13_24_32_732Z-debug.log
2019-09-27T13_24_40_535Z-debug.log********
from react-nodegui.
2019-10-01T12_47_24_654Z-debug.log
Uploading 2019-10-01T12_47_34_370Z-debug.log…
from react-nodegui.
kindly suggest
from react-nodegui.
Hi @khanobd
I was a bit busy last few days. Have you installed all the requirements mentioned here:
https://docs.nodegui.org/docs/guides/getting-started ?
Looks like the build doesnt start on your system.
from react-nodegui.
Yes and tried on other system too but no success
from react-nodegui.
npm start comes up with error always
from react-nodegui.
Hi, I believe it might be possible that we have issues with Windows7.
But anyway could you install https://visualstudio.microsoft.com/visual-cpp-build-tools/
and give it a try again? @khanobd
from react-nodegui.
Ok I will and update
from react-nodegui.
Hi Atul
Install build but no success
from react-nodegui.
Hi @master-atul
Done with configuration on windows 10 ... it was actually some version and upgrades
Need to configure on linux and done whole setup " npm install" successfull just atlast while " npm start "
get below error
"qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
"
Reinstall it but stuck again .... Kindly suggest
from react-nodegui.
Nice!
Okay so some linux distributions have this issue. (Ubuntu/Debian works fine). To solve this you can install qt on your linux system (only needed for development).
from react-nodegui.
@master-atul QT installed but still comes up with this error ...Kindly suggest
from react-nodegui.
Okay once you have done that.
Can you try setting an environment variable QT_INSTALL_DIR=/Users/path to qt/5.13.0/clang_64
before running the npm run start command @khanobd
from react-nodegui.
basically
rm -rf node_modules
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm install
and
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm start
from react-nodegui.
Hi @master-atul
Done with mentioned above steps still geting below message
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Kindly suggest
from react-nodegui.
One more issue facing here with
eps@ubuntu:$ node -v$ nodejs -v
v10.16.3
eps@ubuntu:
v4.2.6
eps@ubuntu:~$
even after purge and reinstalling 12x on restart its again V10.6
tried a lot but no success If can please suggest too may be this too issue create problem
using ubuntu 16.4
from react-nodegui.
Could you install node js using something like nvm : https://github.com/nvm-sh/nvm
This should allow you to easily switch node versions.
from react-nodegui.
eps@ubuntu:$ node -v$ nvm ls
v10.16.3
eps@ubuntu:
-> v10.16.3
v12.4.0
v12.11.1
system
default -> v10.16.3
node -> stable (-> v12.11.1) (default)
stable -> 12.11 (-> v12.11.1) (default)
eps@ubuntu:$ nvm use system$ nvm run system --v12.4.0
Now using system version of node: v12.4.0 (npm v6.9.0)
eps@ubuntu:
Running node system (npm v6.9.0)
eps@ubuntu:~$ node -v
v12.4.0
its already install and default is default -> v10.16.3 ... I need to swith ...Done ...Thanks
from react-nodegui.
Running below mentioned steps
rm -rf node_modules
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm install
and
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm start
Still Come still with error
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
from react-nodegui.
could you post the actual command you used instead of
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm install
?
from react-nodegui.
@master-atul remove modules and run below commands to install and run as mentioned by you few days back
rm -rf node_modules
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm install
and
QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm start
from react-nodegui.
Yes @khanobd
but I want to know what path you specified in QT_INSTALL_DIR
from react-nodegui.
/home/eps/nodegui-starter
from react-nodegui.
QT_INSTALL_DIR should bevthe path to ur qt installation folder not the one u specified above
from react-nodegui.
there run the mentioned command
and path shows is
/home/eps/nodegui-starter/node_modules/@nodegui/qode/dist/1.0.5/include/QtCore/5.13.0
from react-nodegui.
at this path /home/eps/nodegui-starter
run command QT_INSTALL_DIR=/Users/path/to/qt/5.13.0/clang_64 npm install
and now path shows is
/home/eps/nodegui-starter/node_modules/@nodegui/qode/dist/1.0.5/include/QtCore/5.13.0
is it somewhere have done a miss ?
from react-nodegui.
ok @khanobd could you paste the actual location where you have installed Qt on your system?
from react-nodegui.
eps@ubuntu:/nodegui-starter$ pwd/nodegui-starter$
/home/eps/nodegui-starter
eps@ubuntu:
here at this location did installation process
from react-nodegui.
eps@ubuntu:/opt$ whereis qt5
qt5: /usr/share/qt5
eps@ubuntu:/opt$
from react-nodegui.
yes so you should be using QT_INSTALL_DIR=/usr/share/qt5/5.13.0/clang_64 npm install
Please do check if those folders exist for you in the location
Check if this path exists (/usr/share/qt5/5.13.0/clang_64 ) or modify accordingly
from react-nodegui.
Yes its not there
eps@ubuntu:/usr/share/qt5$ cd 5.13.0
-bash: cd: 5.13.0: No such file or directory
eps@ubuntu:/usr/share/qt5$ ls -a
. .. doc phrasebooks translations
eps@ubuntu:/usr/share/qt5$
from react-nodegui.
eps@ubuntu:/nodegui-starter$rm -rf node_modules/nodegui-starter$QT_INSTALL_DIR=/usr/share/qt5/5.13.0/clang_64 npm install
eps@ubuntu:
eps@ubuntu:/nodegui-starter$QT_INSTALL_DIR=/usr/share/qt5/5.13.0/clang_64 npm start/nodegui-starter$ pwd
eps@ubuntu:
/home/eps/nodegui-starter
Is is what did right ?
no success :(
same error
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Extremly sorry to trouble @master-atul
from react-nodegui.
Plugin folder was empty and yes some path issue ... purge QT
Install again with
sudo apt-get -y update
sudo apt-get -y install build-essential libgl1-mesa-dev libassimp-dev libfontconfig1 libdbus-1-3 wget
sudo wget http://download.qt.io/official_releases/qt/5.9/5.9.1/qt-opensource-linux-x64-5.9.1.run
sudo chmod +x qt-opensource-linux-x64-5.9.1.run
./qt-opensource-linux-x64-5.9.1.run
But here while running ./qt-opensource-linux-x64-5.9.1.run
get below error
root@ubuntu:~# ./qt-opensource-linux-x64-5.9.1.run
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QXcbConnection: Could not connect to display
Suggest please
from react-nodegui.
This shouldnt happen in the latest version of react-nodegui.
Closing this issue
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.