Code Monkey home page Code Monkey logo

react-nodegui-starter's Introduction

NodeGui

All Contributors JS Party #96 Build and Test status Discuss on GitHub

Build performant, native and cross-platform desktop applications with Node.js and CSS like styling.πŸš€

NodeGUI is powered by Qt6 πŸ’š which makes it CPU and memory efficient as compared to other chromium based solutions like Electron.

If you are looking for React based version, check out: React NodeGUI.

If you are looking for Vue based version, check out: Vue NodeGUI.

If you are looking for Svelte based version, check out: Svelte NodeGUI

Visit https://nodegui.github.io/nodegui for docs.

logo

How does it look?

demo_linux demo_win demo_mac
kitchendemo_macdemo_win

Code Examples

https://github.com/nodegui/examples


Features

  • 🧬 Cross platform. Works on major Linux flavours, Windows, and MacOS.
  • πŸ“‰ Low CPU and memory footprint. Current CPU stays at 0% on idle and memory usage is under 20MB for a Hello World program.
  • πŸ’… Styling with CSS (includes actual cascading). Also has full support for Flexbox layout (thanks to Yoga).
  • βœ… Complete Nodejs API support (Currently runs on Node v16.x - and is easily upgradable). Hence has access to all Nodejs compatible NPM modules.
  • πŸŽͺ Native widget event listener support. Supports all events available from Qt / NodeJs.
  • πŸ’Έ Can be used for Commercial applications.
  • πŸ•΅οΈβ€β™‚οΈ Good Devtools support.
  • πŸ“š Good documentation and website.
  • πŸ§™β€β™‚οΈ Good documentation for contributors.
  • πŸ¦ΉπŸ»β€β™€οΈ Good support for dark mode (Thanks to Qt).
  • πŸ…First class Typescript support. (Works on regular JS projects too πŸ˜‰).

Getting Started

Installation

To install latest stable release:

npm install @nodegui/nodegui

To install the latest version available on master branch:

npm install https://github.com/nodegui/nodegui/releases/download/v0.0.0-latest-master/nodegui-master.tgz

or a shorter version:

npm i http://master-release.nodegui.org

If the installation fails to download the Qt binaries, a mirror can be used by setting the following environment variable and running the install command again:

QT_LINK_MIRROR=<alternative domain> # eg. QT_LINK_MIRROR=https://qt-mirror.dannhauer.de

npm install @nodegui/nodegui

See FAQs for more details.

Community guides

Talks/Podcasts

Docs for contributing

It is easier than you think, try it

Looking to contribute? If you wish to implement a new widget/add more features and need help understanding the codebase, you can start here: Contributing developer docs.

Please read https://github.com/nodegui/.github/blob/master/CONTRIBUTING.md

Building from source

This section is useful for those wanting to work on NodeGui itself.

Required tooling

NodeGui requires CMake and Compilation Tools as it is a wrapper for a native C++ widget toolkit QT. Detailed instructions here: https://www.sitepoint.com/build-native-desktop-gif-searcher-app-using-nodegui/

TL;DR:

MacOS

brew install cmake
brew install make

Windows

https://cmake.org/download/

Linux (Debian/Ubuntu)

sudo apt-get install pkg-config build-essential
sudo apt-get install cmake make
sudo apt-get install mesa-common-dev libglu1-mesa-dev

Linux (Fedora/RHEL/CentOS)

sudo dnf groupinstall "Development Tools" "Development Libraries"
sudo dnf groupinstall "C Development Tools and Libraries"
sudo dnf install mesa-libGL mesa-libGL-devel

Building

Once you have cloned this git repository, run this to build:

npm install
npm run build

The last step will takes some time to run as it builds the C++ binaries at the core of NodeGui.

Using your own custom Qt installation (Optional)

Compiling Qt from source

You will need to download and install Qt from source since there are no binaries from Qt for M1 yet.

