mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #162] Not able to add Child Element to a Window Element - npm run start throwing error. #105
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joshi-ankur on GitHub (Jun 23, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/162
@parro-it , @mischnic , @kusti8
So i just started working on building a proton-native desktop app on Windows 10 Pro edition.
I started off with the official documentation and my boiler plate code was ready.
npm run start was working fine and i was able to see . Below is the attached image.

Now when i add a Box Component inside my Window component and try running the
npm run startcommand, it fails :( . Have attached the image below for the same.Kindly help, i really need this to get working, am i doing something wrong?
@mischnic commented on GitHub (Jun 23, 2018):
The Button needs to have the
onClickprop (not onClicked).@kusti8 There should be a better error message.
@joshi-ankur commented on GitHub (Jun 23, 2018):
@mischnic thanks for that change, i updated it. But then it is not solving my problem, i am still getting the same error mentioned above.
Kindly advice. Attached below is the image after updating the prop u mentioned.
@mischnic commented on GitHub (Jun 23, 2018):
It's a different error (the line before the colored lines):
Not sure why though.
@joshi-ankur commented on GitHub (Jun 23, 2018):
@mischnic @kusti8 @parro-it Can u please help me with a workaround to solve my problem? I need to get this desktop app up and running for my client.
@joshi-ankur commented on GitHub (Jun 23, 2018):
@mischnic yes it is a different error.
@JVictorV commented on GitHub (Jun 28, 2018):
@joshi-ankur try to delete the "{ }" at the line 7
@parro-it commented on GitHub (Jun 29, 2018):
@joshi-ankur could you post the source code as text?
@maciek134 commented on GitHub (Sep 18, 2018):
@joshi-ankur If you still need help with that, a good practice is to provide the source code for a minimal app that would reproduce this bug, nobody will retype everything from the images (in which the code is cropped btw so we can't even see some of it).
@Oxymoron290 commented on GitHub (Jun 19, 2019):
I was getting the error
Window and Group only take one child!because I had a comment inside theWindowtag...Removing the comment inside of the window tag resolved my problem
@Oxymoron290 commented on GitHub (Jun 19, 2019):
@kusti8 commented on GitHub (Jan 19, 2020):
Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.