Comments (4)
Hey @FadelChafai
You will need to create the something.json files in the root folder.
For example:
var thing = new Bourne('something.json');
And at the minimum, it need to be an empty array [];
The Bourne library is just for learning, so it has a few code issues and isn't very active.
from building-a-web-app-from-scratch-with-angularjs.
@khuezy Thank you so much, I would never guess that that was the issue. I had the json file created but it was empty — I was about to go mental!
from building-a-web-app-from-scratch-with-angularjs.
I had the same error thanks
from building-a-web-app-from-scratch-with-angularjs.
Yeah, it's a bug in Bourne. Easiest way to fix it is to stop the server, delete your .json file, and restart the server.
from building-a-web-app-from-scratch-with-angularjs.
Related Issues (18)
- express deprecated res.sendfile HOT 4
- 1.5 Configuring Routes: Cannot GET /contacts HOT 3
- Some minor HTML issues HOT 1
- explicitly specify "extended: true" for extended parsing accounts.js HOT 3
- ng-Messages Syntax Error HOT 1
- On step 2.3 - Token '{' invalid key at column 2 HOT 7
- ngMessages is not working HOT 2
- TypeError: app.use() requires middleware functions HOT 1
- null id in users.json
- settings bug
- Please update express
- GET http://localhost:5000/undefined 404 (Not Found)
- Error: Model is not a date object HOT 1
- router. dot issue in api.js HOT 1
- issues with the query on the contact list HOT 4
- PUT http://localhost:3000/api/contact 404 (Not Found) HOT 3
- [Windows] Error: ENOENT, stat HOT 2
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 building-a-web-app-from-scratch-with-angularjs.