Comments (37)
oh ok. I will do that today.
from api-extended-database-khyati.
Yeah. :) now i think I should stick with given tutorial than.
from api-extended-database-khyati.
Is there any timeline to finish?
from api-extended-database-khyati.
from api-extended-database-khyati.
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.
from api-extended-database-khyati.
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.
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.
@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.
Thank you for understanding as always.
from api-extended-database-khyati.
@atherdon I was just going through a tutorial on Lynda.com regarding this.
from api-extended-database-khyati.
you mean git basics? if yes, please read also about git flow approach then
from api-extended-database-khyati.
No no.. Loopback API
from api-extended-database-khyati.
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.
oh ok. Tutorial is for loopback 4.
from api-extended-database-khyati.
Lol. I'm a wizard :))))
from api-extended-database-khyati.
@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.
what error and by access you mean start nodejs server, right?
from api-extended-database-khyati.
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.
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.
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.
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.
you can find upload files button at the root of the repo and drag-n-drop them
from api-extended-database-khyati.
Finally I uploaded it
from api-extended-database-khyati.
"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.
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.
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.
you need to run npm install raven
- this is javascript version that we need
from api-extended-database-khyati.
Done
from api-extended-database-khyati.
small question - you create a separated repository and upload your code into it?
from api-extended-database-khyati.
yeah. was I suppose to not do that?
from api-extended-database-khyati.
from api-extended-database-khyati.
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.
from api-extended-database-khyati.
Ok. Let me if you need any help.
from api-extended-database-khyati.
from api-extended-database-khyati.
I can try. Do send me once you are done.
from api-extended-database-khyati.
Related Issues (17)
- Move data, that related to db schema improvement to this repo + attach this task into releases plan HOT 2
- git HOT 1
- raven/sentry configuration HOT 13
- mongodb link HOT 10
- move code on master branch(current repo) HOT 1
- read about git flow and create a future branch for development process HOT 5
- run automigrate before calling a mongodb database HOT 37
- GS current Release schema HOT 36
- Error: Cannot create data source "photos": Cannot find module 'pkgcloud' HOT 13
- testing
- delete db.json HOT 5
- email stuff
- migration + import HOT 5
- Jest package - testing HOT 7
- Error: Cannot migrate models not attached to this datasource: Campground Container HOT 1
- next steps plan HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-extended-database-khyati.