[GH-ISSUE #154] Crash when using Area.Text #99

Closed
opened 2026-05-05 11:41:43 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @khanhas on GitHub (Jun 9, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/154

error Command failed with exit code 2147483651.

My app works normally when Area.Text code is taken out.
Node: 10.4.0
Windows 10: 1803

render() {
    return (
        <App>
            <Window title="myApp" margined={true} menuBar={false}>
            <Box padded>
                <Area>
                    <Area.Rectangle width={30} height={20} x={10} y={30} fill="#FF0000"/>
                    <Area.Text>dajkflsdjkjlfjdslkfjdslkjfsd</Area.Text>
                </Area>
            </Box>
        </Window>
        </App>
    );
}
Originally created by @khanhas on GitHub (Jun 9, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/154 ``` error Command failed with exit code 2147483651. ``` My app works normally when `Area.Text` code is taken out. Node: 10.4.0 Windows 10: 1803 ```jsx render() { return ( <App> <Window title="myApp" margined={true} menuBar={false}> <Box padded> <Area> <Area.Rectangle width={30} height={20} x={10} y={30} fill="#FF0000"/> <Area.Text>dajkflsdjkjlfjdslkfjdslkjfsd</Area.Text> </Area> </Box> </Window> </App> ); } ```
Author
Owner

@mischnic commented on GitHub (Jun 9, 2018):

I guess you're on Windows?
Can you post your code?

<!-- gh-comment-id:395994932 --> @mischnic commented on GitHub (Jun 9, 2018): I guess you're on Windows? Can you post your code?
Author
Owner

@khanhas commented on GitHub (Jun 9, 2018):

Sorry, I updated my environment and code in first comment.

<!-- gh-comment-id:395995233 --> @khanhas commented on GitHub (Jun 9, 2018): Sorry, I updated my environment and code in first comment.
Author
Owner

@khanhas commented on GitHub (Jun 9, 2018):

Also crash on Node 9.11.1 so I guess Node version is not the case

<!-- gh-comment-id:395995796 --> @khanhas commented on GitHub (Jun 9, 2018): Also crash on Node 9.11.1 so I guess Node version is not the case
Author
Owner

@mischnic commented on GitHub (Jun 9, 2018):

Also crash on Node 9.11.1 so I guess Node version is not the case

Yes, I've identified the bug already.

<!-- gh-comment-id:395996009 --> @mischnic commented on GitHub (Jun 9, 2018): > Also crash on Node 9.11.1 so I guess Node version is not the case Yes, I've identified the bug already.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#99
No description provided.