prisma / prisma-1-cloud-feedback

Feedback for Prisma Cloud
https://app.prisma.io
5 stars 4 forks source link

Can't deploy services when user name contains a dot #221

Open vctormb opened 5 years ago

vctormb commented 5 years ago

Describe the bug This is another issue that I've opened in prisma repository before open it here: 3313

When I try to deploy the server in a Demo server, it does not allow me to deploy because I get the error message saying:

how_to-graphql-tutorial_my_database_01 is not a valid name for a service name. It must start with a letter and may contain up to 30 letters, numbers, underscores and hyphens.

To Reproduce Steps to reproduce the behavior:

  1. Access - how to graphql react-apollo tutorial
  2. Clone the server with the following command: curl https://codeload.github.com/howtographql/react-apollo/tar.gz/starter | tar -xz --strip=1 react-apollo-starter/server
  3. Access the server directory.
  4. Run yarn install, yarn dev (or npm) and yarn prisma deploy.
  5. Choose the Demo server / US location / and put a name for the server.
  6. See error

Expected behavior To deploy the server correctly.

Screenshots Error: image

package.json image

Versions (please complete the following information):

Additional context Even if I put a valid name it throws the error.

marktani commented 5 years ago

As a workaround: I think the problem is related to. in your username 😄Could you please sign up with a new account? 🙂

We should still look into this issue in general.

vctormb commented 5 years ago

@marktani Thank you. It worked! Btw, I'm waiting it to be fixed! I can't wait to use my github's account in Prisma! :smile:

safaldas commented 4 years ago

Can't deploy services when user name starts with a number