Posts by Murilo Krugner • 124 points
14 posts
-
0
votes1
answer36
viewsQ: Error generating build for Ios - app in Ionic
I am running the following command to generate the build: ionic cordova build ios --prod or ionic cordova build ios --prod --release Version of typescript installed: 2.6.2 this is the error when…
ionicasked Murilo Krugner 124 -
0
votes1
answer286
viewsA: View data from React Native API
Maybe the problem is that you are converting using JSON.stringify() and passing to the state. Just try to pass to the state sponse.date. without converting it. Example: setData(response.data);…
-
-1
votes1
answer203
viewsA: React Native only works with 2 clicks
Maybe your function is taking too long to be processed, or you may have some logic error, try debugging the application to see where the bottleneck is
-
0
votes2
answers92
viewsA: Connection between Node and Postgresql
To connect to the Postgres database, you can use Sequelize. Documentation of the sequelize To create a new Migration you must use the command: yarn sequelize migration:create --name=nome-migration…
-
3
votes1
answer648
viewsA: Associations with Node.JS / Sequelize
You can create the relationship of the tables this way: In the Team model: static associate(models) { this.belongsTo(models.Team, { foreignKey: 'team_id', as: 'team' }); }; In the Player model:…
-
2
votes1
answer273
viewsA: React Native not working
To build your app you need to run the command: react-native run-android without npx in front, only npx is used to create a new React-Native project with the command: npx react-native init…
-
0
votes1
answer62
viewsA: Why is the POST not working on my Mongodb?
To return past information to the user’s creation, try to put in place: return res.send(); Place: return res.json(user); Thus a JSON will be returned with user information through Insomnia. I hope…
-
0
votes1
answer29
viewsA: Equivalent inspectdb function on Node
In Node.JS there is a ORM called Sequelize, it has a command called sequelize-auto, with it we can create the models from an existing database as in Django using inspectdb. Sequelize supports…
-
0
votes1
answer390
viewsQ: Sequelize-auto to the SQL Server database on Node JS
I’m looking to migrate the tables from an existing SQL Server database on Node JS. I made the connection to the bank and it returns me connected. I then run the following command to migrate the…
-
1
votes2
answers1075
viewsQ: Connect SQL Server database to Django
I have an SQL Server database that already exists, and I need to connect it to my project in Django. So I come here to see if anyone has already found a solution to the problem, as they still can…
-
0
votes1
answer417
viewsQ: Change a user’s password in Django, and check that the data provided is correct
I am working on a project in Django for didactic purposes and I am having trouble changing user password in Django. However I already managed to change the password through a form as below: These…
-
1
votes1
answer1442
viewsQ: Pick a select value in Django
The HTML code: <!doctype html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0,…
-
0
votes1
answer358
viewsA: Anaconda Python Installation - Pycharm Projects
You can copy the Pycharmprojecs folder, and put it in the Pycharm directory in the new user. You can also create a VM, and within it, paste the project folder. Once to access them, you have to open…
-
2
votes1
answer1158
viewsA: Error: module import emoji no found
Bug says library not being imported. Install using the terminal of your own IDE, or your own operating system using the following command: pip install emoji And then: pip install emoji --upgrade…
pythonanswered Murilo Krugner 124