-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where i put appid ,masterKey in project and npm start not working....so plz help me #128
Comments
Can you please provide the error message you receive when you run |
DATABASE_URI not specified, falling back to localhost. |
e:/parse-server-master npm ERR! missing script: start npm ERR! Please include the following file with any support request: |
You are missing the start script from the package.json file:
Or simply do |
hello #Iulianvarzaru sir, DATABASE_URI not specified, falling back to localhost. and in browser-- so plz help .. |
Actually it's working but you have to put your application Id as a header in the request. Try:
|
#Iulianvarzaru DATABASE_URI not specified, falling back to localhost. In browser, if I go to "localhost:1337/parse", it gives me the following error. (localhost:1337 is fine) {"error":"unauthorized"} And this is my API setup. I did provide databaseURI but don't know why it is complaining that it is not specified. |
curl -X GET we got error :--- % Total % Received % Xferd Average Speed Time Time Time Current |
|
Yes , I got data in cmd but in browser i got error-- |
|
I am getting this error too "DATABASE_URI not specified, falling back to localhost". Where do I put the damn URI. Can anyone help please? |
This is not an error, it just says that there is no environment variable DATABASE_URI and that it's using the url from the server file. |
I Understand. But where do I put that variable. I tried in app.json. index.js and scalingo.json. none worked. index.js have this var api = new ParseServer({ |
#vineetbindal DATABASE_URI not specified, falling back to localhost. then open new terminal and write then u got data for Game |
@singh7889 . I understand that. The question is how do I fix "DATABASE_URI not specified, falling back to localhost." where do I specify "DATABASE_URI" so that it wont fall back to localhost and point to my remote DB. I know where to put application-id and master-key. Its documented pretty well. But nowhere it has been mentioned that where to put DATABASE_URI. |
Aanyone knows where can i define these values : |
You put them in
|
Should fix thrown exception mentioned in parse-community#128
I have updated this info and updated node.js too and getting this Error: listen EADDRINUSE :::1337 |
That error is because you already have the parse server running on that port. You can't run two servers on the same port. Shut down your existing server, or pick another port. |
@iulianvarzaru I agree with your point. |
Have same issue with the error but found out that it is connected to the remote DB server... |
To start the parse server use the following command in cmd/terminal
For the one who has DATABASE_URI not found error--- In linux also you can set the environment variable as following
The same environment variables are available in |
No description provided.
The text was updated successfully, but these errors were encountered: