All Questions
6 questions
0
votes
0
answers
337
views
I am facing problem in running the backend of a github repository
I hope you are doing great,
I am trying to cloning one of the Github repository,
here's the link to repo:
https://github.com/thevarunjain/job-portal-mern-stack
I've done everything according to my ...
1
vote
2
answers
72
views
node script not getting completed
I have a simple script to dump data into db, which I am using in conjunction of npm script. I am trying to dump data into db before my node application server starts. However the dump script doesn't ...
0
votes
1
answer
136
views
how to run scripts using the scripts object in package.json in node.js when there is a space in the path [duplicate]
In order to initialize the local mongoDB server, I have to run the following command from the root directory in the terminal :
/'Program Files'/MongoDB/Server/4.4/bin/mongod.exe --dbpath=/MongoDB_Data
...
1
vote
0
answers
652
views
How to chain custom script in package.json to call prestart mongod?
Trying to streamline my package.json and local development with a custom script to run Nodemon. I'm currently building an app with a front and back end I need to call mongod before start and before my ...
0
votes
1
answer
59
views
setup/index.sh mongo:not found
Hello I have an nodejs app.In order to setup the app I have a folder called "setup" with the following files:
commands.js
index.sh
index.js
I have also an the following npm script:
setup:sh ./setup/...
1
vote
4
answers
635
views
NPM command to drop mongo database, using "echo" not working
I'm trying to create an npm command that drops a database from my mongo instance.
When I paste this line of code directly into my shell, it works, and gives the output below:
> echo 'db....