NPM Issues (was Re: [Discussion] "Life after FlashPlayer" post @flex lists)

2018-05-01 Thread Alex Harui
OK, but what file would contain that string such that it shows up then? Thanks, -Alex On 5/1/18, 9:32 PM, "OmPrakash Muppirala" wrote: On Tue, May 1, 2018, 8:13 PM Alex Harui wrote: > That's my windows machine that I used for

Re: [Discussion] "Life after FlashPlayer" post @flex lists (Was: Royale Frameworks and More)

2018-05-01 Thread OmPrakash Muppirala
On Tue, May 1, 2018, 8:13 PM Alex Harui wrote: > That's my windows machine that I used for 0.9.2. > > Where did it say 0.9.3? It shows up after the npm install completes. I'm trying to remember if I published the package to NPM or if you did. > Maybe the scripts are

Re: [Discussion] "Life after FlashPlayer" post @flex lists (Was: Royale Frameworks and More)

2018-05-01 Thread Alex Harui
That's my windows machine that I used for 0.9.2. Where did it say 0.9.3? I'm trying to remember if I published the package to NPM or if you did. Maybe the scripts are running or were run after some versions got updated in the repos. I have not run a build on my windows machine since the

Re: [Discussion] "Life after FlashPlayer" post @flex lists (Was: Royale Frameworks and More)

2018-05-01 Thread OmPrakash Muppirala
On Tue, May 1, 2018 at 1:36 PM, Alex Harui wrote: > Om, > > I got the warnings when we released 0.9.2 but it appeared to leave a > functional SDK. Now it is hanging for me and Dany. > > I don't think I've run a publish and I don't think the CI server is > either, but

Re: [Discussion] "Life after FlashPlayer" post @flex lists (Was: Royale Frameworks and More)

2018-05-01 Thread Alex Harui
Om, I got the warnings when we released 0.9.2 but it appeared to leave a functional SDK. Now it is hanging for me and Dany. I don't think I've run a publish and I don't think the CI server is either, but you never know. Try grabbing one of the SWCs. Unzip it and swfdump the library.swf.

Re: States doesn't work properly anymore

2018-05-01 Thread Alex Harui
An element without a royale_wrapper breaks the fundamental contract in UIBase. I recommend that you figure that part out. Good luck, -Alex On 5/1/18, 12:33 PM, "Piotr Zarzycki" wrote: In the other words - My website is loaded and component have initial state.

Re: [Discussion] "Life after FlashPlayer" post @flex lists (Was: Royale Frameworks and More)

2018-05-01 Thread Dany Dhondt
Hi Om I also noticed that 0.9.3 was installeren so I tried ...@0.9.2 but that was non existing. ...@0.9.1 did exist but gave the same result/errors -Dany Verstuurd vanaf mijn iPhone > Op 1 mei 2018 om 19:48 heeft OmPrakash Muppirala het > volgende geschreven: > >> On

Re: States doesn't work properly anymore

2018-05-01 Thread Piotr Zarzycki
In the other words - My website is loaded and component have initial state. Than I'm clicking on the button I'm changing state for that component. Piotr On Tue, May 1, 2018, 7:27 PM Piotr Zarzycki wrote: > This component is already on the display list. I'm changing

Re: Null pointer errors

2018-05-01 Thread Piotr Zarzycki
Harbs, +1 for a new committer! :) Piotr 2018-05-01 19:44 GMT+02:00 Harbs : > Yeah. I was planning on spending time on the compiler, but time has not > been recently as forthcoming as I was hoping… ;-) > > FWIW, my daughter is finishing school soon and I’m going to have

Re: [Discussion] "Life after FlashPlayer" post @flex lists (Was: Royale Frameworks and More)

2018-05-01 Thread OmPrakash Muppirala
On Tue, May 1, 2018 at 8:57 AM, Alex Harui wrote: > Hi Dany, > > The link is directly to a tar.gz built by our CI server. No humans > involved, and no special packaging for NPM. NPM says it can install any > tar.gz file. Try downloading the file at that link and

Re: Null pointer errors

2018-05-01 Thread Harbs
Yeah. I was planning on spending time on the compiler, but time has not been recently as forthcoming as I was hoping… ;-) FWIW, my daughter is finishing school soon and I’m going to have her try and learn the compiler. I’ll see how that goes… Harbs > On May 1, 2018, at 7:53 PM, Alex Harui

Re: States doesn't work properly anymore

2018-05-01 Thread Piotr Zarzycki
This component is already on the display list. I'm changing States of that component. That's the weirdest thing. Piotr On Tue, May 1, 2018, 7:06 PM Alex Harui wrote: > Hi Piotr, > > What is the call stack at that point? Should the component be on the > display list

Re: Null pointer errors

2018-05-01 Thread Alex Harui
Sorry, I thought the link was to the source so I didn't click on it. This could be a good exercise for anyone wanting to learn more about the compiler to figure out how to catch this situation (maybe by detecting the AST for "void 0") and outputting an error instead of an NPE, or swapping in

Re: Null pointer errors

2018-05-01 Thread Harbs
I attached a paste of the stack in my email. I just finished resolving all my errors. It was hard to trace them down, but I just discovered that there were uses of "void 0" in the code. I replaced all those cases with “undefined" and poof! All my errors went away! :-) My theory is that use of

Re: Null pointer errors

2018-05-01 Thread Alex Harui
What is the call stack for the null pointer? On 5/1/18, 5:05 AM, "Harbs" wrote: I’m trying to compile a library using comic and I’m getting a **LOT** of null pointer errors. They seem to be related to missing type information, although I’m not completely sure why

Re: States doesn't work properly anymore

2018-05-01 Thread Alex Harui
Because setClassNames can be expensive, we only want to do it if we have to. The component lifecycle is designed for setting lots of properties before adding a component to its parent. There is a call to setClassNames in addedToParent for that reason, so other calls to set the className