Posts by Gustavo Moreira • 51 points
7 posts
-
0
votes10
answers68840
viewsA: How to make a <div> occupy the entire page width but leave a gap of a few pixels on each side in CSS?
The estate left can also be used. Use left: 0; footer/div, will occupy the entire left bank, leaving no spaces.
-
0
votes1
answer150
viewsA: Button to close modal does not work
After 1 and a half day looking at the code and searching on Google, I found the error: In the header/index.tsx i was putting the function inside the button, when the screen rendered the function…
-
0
votes1
answer150
viewsQ: Button to close modal does not work
Hello, I’m having a problem to make my modal button close, it opens through the header of the normal application. I am using Reactjs 16.8 + Typescript 4.0.3. // Header/index.tsx import ContactForm…
-
0
votes2
answers152
viewsA: Node with mongodb not starting application
To avoid future deprecation errors, the most recent correction is this: const mongoose = require('mongoose') mongoose.connect('mongodb://localhost:27017/your_database', { useNewUrlParser: true,…
-
0
votes2
answers1659
viewsA: Mongodb, mongod does not execute on cmd
Uninstall Mongodb and delete your folders after installation, you can use Revouninstaller to facilitate. Follow these steps: Install Mongodb normally, wait until Compass appears, if does not appear,…
-
1
votes1
answer140
viewsA: Link data in Mongodb
I think I understand your problem better, it’s in the modeling of your schema. The Schema.Types.ObjectId is used to reference another schema, not auto-referencing in the same schema. For this you…
-
1
votes1
answer68
viewsA: What could be the mistake?
According to this Opinion of the Github, do: ./gradlew compileJava recompile --stacktrace According to this Issue try: gradle --stop afterward: gradle --test to restart. If it doesn’t work try:…