50 Replies
Hey 👋 which operating system are you using? How did you install Wasp? Does running just
wasp
works for you?
You can give us the operating system details by running uname -a
ok i will do that now but am using windowns i download wsl
Wohooo @Minister, you just became a Waspeteer level 1!
this is the version
Which version of Linux did you install, Ubuntu? Which version? 😄
Can you also run:
ldd --version
to see which version of glibc you have
Also one quick think you can try, try install Wasp again by running curl -sSL https://get.wasp-lang.dev/installer.sh | sh
and see if it maybe fixes the issue 🤞ok
am using UBUNTU 18.04.6 LTS
Oh okay, I think you should be using at least Ubuntu 20.04 since Wasp's binary requires a newer version of GLIBC (you can try upgrading GLIBC on your Ubuntu, but it might break some other stuff for you).
So the best thing for you would be to setup WSL2 with a newer Ubuntu version, one extra reason would be that Ubuntu 18 is 2 years old
after using the command you send
I have updated to the upgraded version but am still having some issues
Did you install node? Which version do you have installed?
I install the latest version but is like it will only work on 18.12.0
Yes, it will only work with node 18, in the next release we will remove that limitation
pls did you have any command to install the older version, I can only find for RedHat which makes it difficult to install
Open the blue box in the install instructions and install
nvm
https://wasp-lang.dev/docs/quick-start#requirementsQuick Start | Wasp
Installation
great i finally get it working
Wohooo @Minister, you just became a Waspeteer level 2!
this is the issue am now having with the password and username
I can't login with even if i creat username and password on the DB
You have to make the role and lastActive optional since on signup a User is created and those fields are missing because Wasp can't add them
did you have a document for this
It's just the way Prisma and required fields work 🙂 if you have a required field, it's required when creating a new User
i did this
still not working
I don't understand what does the screenshot mean? What did you do?
can we have like a zoom call
so i can explain better
1. Change the two fields to optional
2. Migrate the DB once more
3. Try it one more time
Let's first try this
the snap is from prisma
Did you try doing the steps I recommended above? 😃
yes still not working
Can you share your migrations with me? Also try running
wasp clean
and then wasp start
one more timeook
Wohooo @Minister, you just became a Waspeteer level 3!
hello
1. Based on the migration, it seems to me that you didn't make the two fields optional and I would advise to try it 😄
2. The network error, I would ask you for the logs in the terminal
3. The
Dashboard.jsx
error is pretty clear, does the file exist?Please try and make it optional for me so I can navigate and just try it
You have to modify the Wasp file 😄 and change the field in the
User
model
From String
to String?
ok
i will give it a try now
still not working
I think is better we have a Google meet call pls
Please send the Wasp file here, so I can see did you do the proper change? 🙂
Until we exhaust all the steps, let's try to figure it out here in chat, it's easier for us to manage support requests this way
Hello can you check the file pls
Please read the intro to Wasp at least, I see that you are having trouble with the entities concepts. https://wasp-lang.dev/docs/tutorial/entities
In your
.wasp
file, the User
entitiy has some fields that are required and don't have a default value e.g.
-> role
is a String
which should be either a String?
or have a default value with @default
-> lastActive
is a DateTime
and it should be a DateTime?
or have a default value with @default
After you modify the User
entity, run wasp db migrate-dev
it should work4. Database Entities | Wasp
Entities are one of the most important concepts in Wasp and are how you define what gets stored in the database.