Meteor unable to start Mongo server on windows 8.1 - javascript

so I was trying to learn Meteor.js. I installed Chocolaty on my windows 8.1 machine, and with the command choco install meteor, I was able to successfully install meteor using Windows Powershell.
I created a new meteor project using the command meteor create demo and started the project using meteor command. Here's where I get Mongo server error, which says-
Unexpected mongo exit code 3221225781. Restarting.
Can't start Mongo server.
The server never starts and the process exits.
I tried uninstalling meteor and reinstalling with the same command as I mentioned above, but I am still facing the same error.
Please help.

Related

soffice not found, even though libreoffice buildpack is installed - heroku server

I am using a npm package called libreoffice-convert which needs libre office installed to work. I have installed the libre office build pack on the heroku server where this node app is deployed however whenever I try and run this package I still an get Error: Could not find soffice binary

Meteor server crashes very frequently without any error

I am working with the Meteor application and I deployed the same over EC2 instance. It was working fine till a few days back.
But now the server process kill automatically without any error log or
console
I tried to get the error but unfortunately, as there are not any logs I am unable to find out why the server is crashing again and again.
I have a medium EC2 machine on which the application is running.
I am using nohup for running the application in the background.
Below is the command I used to start the server:-
nohup meteor --settings SETTINGS-PRODUCTION.JSON &
I am wondering to know about server crashes due to nohup or some other reason is there.
Please let me know how we can console uncaught exception in the meteor-like we do in express.
What should I use to auto restart the server if the process is killed
by any error or exception?
Any help would be much appreciated!
Thanks
Using nohup is quite a low-tech solution. Things like Phusion Passenger, PM2, or forever do a better job.
Also your docker container can be configured to automatically restart the process.
Even better is a tool called Meteor Up, which makes it really simple to deploy Meteor apps to EC2.
EASILY DEPLOY YOUR APP Meteor Up is a production quality Meteor app
deployment tool.
Install with one command:
$ npm install --global mup
http://meteor-up.com/

JS server already running react native app

I'm following the Getting Started tutorial from here: https://facebook.github.io/react-native/docs/getting-started.html. I'm able to boot up my package manager with react-native start. But running the application itself always results in a crash.
$ react-native run-android
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installDebug...
Error occurred during initialization of VM
Unable to use shared archive.
An error has occurred while processing the shared archive file.
Unable to unmap shared space.
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
What is the problem?
You already have a react native process running in the background on the same port.
Use ps -ef | grep react
and then kill the process using the process id
kill -9 pid
and then re execute the command:
react-native run-android
First of all give proper permission to your gradlew, in your root directory run following command
chmod 755 android/gradlew
After this make sure you have local.properties file in your android folder with sdk file path like
sdk.dir = /home/username/Android/Sdk/

MeteorJS : How do I check the data fetching from mongoDB on console client?

We have deploy the MeteorJS code on Ubuntu server. We haven't created any client to access this MeteorJS service. First we wanted to verify the service are running properly. Can any one suggest the steps for check the deployment is correct.
We install Meteor on Ubuntu : curl https://install.meteor.com/ | sh
MonogoDB - Already install for NodeJS application - Its Working!
Copy the Code Meteor Code to server using WinSCP
Set the MongoDB path for Code : export MONGO_URL=mongodb://ip:27017/userDB
Run Command to start the app: sudo nohup meteor --port 3001 --production &
Thanks.

Meteor and mongodg exit code 1 on debian wheezy

i just finished installing my all-new debian wheezy distribution. I would like to install the meteor framework, so I did:
sudo curl https://install.meteor.com/ | sh
as recommended by the official meteor website, but during the installation I get this error when I type meteor after creating a new meteor project:
=> Started proxy.
Unexpected mongo exit code 1. Restarting.
Unexpected mongo exit code 1. Restarting.
Unexpected mongo exit code 1. Restarting.
Can't start Mongo server.
MongoDB failed global initialization
Looks like MongoDB doesn't understand your locale settings. See
https://github.com/meteor/meteor/issues/4019 for more details
In fact, once a new project is created and operational after coding, the meteor command run a localhost web server on port 3000 and then we can see the web application.
I don't understand why I get this error. Is it possible that my problems are coming from my debian distribution?
Do: $: LC_ALL=<your language>
where is the system language. Like de_DE.UTF-8 or en_US.UTF-8
in console:
export PORT=3000
export MONGO_URL=mongodb://127.0.0.1:27017/meteor
export ROOT_URL=http://localhost:3000
export HTTP_FORWARDED_COUNT=1

Categories