GithubHelp home page GithubHelp logo

Comments (37)

khyati0212 avatar khyati0212 commented on June 21, 2024 1

oh ok. I will do that today.

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024 1

Yeah. :) now i think I should stick with given tutorial than.

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Is there any timeline to finish?

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Yeah that is why I asked as I am new to this. I will let you know as soon as I reach to mongo-db.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

Btw, if you need any help with this task - feel free to ask. You also can move your current progress(code) here, so i'll be able to track you

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Sorry for not posting that before. I am still new to Git so I didnt knew how to do it.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

@khyati0212 it's ok - i figure this out and this was the reason why i ask this. in order to train you :)

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Thank you for understanding as always.

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

@atherdon I was just going through a tutorial on Lynda.com regarding this.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

you mean git basics? if yes, please read also about git flow approach then

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

No no.. Loopback API

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

Ohh, got it. Good choice. But keep noted, that we're using Loopback v.3 - soon it will be a big shift into loopback 4 - but we're not ready for it - at this moment

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

oh ok. Tutorial is for loopback 4.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

Lol. I'm a wizard :))))

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

@atherdon need help. I was doing the loopback tutorial and used to lock my PC most of the time but this time I had to restart it and now when I am tring to access that "reservation" app again it is giving error. How to open it again?

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

what error and by access you mean start nodejs server, right?

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

events.js:154
throw er; // Unhandled 'error' event
^

Error: The generator must be run in an empty directory.
at /usr/local/lib/node_modules/loopback-cli/node_modules/generator-loopback/app/index.js:247:12
at /usr/local/lib/node_modules/loopback-cli/node_modules/loopback-workspace/common/models/workspace.js:488:11
at /usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/dao.js:2009:11
at /usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/node_modules/async/lib/async.js:396:17
at done (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/node_modules/async/lib/async.js:167:19)
at /usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/node_modules/async/lib/async.js:40:16
at /usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/node_modules/async/lib/async.js:393:21
at /usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/dao.js:1986:17
at doNotify (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:99:49)
at doNotify (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:99:49)
at doNotify (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:99:49)
at doNotify (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:99:49)
at doNotify (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:99:49)
at doNotify (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:99:49)
at Function.ObserverMixin._notifyBaseObservers (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:122:5)
at Function.ObserverMixin.notifyObserversOf (/usr/local/lib/node_modules/loopback-cli/node_modules/loopback-datasource-juggler/lib/observer.js:97:8)

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

i think i got it.
you don't need to run a generator twice.
your loopback instance was created in first time.
you just need to run
node server/server.js
try and tell me if this works

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Not working
Another error

Web server listening at: http://localhost:3000
Browse your REST API at http://localhost:3000/explorer
events.js:154
throw er; // Unhandled 'error' event
^

Error: EACCES: permission denied, open 'db.json'
at Error (native)

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

can you upload files from your computer into this repo - it's hard to debug things online.
btw, do you have db.json file?

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

you can find upload files button at the root of the repo and drag-n-drop them

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Finally I uploaded it

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

"sudo npm start "

This command helped. Now its running fine. Thank you for help. I was googling the answer but was not able to find so have to ask you.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

got it.
btw, in order to make your life easy, please install raven package. this is a good tool, that will be able to show you what and where things were broken on your code.
basically it's error tracker. i'll show you how to configure it.
and don't forget to push changes on code repository.

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Now i can push changes easily once repository is created. Thank you for help.
Using "https://github.com/getsentry/raven-python" to install raven.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

you need to run npm install raven - this is javascript version that we need

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Done

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

small question - you create a separated repository and upload your code into it?

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

yeah. was I suppose to not do that?

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Oh ok. Sorry I misunderstood it. I can post code in this one too.
As I said I am new to github. :|

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

Ok. Let me if you need any help.

from api-extended-database-khyati.

atherdon avatar atherdon commented on June 21, 2024

from api-extended-database-khyati.

khyati0212 avatar khyati0212 commented on June 21, 2024

I can try. Do send me once you are done.

from api-extended-database-khyati.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.