(https://www.reddit.com/r/QtFramework/comments/ll58wg/how_to_build_qt_creator_for_macos_arm64_a_guide/)

git clone git://code.qt.io/qt/qt5.git qt6
cd qt6
git checkout 6.6

./init-repository --module-subset=essential -f
git submodule init qtsvg
git submodule update qtsvg

cd ..
mkdir qt6-6.6-macOS-release
cd qt6-6.6-macOS-release

../qt6/configure -release QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -skip qt3d -skip webengine -skip qtactiveqt -skip qtcanvas3d  -skip qtdeclarative -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtcharts -skip qtgraphicaleffects -skip qtlocation  -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtscript

make -j15

make install

This should install Qt into something like this /usr/local/Qt-6.6.0 (your directory can change. This will be displayed when running make)

Pointing nodegui to use your custom Qt installation

Now just set export QT_INSTALL_DIR=<your qt path> . In the above example it would look something like this export QT_INSTALL_DIR=/usr/local/Qt-6.6.0. Add this in your .zshrc or .bashrc so that you dont need to repeat this process again.

Now just rm -rf node_modules and do npm install again.

The logs should say something like CustomQt detected at <your qt path>. Hence, skipping Mini Qt installation.

Running example programs

A number of small programs to show different parts of the Qt API are in src/examples. They can be run directly with:

npm run qode dist/examples/modelview_1_readonly.js

Updating docs

npm run docs

then followed by:

cd website && GIT_USER=<your_git_username> yarn deploy

Funding

NodeGui is an open source project and requires your support. If you like this project, please consider supporting my work by clicking on the Sponsor button on this Github repository or via Ko-Fi. Alternatively, Issues on NodeGui can be funded by anyone via Issuehunt and the amount will be distributed to respective contributors.

Buy Me a Coffee at ko-fi.com Β  Β issuehunt

Special Thanks

Code of Conduct

https://github.com/nodegui/.github/blob/master/CODE_OF_CONDUCT.md

License

MIT

Backers πŸš€

Thanks goes to these wonderful people.

Yuriy Yazlovytskyy
Yuriy Yazlovytskyy
John Susek
John Susek
Marc Dijoux
Marc Dijoux
Stephen Belanger
Stephen Belanger
Rustam
Rustam

Maintainers ✨

People maintaining this project.

Atul R
Atul R
Simon Edwards
Simon Edwards

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Lucas Ramage

πŸ“–

Denis Sikuler

πŸ“–

Nahuel JosΓ©

πŸ’¬

Kakul Gupta

πŸ’»

Rahul Gaba

πŸ’»

PaweΕ‚ Borecki

πŸ’»

Marcus S. Abildskov

⚠️

Átila Camurça Alves

πŸ“–

James Hibbard

πŸ’»

Soonwoo Hong

πŸ’»

Roy Sommer

πŸ’»

Paulo Coghi

πŸ€”

Balthild Ires

πŸ’»

Dimitar Nestorov

πŸ’»

Mikko Sairio

πŸ’»

Pepijn

πŸ’»

slidinghotdog

πŸ’»

Bundyo (Kamen Bundev)

πŸ’»

feng8848

πŸ’»

Maksim Karelov

πŸ’»

mspencer92

πŸ’»

blncd2020

πŸ“–

gluaxspeed

πŸ’»

Solant

πŸ’»

Shubham Zanwar

πŸ’»

Singha360

πŸ’»

Mihkel

πŸ’»

Stephen A

πŸ’»

桁君酱

πŸ’»

Adam Gastineau

πŸ’»

swittk

πŸ’»

craftingmod

πŸ’»

Doug Barbieri

πŸ’»

HENRIQUE DE SOUZA NERY

πŸ’»

Ruslan Garifullin

πŸ’»

Ranieri

πŸ’» πŸ“–

Nathanael Anderson

πŸ’»

Ross

πŸ’» πŸ“–

4h7l

πŸ’»

Maks

πŸ’»

zhb124404

πŸ“–

Wyatt Kirby

πŸ’»

Steven Koch

πŸ’»

Simon Edwards

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

react-nodegui-starter's People

Contributors

a7ul avatar allcontributors[bot] avatar dependabot-preview[bot] avatar erikswed avatar kakulgupta avatar pepf avatar rgabs avatar singha360 avatar solant avatar triforcely avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-nodegui-starter's Issues

Warning for depreciated dependencies on Node 14+

I am getting the below warning while installing the nodegui-react that I cloned, and am running node v14.15.3

warning webpack > watchpack > watchpack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning webpack > node-libs-browser > url > [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning webpack > watchpack > watchpack-chokidar2 > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning webpack > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning webpack > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated

Packaging the App

Hello! I was able to successfully run the app based on the instructions. I also used @nodegui/packer to create a bundle (on macOS for now). I think it will be useful to add the templates for app bundles in this repo and/or add information about generating them. Thanks!

npm ERR! Failed at the [email protected] start script.

yusuf-MacBook-Air-2:react-nodegui-starter-master yusuf$ npm start

> [email protected] start /Users/yusuf/Documents/Node_GUI/downloaded/react-nodegui-starter-master
> qode --inspect ./dist/index.js

events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: spawn /Users/yusuf/Documents/Node_GUI/downloaded/react-nodegui-starter-master/node_modules/@nodegui/qode/dist/1.0.6/qode EACCES
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:832:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
    at onErrorNT (internal/child_process.js:415:16)
    [... lines matching original stack trace ...]
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `qode --inspect ./dist/index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start 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!     /Users/yusuf/.npm/_logs/2020-02-02T07_15_21_719Z-debug.log

at the end when I am running npm start receiving above error
can someone help me to solve this?

thanks

Error while trying to install dependencies using yarn or npm

It shows this error:

$ yarn
yarn install v1.22.4
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in
 order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning @nodegui/react-nodegui > @nodegui/nodegui > cmake-js > [email protected]: request has been deprecated, see https://github.com/request/request
/issues/3142
warning webpack > watchpack > watchpack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less depend
encies.
warning webpack > watchpack > watchpack-chokidar2 > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure bin
aries. Upgrade to fsevents 2.
warning webpack > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning webpack > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
aries. Upgrade to fsevents 2.
warning webpack > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning webpack > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @nodegui/[email protected]" has unmet peer dependency "@nodegui/nodegui@>=0.15.0".
[4/4] Building fresh packages...
[3/3] β‘€ @nodegui/nodegui
[-/3] β‘€ waiting...
error D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui: Command failed.
Exit code: 1
Command: cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)
Arguments:
Directory: D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui
Output:
> @nodegui/[email protected] setupqt D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env node ./scripts/setupMiniQt.js

Minimal Qt 5.14.1 setup:
Archive already exists at C:\Users\p32929\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Wind
ows-Windows_10-X86_64.7z. Skipping download....
Extracting C:\Users\p32929\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-
X86_64.7z to D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
Archive already exists at C:\Users\p32929\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windo
ws-Windows_10-X86_64.7z. Skipping download....
Extracting C:\Users\p32929\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X
86_64.7z to D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
Qt Tools for Minimal Qt: 5.14.1 installation was setup successfully.  outDir: D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@node
gui\nodegui\miniqt
Qt Base for Minimal Qt: 5.14.1 installation was setup successfully.  outDir: D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodeg
ui\nodegui\miniqt

> @nodegui/[email protected] prebuild:install D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui
> prebuild-install --backend=cmake-js --runtime=napi --verbose

prebuild-install info begin Prebuild-install version 5.3.4
prebuild-install info looking for cached prebuild @ C:\Users\p32929\AppData\Roaming\npm-cache\_prebuilds\e5c5c6-nodegui-v0.22.0-napi-v3-win32-x64.
tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.22.0/nodegui-v0.22.0-napi-v3-win32-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.22.0/nodegui-v0.22.0-napi-v3-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=win32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] prebuild: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!     C:\Users\p32929\AppData\Roaming\npm-cache\_logs\2020-06-16T17_40_16_490Z-debug.log

> @nodegui/[email protected] build:addon D:\SourceCodes\ReactNodeGUI\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile

[
  'C:\\Program Files\\nodejs\\node.exe',
  'D:\\SourceCodes\\ReactNodeGUI\\react-nodegui-starter\\node_modules\\cmake-js\\bin\\cmake-js',
  'compile'
]
ERR! OMG CMake is not installed. Install CMake.
ERR! OMG CMake is not installed. Install CMake.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] build:addon: `cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] build:addon 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:

Anything I can do to fix it?

I'm using Windows 10

Cmake issue due to VCTargetsPath on Win64.

I have been attempting to build for the past 3 hours however every time I get errors related to the VCTargetsPath value.

The following versions are what I am running at the moment.

  • Node.JS - v12.16.3
  • Cmake - v3.13.0-rc2
  • Visual Studio 2019 - 16.5.4.

In addition I have the build tools for Visual Studio 2015 and 2017 installed as optional components. I have also tried explicitly setting the system environmental var to point to the cpp props file directory and it still didnt build.

The following is the full output from powershell after running npm install. If there is something I am missing please let me know.

PS E:\Dev\dnkrain\react-nodegui-starter> npm install

> @nodegui/[email protected] postinstall E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\qode
> node install.js

Cached archive already exists at C:\Users\Feed\AppData\Local\qode-nodejs\Cache\qode-win32-x64-v2.0.4.tar.gz. Skipping download....
Extracting C:\Users\Feed\AppData\Local\qode-nodejs\Cache\qode-win32-x64-v2.0.4.tar.gz to E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\qode\binaries ...
Qode was setup successfully at : E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\qode\binaries

> @nodegui/[email protected] postinstall E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)


