Chris Paliqaw
Chris Paliqaw
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
Big thanks!
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
I haven't gotten a reply on that issue yet. I may just try to fix to myself
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/25/2023 in #đŸ™‹questions
Testing NPM Packages Locally
very cool!
6 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
at the same, I'll notify Viam
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
great!
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
ok, cool! I can continue work locally for now
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
I've only been able to the app running on fly.io without the Viam libraries. I can run the Viam version only locally so far. I can try deploying on Railway to see if it's actually a fly.io issue
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
sure thing! Sleep is the greatest brain food
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
Also (again, if my understanding is correct), why is this type-checking only done when deploying using the CLI deployment command, and not when I run "wasp start"?
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
But if I am correct, is it really a good idea to do type checking on other libraries' code? This seems like something that could make uses external dependencies in Wasp pretty onerous
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
It appears that the Wasp web framework that I'm using is rejecting Viam's typescript code. Specifically, Wasp's validate-env.mjs script is rejecting peer.ts. I've attached the log when attempting to push to fly.io and also Viam's peer.ts. I believe that the problem is on lines 47-54: const description = new RTCSessionDescription( JSON.parse(atob(event.data)) ); const offerCollision = description.type === "offer" && (description || peerConnection.signalingState !== "stable"); ignoreOffer = !polite && offerCollision; I think that the problem is that "description," which is not a boolean value, is in the expression that is being evaluated to offerCollision, so Typescript somehow believes that offerCollision may not be a boolean. The solution, I believe, is not to rely on Javascript's idiomatic use of a non-boolean in a boolean logic expression.
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
Here is what I posted to Viam's discord:
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
Here is the content of the peer.ts file that Wasp appears to be complaining about:
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
Digging into it more, my guess is that Wasp's validate-env.mjs script is complaining about the Viam robotic frameworks Typescript.
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
27 replies
WWasp-lang
Created by Chris Paliqaw on 9/16/2023 in #đŸ™‹questions
RBAC how-to?
Do you have a time frame for RBAC?
7 replies
WWasp-lang
Created by Chris Paliqaw on 9/16/2023 in #đŸ™‹questions
RBAC how-to?
understood. Can't wait for the built-in RBAC!
7 replies
WWasp-lang
Created by Chris Paliqaw on 9/15/2023 in #đŸ™‹questions
Non-cloud deployment?
Sweet!
4 replies