provideplatform / provide-cli

CLI for managing distributed infrastructure and applications
Apache License 2.0
14 stars 9 forks source link

Unable to run provide-cli #14

Closed ashlinsaj closed 3 years ago

ashlinsaj commented 3 years ago

Make install command is throwing an Error "undefined io.Discard" at github.com/provideplatform/provide-go/pgrok/tunnel.go :378:12

skosito commented 3 years ago

@ashlinsaj which go version are you using? I tried to reproduce this locally with 1.16.3 and it is working fine, maybe you need to update it? You will def need 1.16.x for this to work, please try to update to 1.16.x, I am not sure if the rest of the stack is optimized for latest go version yet.

coolbreeze84 commented 3 years ago

Make install command is throwing an Error "undefined io.Discard" at github.com/provideplatform/provide-go/pgrok/tunnel.go :378:12

That error will occur if you're using the wrong version of go. If you installed go via your OS then you'll need to download and install it manually.

ashlinsaj commented 3 years ago

@ashlinsaj which go version are you using? I tried to reproduce this locally with 1.16.3 and it is working fine, maybe you need to update it? You will def need 1.16.x for this to work, please try to update to 1.16.x, I am not sure if the rest of the stack is optimized for latest go version yet.

Thanks the make install worked by using 1.16.3.but on creating user I get the following error IMG-20210917-WA0002

djones0 commented 3 years ago

@ashlinsaj Could you try running it again? We're having trouble reproducing this issue.

ashlinsaj commented 3 years ago

@ashlinsaj Could you try running it again? We're having trouble reproducing this issue.

Tried running it again same issue exist nil response

skosito commented 3 years ago

@ashlinsaj could you please send more repro details, some of questions that can help:

ashlinsaj commented 3 years ago

Authentication fails with this user.I tried to create new user which doesn't exist already.I executed by cloning the latest repo

On Fri, 17 Sep 2021, 16:29 Stefan Kostic, @.***> wrote:

@ashlinsaj https://github.com/ashlinsaj could you please send more repro details, some of questions that can help:

  • do you have latest dev?
  • what happens if you authenticate with this user? (prvd authenticate)
  • did you already create user with same email and pwd before and now trying to create it again? is there a same error if try with some other email?
  • "First Name" is the only field that doesn't have check mark on the left, wonder if that might have something to do with this, but i don't have linux to try and repro this on linux unfortunately, might be cli linux specific issues...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/provideplatform/provide-cli/issues/14#issuecomment-921705224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK5D2QCLMUAGUXTBJBMR4F3UCMNRTANCNFSM5EESULEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

skosito commented 3 years ago

@ashlinsaj try maybe make build which will also do clean and try make install again.. i will also check a bit,couple of us tried and could not reproduce it

ashlinsaj commented 3 years ago

@ashlinsaj try maybe make build which will also do clean and try make install again.. i will also check a bit,couple of us tried and could not reproduce it

Thanks for your response.Tried the build and install again.but no luck.tried the same in windows.The "export" commands given in the provide-cli are linux specific,so had to replace with "set".Is this the right way to do or are you using the linux subsystem

ashlinsaj commented 3 years ago

@ashlinsaj try maybe make build which will also do clean and try make install again.. i will also check a bit,couple of us tried and could not reproduce it

Hi now it's working.thanks for all your responses.

ashlinsaj commented 3 years ago

User creation and authentication successful