> @nodegui/[email protected] setupqt E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env node ./scripts/setupMiniQt.js

Minimal Qt 5.14.1 setup:
Archive already exists at C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z. Skipping download....
Extracting C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z to E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
Archive already exists at C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z. Skipping download....
Extracting C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z to E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
Qt Tools for Minimal Qt: 5.14.1 installation was setup successfully.  outDir: E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt
Qt Base for Minimal Qt: 5.14.1 installation was setup successfully.  outDir: E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt

> @nodegui/[email protected] prebuild:install E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> prebuild-install --backend=cmake-js --runtime=napi --verbose

prebuild-install info begin Prebuild-install version 5.3.3
prebuild-install info looking for cached prebuild @ C:\Users\Feed\AppData\Roaming\npm-cache\_prebuilds\fc7405-nodegui-v0.16.1-napi-v3-win32-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-win32-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=win32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] prebuild: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!     C:\Users\Feed\AppData\Roaming\npm-cache\_logs\2020-05-09T03_17_59_373Z-debug.log

> @nodegui/[email protected] build:addon E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile

[
  'C:\\Program Files\\nodejs\\node.exe',
  'E:\\Dev\\dnkrain\\react-nodegui-starter\\node_modules\\cmake-js\\bin\\cmake-js',
  'compile'
]
info TOOL Using Visual Studio 15 2017 Win64 generator.
info CMD CONFIGURE
info RUN cmake "E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui" --no-warn-unused-cli -G"Visual Studio 15 2017 Win64" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\build" -DCMAKE_JS_INC="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\include\node;E:\Dev\dnkrain\react-nodegui-starter\node_modules\nan" -DCMAKE_JS_SRC="E:/Dev/dnkrain/react-nodegui-starter/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.3" -DNODE_ARCH="x64" -DCMAKE_JS_LIB="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\win-x64\node.lib" -DCMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:12 (project):
  Failed to run MSBuild command:

    MSBuild.exe

  to get the value of VCTargetsPath:

    The system cannot find the file specified



-- Configuring incomplete, errors occurred!
See also "E:/Dev/dnkrain/react-nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\build"
info CMD CONFIGURE
info RUN cmake "E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui" --no-warn-unused-cli -G"Visual Studio 15 2017 Win64" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\build" -DCMAKE_JS_INC="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\include\node;E:\Dev\dnkrain\react-nodegui-starter\node_modules\nan" -DCMAKE_JS_SRC="E:/Dev/dnkrain/react-nodegui-starter/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.3" -DNODE_ARCH="x64" -DCMAKE_JS_LIB="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\win-x64\node.lib" -DCMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:12 (project):
  Failed to run MSBuild command:

    MSBuild.exe

  to get the value of VCTargetsPath:

    The system cannot find the file specified



-- Configuring incomplete, errors occurred!
See also "E:/Dev/dnkrain/react-nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
ERR! OMG Process terminated: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] build:addon: `cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] build:addon 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!     C:\Users\Feed\AppData\Roaming\npm-cache\_logs\2020-05-09T03_18_01_356Z-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] postinstall: `cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] postinstall 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!     C:\Users\Feed\AppData\Roaming\npm-cache\_logs\2020-05-09T03_18_03_700Z-debug.log
PS E:\Dev\dnkrain\react-nodegui-starter>

How get event data with useEventHandler?

I'm trying to use useEventHandler. I've been able to get a QCheckBoxEvents.toggled-event from a CheckBox. However, since I have a list of checkboxes I also need to get the index (which Checkbox was checked?). The function in the eventHandlerMap seems to only get a bool. I tried creating a higher order function but couldn't get it to work.

What is the idea here? And what is the use of deps in useEventHandler?

    const checkHandler = useEventHandler({
        [QCheckBoxEvents.toggled]: () => {
            // ?
        }
    }, [])
     {things.map((v, i) => <CheckBox 
           key={i}
           text={v.text}
           checked={checkedState[i]}
           on={checkHandler}
       />)}

The events-section of the docs are WIP and I understand that you have loads of things to address, but I'd appreciate any advice on how to proceed.

Thanks for creating this. React-nodegui seems promising!

App fails to run on node 18

When running "node run dev" on node 18 it fails with following error

> webpack --mode=development


webpack is watching the files…

node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (G:\projects\react-nodegui-starter\node_modules\webpack\lib\util\createHash.js:135:53)
    at NormalModule._initBuildHash (G:\projects\react-nodegui-starter\node_modules\webpack\lib\NormalModule.js:417:16)
    at handleParseError (G:\projects\react-nodegui-starter\node_modules\webpack\lib\NormalModule.js:471:10)
    at G:\projects\react-nodegui-starter\node_modules\webpack\lib\NormalModule.js:503:5
    at G:\projects\react-nodegui-starter\node_modules\webpack\lib\NormalModule.js:358:12
    at G:\projects\react-nodegui-starter\node_modules\loader-runner\lib\LoaderRunner.js:373:3
    at iterateNormalLoaders (G:\projects\react-nodegui-starter\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
    at Array.<anonymous> (G:\projects\react-nodegui-starter\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
    at Storage.finished (G:\projects\react-nodegui-starter\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
    at G:\projects\react-nodegui-starter\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
    at G:\projects\react-nodegui-starter\node_modules\graceful-fs\graceful-fs.js:115:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.12.1

Windows: Cant run npm install. VCBuild error

I follow the instructions like:

Clone this repository:
git clone https://github.com/nodegui/react-nodegui-starter
Go into the repository:
cd react-nodegui-starter
Install dependencies:
npm install
Run the app:
npm start

and I got this strange error..:
When I do npm install it want me to install Microsoft Visual Studio 2005 SDK

Please advice?

This is cmd output: (sorry I have Swedish language Computer)

C:\Users>cd C:\Users\user\source\repos\react-nodegui-starter

C:\Users\user\source\repos\react-nodegui-starter>npm install

> @nodegui/[email protected] install C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\nodegui
> npm -v

6.4.1

> @nodegui/[email protected] postinstall C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\qode
> node install.js

Local Qode 1.0.2 archive doesnt exists... Copying Qode from cache...
Extracting binaries...

> @nodegui/[email protected] postinstall C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\nodegui
> npm run build:addon


> @nodegui/[email protected] build:addon C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\nodegui
> node-gyp -j 8 configure build


C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\nodegui>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" -j 8 configure build )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" -j 8 configure build )
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
MSBUILD : error MSB3428: Det gick inte att lΓ€sa in Visual C++-komponenten VCBuild.exe. Du Γ₯tgΓ€rdar detta genom att installera .NET Framework 2.0
 SDK, installera Microsoft Visual Studio 2005 eller genom att lΓ€gga till sΓΆkvΓ€gen till komponenten i systemsΓΆkvΓ€gen om den Γ€r installerad pΓ₯ en
annan plats.  [C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\nodegui\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "-j" "8" "configure" "build"
gyp ERR! cwd C:\Users\user\source\repos\react-nodegui-starter\node_modules\@nodegui\nodegui
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] build:addon: `node-gyp -j 8 configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] build:addon script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2019-08-18T19_17_41_045Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/[email protected] postinstall: `npm run build:addon`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/[email protected] postinstall 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!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2019-08-18T19_17_41_573Z-debug.log

C:\Users\user\source\repos\react-nodegui-starter>

image

Deploy output has terminal flash

Hey,
I just got this starter installed and running, and built a deploy.
When clicking the button to open React Nodegui Docs, there is a terminal flash before the page opens.
This does not happen when running dev version.
Windows 10 here, CMake and Visual Studio 2019

How would I omit this?

Error while running `npm run dev`/`yarn dev`

git reset HEAD --hard
yarn install
yarn 
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react-reconciler/node_modules/@types/react/index.d.ts(2850,14):
TS2300: Duplicate identifier 'LibraryManagedAttributes'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2909,14):
TS2300: Duplicate identifier 'LibraryManagedAttributes'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2922,13):
TS2717: Subsequent property declarations must have the same type.  Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2923,13):
TS2717: Subsequent property declarations must have the same type.  Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2924,13):
TS2717: Subsequent property declarations must have the same type.  Property 'address' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2925,13):
TS2717: Subsequent property declarations must have the same type.  Property 'area' must be of type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>', but here has type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2926,13):
TS2717: Subsequent property declarations must have the same type.  Property 'article' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2927,13):
TS2717: Subsequent property declarations must have the same type.  Property 'aside' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2928,13):
TS2717: Subsequent property declarations must have the same type.  Property 'audio' must be of type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>', but here has type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2929,13):
TS2717: Subsequent property declarations must have the same type.  Property 'b' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2930,13):
TS2717: Subsequent property declarations must have the same type.  Property 'base' must be of type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>', but here has type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2931,13):
TS2717: Subsequent property declarations must have the same type.  Property 'bdi' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2932,13):
TS2717: Subsequent property declarations must have the same type.  Property 'bdo' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2933,13):
TS2717: Subsequent property declarations must have the same type.  Property 'big' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2934,13):
TS2717: Subsequent property declarations must have the same type.  Property 'blockquote' must be of type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2935,13):
TS2717: Subsequent property declarations must have the same type.  Property 'body' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2936,13):
TS2717: Subsequent property declarations must have the same type.  Property 'br' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2937,13):
TS2717: Subsequent property declarations must have the same type.  Property 'button' must be of type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>', but here has type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2938,13):
TS2717: Subsequent property declarations must have the same type.  Property 'canvas' must be of type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>', but here has type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2939,13):
TS2717: Subsequent property declarations must have the same type.  Property 'caption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2940,13):
TS2717: Subsequent property declarations must have the same type.  Property 'cite' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2941,13):
TS2717: Subsequent property declarations must have the same type.  Property 'code' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2942,13):
TS2717: Subsequent property declarations must have the same type.  Property 'col' must be of type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2943,13):
TS2717: Subsequent property declarations must have the same type.  Property 'colgroup' must be of type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2944,13):
TS2717: Subsequent property declarations must have the same type.  Property 'data' must be of type 'DetailedHTMLProps<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>', but here has type 'DetailedHTMLProps<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2945,13):
TS2717: Subsequent property declarations must have the same type.  Property 'datalist' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2946,13):
TS2717: Subsequent property declarations must have the same type.  Property 'dd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2947,13):
TS2717: Subsequent property declarations must have the same type.  Property 'del' must be of type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2948,13):
TS2717: Subsequent property declarations must have the same type.  Property 'details' must be of type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2949,13):
TS2717: Subsequent property declarations must have the same type.  Property 'dfn' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2950,13):
TS2717: Subsequent property declarations must have the same type.  Property 'dialog' must be of type 'DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>', but here has type 'DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2951,13):
TS2717: Subsequent property declarations must have the same type.  Property 'div' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2952,13):
TS2717: Subsequent property declarations must have the same type.  Property 'dl' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2953,13):
TS2717: Subsequent property declarations must have the same type.  Property 'dt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2954,13):
TS2717: Subsequent property declarations must have the same type.  Property 'em' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2955,13):
TS2717: Subsequent property declarations must have the same type.  Property 'embed' must be of type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>', but here has type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2956,13):
TS2717: Subsequent property declarations must have the same type.  Property 'fieldset' must be of type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>', but here has type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2957,13):
TS2717: Subsequent property declarations must have the same type.  Property 'figcaption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2958,13):
TS2717: Subsequent property declarations must have the same type.  Property 'figure' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2959,13):
TS2717: Subsequent property declarations must have the same type.  Property 'footer' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2960,13):
TS2717: Subsequent property declarations must have the same type.  Property 'form' must be of type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>', but here has type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2961,13):
TS2717: Subsequent property declarations must have the same type.  Property 'h1' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2962,13):
TS2717: Subsequent property declarations must have the same type.  Property 'h2' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2963,13):
TS2717: Subsequent property declarations must have the same type.  Property 'h3' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2964,13):
TS2717: Subsequent property declarations must have the same type.  Property 'h4' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2965,13):
TS2717: Subsequent property declarations must have the same type.  Property 'h5' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2966,13):
TS2717: Subsequent property declarations must have the same type.  Property 'h6' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2967,13):
TS2717: Subsequent property declarations must have the same type.  Property 'head' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2968,13):
TS2717: Subsequent property declarations must have the same type.  Property 'header' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2969,13):
TS2717: Subsequent property declarations must have the same type.  Property 'hgroup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2970,13):
TS2717: Subsequent property declarations must have the same type.  Property 'hr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2971,13):
TS2717: Subsequent property declarations must have the same type.  Property 'html' must be of type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>', but here has type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2972,13):
TS2717: Subsequent property declarations must have the same type.  Property 'i' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2973,13):
TS2717: Subsequent property declarations must have the same type.  Property 'iframe' must be of type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>', but here has type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2974,13):
TS2717: Subsequent property declarations must have the same type.  Property 'img' must be of type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>', but here has type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2975,13):
TS2717: Subsequent property declarations must have the same type.  Property 'input' must be of type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>', but here has type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2976,13):
TS2717: Subsequent property declarations must have the same type.  Property 'ins' must be of type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>', but here has type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2977,13):
TS2717: Subsequent property declarations must have the same type.  Property 'kbd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2978,13):
TS2717: Subsequent property declarations must have the same type.  Property 'keygen' must be of type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2979,13):
TS2717: Subsequent property declarations must have the same type.  Property 'label' must be of type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>', but here has type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2980,13):
TS2717: Subsequent property declarations must have the same type.  Property 'legend' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2981,13):
TS2717: Subsequent property declarations must have the same type.  Property 'li' must be of type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>', but here has type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2982,13):
TS2717: Subsequent property declarations must have the same type.  Property 'link' must be of type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>', but here has type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2983,13):
TS2717: Subsequent property declarations must have the same type.  Property 'main' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2984,13):
TS2717: Subsequent property declarations must have the same type.  Property 'map' must be of type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>', but here has type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2985,13):
TS2717: Subsequent property declarations must have the same type.  Property 'mark' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2986,13):
TS2717: Subsequent property declarations must have the same type.  Property 'menu' must be of type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2987,13):
TS2717: Subsequent property declarations must have the same type.  Property 'menuitem' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2988,13):
TS2717: Subsequent property declarations must have the same type.  Property 'meta' must be of type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>', but here has type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2989,13):
TS2717: Subsequent property declarations must have the same type.  Property 'meter' must be of type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2990,13):
TS2717: Subsequent property declarations must have the same type.  Property 'nav' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2991,13):
TS2717: Subsequent property declarations must have the same type.  Property 'noindex' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2992,13):
TS2717: Subsequent property declarations must have the same type.  Property 'noscript' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2993,13):
TS2717: Subsequent property declarations must have the same type.  Property 'object' must be of type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>', but here has type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2994,13):
TS2717: Subsequent property declarations must have the same type.  Property 'ol' must be of type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>', but here has type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2995,13):
TS2717: Subsequent property declarations must have the same type.  Property 'optgroup' must be of type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>', but here has type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2996,13):
TS2717: Subsequent property declarations must have the same type.  Property 'option' must be of type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>', but here has type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2997,13):
TS2717: Subsequent property declarations must have the same type.  Property 'output' must be of type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2998,13):
TS2717: Subsequent property declarations must have the same type.  Property 'p' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(2999,13):
TS2717: Subsequent property declarations must have the same type.  Property 'param' must be of type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>', but here has type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3000,13):
TS2717: Subsequent property declarations must have the same type.  Property 'picture' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3001,13):
TS2717: Subsequent property declarations must have the same type.  Property 'pre' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3002,13):
TS2717: Subsequent property declarations must have the same type.  Property 'progress' must be of type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>', but here has type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3003,13):
TS2717: Subsequent property declarations must have the same type.  Property 'q' must be of type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>', but here has type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3004,13):
TS2717: Subsequent property declarations must have the same type.  Property 'rp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3005,13):
TS2717: Subsequent property declarations must have the same type.  Property 'rt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3006,13):
TS2717: Subsequent property declarations must have the same type.  Property 'ruby' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3007,13):
TS2717: Subsequent property declarations must have the same type.  Property 's' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3008,13):
TS2717: Subsequent property declarations must have the same type.  Property 'samp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3009,13):
TS2717: Subsequent property declarations must have the same type.  Property 'script' must be of type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>', but here has type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3010,13):
TS2717: Subsequent property declarations must have the same type.  Property 'section' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3011,13):
TS2717: Subsequent property declarations must have the same type.  Property 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3012,13):
TS2717: Subsequent property declarations must have the same type.  Property 'small' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3013,13):
TS2717: Subsequent property declarations must have the same type.  Property 'source' must be of type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>', but here has type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3014,13):
TS2717: Subsequent property declarations must have the same type.  Property 'span' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3015,13):
TS2717: Subsequent property declarations must have the same type.  Property 'strong' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3016,13):
TS2717: Subsequent property declarations must have the same type.  Property 'style' must be of type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>', but here has type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3017,13):
TS2717: Subsequent property declarations must have the same type.  Property 'sub' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3018,13):
TS2717: Subsequent property declarations must have the same type.  Property 'summary' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3019,13):
TS2717: Subsequent property declarations must have the same type.  Property 'sup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3020,13):
TS2717: Subsequent property declarations must have the same type.  Property 'table' must be of type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>', but here has type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3021,13):
TS2717: Subsequent property declarations must have the same type.  Property 'template' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3022,13):
TS2717: Subsequent property declarations must have the same type.  Property 'tbody' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3023,13):
TS2717: Subsequent property declarations must have the same type.  Property 'td' must be of type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>', but here has type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3024,13):
TS2717: Subsequent property declarations must have the same type.  Property 'textarea' must be of type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>', but here has type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3025,13):
TS2717: Subsequent property declarations must have the same type.  Property 'tfoot' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3026,13):
TS2717: Subsequent property declarations must have the same type.  Property 'th' must be of type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>', but here has type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3027,13):
TS2717: Subsequent property declarations must have the same type.  Property 'thead' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3028,13):
TS2717: Subsequent property declarations must have the same type.  Property 'time' must be of type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3029,13):
TS2717: Subsequent property declarations must have the same type.  Property 'title' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3030,13):
TS2717: Subsequent property declarations must have the same type.  Property 'tr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3031,13):
TS2717: Subsequent property declarations must have the same type.  Property 'track' must be of type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>', but here has type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3032,13):
TS2717: Subsequent property declarations must have the same type.  Property 'u' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3033,13):
TS2717: Subsequent property declarations must have the same type.  Property 'ul' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3034,13):
TS2717: Subsequent property declarations must have the same type.  Property '"var"' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3035,13):
TS2717: Subsequent property declarations must have the same type.  Property 'video' must be of type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>', but here has type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3036,13):
TS2717: Subsequent property declarations must have the same type.  Property 'wbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3037,13):
TS2717: Subsequent property declarations must have the same type.  Property 'webview' must be of type 'DetailedHTMLProps<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>', but here has type 'DetailedHTMLProps<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3040,13):
TS2717: Subsequent property declarations must have the same type.  Property 'svg' must be of type 'SVGProps<SVGSVGElement>', but here has type 'SVGProps<SVGSVGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3042,13):
TS2717: Subsequent property declarations must have the same type.  Property 'animate' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3043,13):
TS2717: Subsequent property declarations must have the same type.  Property 'animateMotion' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3044,13):
TS2717: Subsequent property declarations must have the same type.  Property 'animateTransform' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3045,13):
TS2717: Subsequent property declarations must have the same type.  Property 'circle' must be of type 'SVGProps<SVGCircleElement>', but here has type 'SVGProps<SVGCircleElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3046,13):
TS2717: Subsequent property declarations must have the same type.  Property 'clipPath' must be of type 'SVGProps<SVGClipPathElement>', but here has type 'SVGProps<SVGClipPathElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3047,13):
TS2717: Subsequent property declarations must have the same type.  Property 'defs' must be of type 'SVGProps<SVGDefsElement>', but here has type 'SVGProps<SVGDefsElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3048,13):
TS2717: Subsequent property declarations must have the same type.  Property 'desc' must be of type 'SVGProps<SVGDescElement>', but here has type 'SVGProps<SVGDescElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3049,13):
TS2717: Subsequent property declarations must have the same type.  Property 'ellipse' must be of type 'SVGProps<SVGEllipseElement>', but here has type 'SVGProps<SVGEllipseElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3050,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feBlend' must be of type 'SVGProps<SVGFEBlendElement>', but here has type 'SVGProps<SVGFEBlendElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3051,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feColorMatrix' must be of type 'SVGProps<SVGFEColorMatrixElement>', but here has type 'SVGProps<SVGFEColorMatrixElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3052,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feComponentTransfer' must be of type 'SVGProps<SVGFEComponentTransferElement>', but here has type 'SVGProps<SVGFEComponentTransferElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3053,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feComposite' must be of type 'SVGProps<SVGFECompositeElement>', but here has type 'SVGProps<SVGFECompositeElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3054,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feConvolveMatrix' must be of type 'SVGProps<SVGFEConvolveMatrixElement>', but here has type 'SVGProps<SVGFEConvolveMatrixElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3055,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feDiffuseLighting' must be of type 'SVGProps<SVGFEDiffuseLightingElement>', but here has type 'SVGProps<SVGFEDiffuseLightingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3056,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feDisplacementMap' must be of type 'SVGProps<SVGFEDisplacementMapElement>', but here has type 'SVGProps<SVGFEDisplacementMapElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3057,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feDistantLight' must be of type 'SVGProps<SVGFEDistantLightElement>', but here has type 'SVGProps<SVGFEDistantLightElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3058,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feDropShadow' must be of type 'SVGProps<SVGFEDropShadowElement>', but here has type 'SVGProps<SVGFEDropShadowElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3059,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feFlood' must be of type 'SVGProps<SVGFEFloodElement>', but here has type 'SVGProps<SVGFEFloodElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3060,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feFuncA' must be of type 'SVGProps<SVGFEFuncAElement>', but here has type 'SVGProps<SVGFEFuncAElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3061,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feFuncB' must be of type 'SVGProps<SVGFEFuncBElement>', but here has type 'SVGProps<SVGFEFuncBElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3062,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feFuncG' must be of type 'SVGProps<SVGFEFuncGElement>', but here has type 'SVGProps<SVGFEFuncGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3063,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feFuncR' must be of type 'SVGProps<SVGFEFuncRElement>', but here has type 'SVGProps<SVGFEFuncRElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3064,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feGaussianBlur' must be of type 'SVGProps<SVGFEGaussianBlurElement>', but here has type 'SVGProps<SVGFEGaussianBlurElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3065,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feImage' must be of type 'SVGProps<SVGFEImageElement>', but here has type 'SVGProps<SVGFEImageElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3066,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feMerge' must be of type 'SVGProps<SVGFEMergeElement>', but here has type 'SVGProps<SVGFEMergeElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3067,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feMergeNode' must be of type 'SVGProps<SVGFEMergeNodeElement>', but here has type 'SVGProps<SVGFEMergeNodeElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3068,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feMorphology' must be of type 'SVGProps<SVGFEMorphologyElement>', but here has type 'SVGProps<SVGFEMorphologyElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3069,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feOffset' must be of type 'SVGProps<SVGFEOffsetElement>', but here has type 'SVGProps<SVGFEOffsetElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3070,13):
TS2717: Subsequent property declarations must have the same type.  Property 'fePointLight' must be of type 'SVGProps<SVGFEPointLightElement>', but here has type 'SVGProps<SVGFEPointLightElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3071,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feSpecularLighting' must be of type 'SVGProps<SVGFESpecularLightingElement>', but here has type 'SVGProps<SVGFESpecularLightingElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3072,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feSpotLight' must be of type 'SVGProps<SVGFESpotLightElement>', but here has type 'SVGProps<SVGFESpotLightElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3073,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feTile' must be of type 'SVGProps<SVGFETileElement>', but here has type 'SVGProps<SVGFETileElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3074,13):
TS2717: Subsequent property declarations must have the same type.  Property 'feTurbulence' must be of type 'SVGProps<SVGFETurbulenceElement>', but here has type 'SVGProps<SVGFETurbulenceElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3075,13):
TS2717: Subsequent property declarations must have the same type.  Property 'filter' must be of type 'SVGProps<SVGFilterElement>', but here has type 'SVGProps<SVGFilterElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3076,13):
TS2717: Subsequent property declarations must have the same type.  Property 'foreignObject' must be of type 'SVGProps<SVGForeignObjectElement>', but here has type 'SVGProps<SVGForeignObjectElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3077,13):
TS2717: Subsequent property declarations must have the same type.  Property 'g' must be of type 'SVGProps<SVGGElement>', but here has type 'SVGProps<SVGGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3078,13):
TS2717: Subsequent property declarations must have the same type.  Property 'image' must be of type 'SVGProps<SVGImageElement>', but here has type 'SVGProps<SVGImageElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3079,13):
TS2717: Subsequent property declarations must have the same type.  Property 'line' must be of type 'SVGProps<SVGLineElement>', but here has type 'SVGProps<SVGLineElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3080,13):
TS2717: Subsequent property declarations must have the same type.  Property 'linearGradient' must be of type 'SVGProps<SVGLinearGradientElement>', but here has type 'SVGProps<SVGLinearGradientElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3081,13):
TS2717: Subsequent property declarations must have the same type.  Property 'marker' must be of type 'SVGProps<SVGMarkerElement>', but here has type 'SVGProps<SVGMarkerElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3082,13):
TS2717: Subsequent property declarations must have the same type.  Property 'mask' must be of type 'SVGProps<SVGMaskElement>', but here has type 'SVGProps<SVGMaskElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3083,13):
TS2717: Subsequent property declarations must have the same type.  Property 'metadata' must be of type 'SVGProps<SVGMetadataElement>', but here has type 'SVGProps<SVGMetadataElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3084,13):
TS2717: Subsequent property declarations must have the same type.  Property 'mpath' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3085,13):
TS2717: Subsequent property declarations must have the same type.  Property 'path' must be of type 'SVGProps<SVGPathElement>', but here has type 'SVGProps<SVGPathElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3086,13):
TS2717: Subsequent property declarations must have the same type.  Property 'pattern' must be of type 'SVGProps<SVGPatternElement>', but here has type 'SVGProps<SVGPatternElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3087,13):
TS2717: Subsequent property declarations must have the same type.  Property 'polygon' must be of type 'SVGProps<SVGPolygonElement>', but here has type 'SVGProps<SVGPolygonElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3088,13):
TS2717: Subsequent property declarations must have the same type.  Property 'polyline' must be of type 'SVGProps<SVGPolylineElement>', but here has type 'SVGProps<SVGPolylineElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3089,13):
TS2717: Subsequent property declarations must have the same type.  Property 'radialGradient' must be of type 'SVGProps<SVGRadialGradientElement>', but here has type 'SVGProps<SVGRadialGradientElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3090,13):
TS2717: Subsequent property declarations must have the same type.  Property 'rect' must be of type 'SVGProps<SVGRectElement>', but here has type 'SVGProps<SVGRectElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3091,13):
TS2717: Subsequent property declarations must have the same type.  Property 'stop' must be of type 'SVGProps<SVGStopElement>', but here has type 'SVGProps<SVGStopElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3092,13):
TS2717: Subsequent property declarations must have the same type.  Property 'switch' must be of type 'SVGProps<SVGSwitchElement>', but here has type 'SVGProps<SVGSwitchElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3093,13):
TS2717: Subsequent property declarations must have the same type.  Property 'symbol' must be of type 'SVGProps<SVGSymbolElement>', but here has type 'SVGProps<SVGSymbolElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3094,13):
TS2717: Subsequent property declarations must have the same type.  Property 'text' must be of type 'SVGProps<SVGTextElement>', but here has type 'SVGProps<SVGTextElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3095,13):
TS2717: Subsequent property declarations must have the same type.  Property 'textPath' must be of type 'SVGProps<SVGTextPathElement>', but here has type 'SVGProps<SVGTextPathElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3096,13):
TS2717: Subsequent property declarations must have the same type.  Property 'tspan' must be of type 'SVGProps<SVGTSpanElement>', but here has type 'SVGProps<SVGTSpanElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3097,13):
TS2717: Subsequent property declarations must have the same type.  Property 'use' must be of type 'SVGProps<SVGUseElement>', but here has type 'SVGProps<SVGUseElement>'.
ERROR in /Users/leo/Project/js/react-nodegui-starter/node_modules/@types/react/index.d.ts(3098,13):
TS2717: Subsequent property declarations must have the same type.  Property 'view' must be of type 'SVGProps<SVGViewElement>', but here has type 'SVGProps<SVGViewElement>'.
Version: typescript 3.8.2
Time: 6879ms

npm ERR! Missing script: "dev"

I can't start the compiler. It probably has something to do with this previous error while creating the app:

Root-level `dependencies` and `scripts` keys in `template.json` were deprecated for Create React App 5.
This template needs to be updated to use the new `package` key.

Apple silicon: 'qode-darwin-arm64-v2.1.0.tar.gz. Not Found'

I run:

  1. git clone https://github.com/nodegui/react-nodegui-starter
  2. npm install

I get this error:

Error while setting up Qode: Error: Error while downloading Qode v2.1.0:https://github.com/nodegui/qode/releases/download/v2.1.0/qode-darwin-arm64-v2.1.0.tar.gz. Not Found

I am running apple silicon.

NodeJS require

HI. Is it possible to import library by
const library = require('library') ?

Is this being maintained?

I found the project very interesting. And there are silly mistakes in places. I would like to do PR. But it seems like no one is looking.

FAQ page doesn't work

https://docs.nodegui.org/faq is a dead link. It's linked to in the footer of each page.

Leads a lot of people to quit when they get silly errors like

npm ERR! CMake Error at CMakeLists.txt:12 (project):
npm ERR!   Failed to run MSBuild command:
npm ERR!
npm ERR!     C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/MSBuild/Current/Bin/MSBuild.exe
npm ERR!
npm ERR!   to get the value of VCTargetsPath:
npm ERR!
npm ERR!     Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
npm ERR!     Copyright (C) Microsoft Corporation. All rights reserved.

with no FAQ or insight into what might be wrong despite hours of Googling maybe Electron is a better choice.

Hot loading for Flow not working

Hi. Because I prefer to use Flow so I forked this repo and migrated to Flow environment.
my repo

But the hot loading is not working.
I added webpack plugins for Flow. But I don't know why it doesn't work.

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""

While running npm start I'm seeing this output:

C:\react-nodegui-starter>npm start

> [email protected] start C:\react-nodegui-starter
> tsc && qode ./dist/index.js

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

This is a pretty standard Windows 10 machine. Let me know what other diagnostics / logs I can collect.

Fix `@nodegui/nodegui` phantom dependency

After starting webpack, it throws errors in several places, saying TS2307: Cannot find module '@nodegui/nodegui' or its corresponding type declarations. I noticed that @nodegui/nodegui is not declared anywhere in package.json despite being used in multiple places across the source code.

My guess is that you're relying on @nodegui/nodegui being included as a dependency from the @nodegui/react-nodegui package, making it a phantom dependency, which should be avoided. This isn't a problem when using regular npm and yarn, but it breaks (at least for me it did) when using pnpm.

Please consider adding @nodegui/nodegui as a dependency in this project or specify it as a peer dependency in the react-nodegui package to make it work effortlessly with pnpm.

npm install failes on Ubuntu, with solutions

When running npm install after cloning on Ubuntu:

If your error includes

info TOOL Using Unix Makefiles generator.
info DIST Downloading distribution files.
http DIST 	- https://nodejs.org/dist/v14.4.0/SHASUMS256.txt
http DIST 	- https://nodejs.org/dist/v14.4.0/node-v14.4.0-headers.tar.gz
info REP Build has been failed, trying to do a full rebuild.
ERR! OMG CMake executable is not found. Please use your system's package manager to install it, or you can get installers from there: http://cmake.org.

You need to run sudo apt install cmake.

If your error includes:

-- Using QT installation for nodegui_core QT_CMAKE_HOME_DIR:/--redacted--/react-nodegui-starter/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/cmake/Qt5
CMake Error at miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
  Failed to find "GL/gl.h" in "/usr/include/libdrm".
Call Stack (most recent call first):
  miniqt/5.14.1/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:207 (include)
  miniqt/5.14.1/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
  miniqt/5.14.1/gcc_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  config/qt.cmake:23 (find_package)
  CMakeLists.txt:210 (AddQtSupport)


-- Configuring incomplete, errors occurred!
See also "/--redacted--/react-nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".

Then you need to install some OpenGL libs (answer found here: https://stackoverflow.com/questions/58787687/qt-5-12-failed-to-find-gl-gl-h-in-usr-include-libdrm)
sudo apt install mesa-common-dev libglu1-mesa-dev

Presumably this should be added to the docs I guess? It's there, I missed it.

[Linux] Included example missing image on start.

When I run the included example, it appears to work correctly, however it does not show the image within the application.
image
I am using an unmodified copy of the latest commit (4f946ab) on

Thing Version
Xubuntu 19.04
Node 12.8.1
NPM 6.10.2

Let me know if you need any further details.

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.