I am unable to install expressJS in windows - node.js

this is the command i used to try and install express locally.
but the cursor keeps on rotating endlessly. I cant understand whats the problem. I am new to Node and its already testing my patience. Please help.
Comment if you need additional information.

Related

How can I recreate the same env from a GitHub

I update an old repo: https://github.com/cbartel/nw-company-tool The creator of this project created a tutorial which explains how to install everything, only if you use his node distribution.
My question is: how do I recreate the same node distribution using the files in the tar.gz release?
What are the steps? Installing nest? then what? should I install angular? or? Should I run the build.ts? I don't know from where should I start. I come from Python. I know basic html, but I don't know how prisma, angular, nest, node and everything work.. I read and watch tutorials about the basic, but I still don't know where should I start for making that GitHub work on my Ubuntu server without using the guy's node distribution.
Can someone be so kind to check his repo and tell me from where to start? Will be really appreciate. I spent 40+ hours trying to start all .ts file but only with errors and unsuccessfully.
I tried to run in terminal the commands the ts script use, but got the same errors.
what am I missing?
I tried every command I found on the internet to fix the errors, but created just more errors.
I'm using Digital Ocean Ubuntu 20 as server with domain buy from ionos.
I try to run line of commands present in the files build.ts and other ts files. nothing works.
If I use his node distribution I get 0 errors. but the files are changed, and for doing 1 update, or add some data, I need to change 12 js files or more, that's why I'm trying to setup my distribution so I can edit just 4 files and everything should work fine, but I don't know how to create the same node distribution the guy released on his GitHub. I'm using his same files and I don't understand what is wrong.

Reactjs, Sanity and VS Code issues

I began a Reactjs tutorial project using Sanity for backend stuff. For 3 days now I am unable to do anything at all. The only thing that works (at random) is sanity start to open my backend schemas in the browser I get a million errors wwhen I try to install packages, open my Reactjs app in the browser, or even move files into my vs code. I have uninstalled VS Code and Node a dozen times now. Please, please, please can anybody help me.
All suggestions will be greatly appreciated as I am a complete noob in the web dev space.
I tried uninstalling and reinstalling nodejs, my code editor (i.e VS Code), have restarted the project from scratch and tried to load other, smaller and simpler beginner Reactjs builds I did before, and even they do not open.
The most recent error is the localhost refusing to open. Along with being unable to install react-icons and node-sass, amongst others.

How to disable AutoComplete/Autosuggestion option in Sails Js CLI console?

I'm new in sails.js and i'm trying to start sails.js cli console (sails console). but there is one problem which i'm facing in the console which makes it difficult to use and that is autocomplete/autosuggestion option. i have attached a screenshot as an example of the cause. The problem is whenever i try to type something in the console the autosuggestion keeps pops up which makes remaining characters flyaway from the line.
I tried both in Mac Os terminal and Visual Studio Code terminal both resulted the same. I also tried checking for any configuration option in order to disable it but i couldn't find any. So it will be great help if anyone can help me to understand or a solution for this thanks in advance.
Node Version: v14.13.0
Sails Version: 1.2.4

MongoDB ETIMEOUT

Ok i dont know what is going on here i have 2 working project and some backup project. Which were working before and is working online right now in Heroku.
Today i try to do the normal routine and started node, and now i am getting this error below. I though it might be that i just recently install team-view and that might affect it. But this doesn't seem to be the case because i tried it on a different computer and i get the same error. I have no clue to how to debug this, can someone help me please!!
Change you connection string to
variable = 'mongodb://username:xxx#clusternamecluster-shard-00-00-i548w.mongodb.net:27017,developerbookcluster-shard-00-01-i548w.mongodb.net:27017,developerbookcluster-shard-00-02-i548w.mongodb.net:27017/test?ssl=true&replicaSet=DeveloperBookCluster-shard-0&authSource=admin&retryWrites=true&w=majority';

npm install mongpdb: How do I install mongodb in location: c:\mongodb

I've been following this tutorial : http://cwbuecheler.com/web/tutorials/2014/restful-web-app-node-express-mongodb/, and I don't understand what I need to do in order to get my app to use it. I've successfully installed everything with node.js up until to where the directions at
part4: mongodb
mongo
this call doesn't start the mongodb like it should. I've installed mongodb and saved in C:\mongo like the directions suggest but I can't access the mongo console. My guess is that I don't have it in the right path because when I try:
C:\mongo\
mongod --dbpath c:\node\nodetest2\data
c:\mongo\
use nodetest3
it throws:
"use is not recognized as an internal command...etc"
That leads me to believe that it's not installed correctly after I do:
npm install mongodb
Another troubleshooting idea I have is trying to correct the variable path, maybe? It's probably a much more simple issue about it's file placement/installation directory. I'm at a total loss at this point.
I want to reiterate that I've tried the directions in the other similar questions that have already been asked, but it doesn't seem to work. I think I need more detailed questions, where my experience level isn't assumed (I know that this is a beginner tut, and its database section is just little a above my expertise at this point.

Resources