Git Product home page Git Product logo

Comments (35)

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

2019-10-01T12_47_24_654Z-debug.log
Uploading 2019-10-01T12_47_34_370Z-debug.log…

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

kindly suggest

from react-nodegui.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

Yes and tried on other system too but no success

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

npm start comes up with error always

from react-nodegui.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

Ok I will and update

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

Hi Atul

Install build but no success

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

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.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

@master-atul QT installed but still comes up with this error ...Kindly suggest

from react-nodegui.

a7ul avatar a7ul commented on May 14, 2024

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.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

One more issue facing here with
eps@ubuntu:$ node -v
v10.16.3
eps@ubuntu:
$ nodejs -v
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.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

eps@ubuntu:$ node -v
v10.16.3
eps@ubuntu:
$ nvm ls
-> 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
Now using system version of node: v12.4.0 (npm v6.9.0)
eps@ubuntu:
$ nvm run system --v12.4.0
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.

khanobd avatar khanobd commented on May 14, 2024

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.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

@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.

a7ul avatar a7ul commented on May 14, 2024

Yes @khanobd

but I want to know what path you specified in QT_INSTALL_DIR

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

/home/eps/nodegui-starter

from react-nodegui.

a7ul avatar a7ul commented on May 14, 2024

QT_INSTALL_DIR should bevthe path to ur qt installation folder not the one u specified above

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

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.

a7ul avatar a7ul commented on May 14, 2024

ok @khanobd could you paste the actual location where you have installed Qt on your system?

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

eps@ubuntu:/nodegui-starter$ pwd
/home/eps/nodegui-starter
eps@ubuntu:
/nodegui-starter$

here at this location did installation process

from react-nodegui.

khanobd avatar khanobd commented on May 14, 2024

eps@ubuntu:/opt$ whereis qt5
qt5: /usr/share/qt5
eps@ubuntu:/opt$

from react-nodegui.

a7ul avatar a7ul commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

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.

khanobd avatar khanobd commented on May 14, 2024

eps@ubuntu:/nodegui-starter$rm -rf node_modules
eps@ubuntu:
/nodegui-starter$QT_INSTALL_DIR=/usr/share/qt5/5.13.0/clang_64 npm install
eps@ubuntu:/nodegui-starter$QT_INSTALL_DIR=/usr/share/qt5/5.13.0/clang_64 npm start
eps@ubuntu:
/nodegui-starter$ pwd
/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.

khanobd avatar khanobd commented on May 14, 2024

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.

a7ul avatar a7ul commented on May 14, 2024

This shouldnt happen in the latest version of react-nodegui.
Closing this issue

from react-nodegui.

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.