Closed benaguilar closed 10 years ago
Excellent feedback, thanks!
I've updated the docs with your corrections.
As for your last issue though, I'm not sure where the problem could be. I haven't run into that problem myself before.
Haha thats fine, I assumed I made a mistake somewhere. I will try again after work today and see how it goes. Thank you for the quick response.
Several steps in the tutorial on your site mention files that do not exist:
my_app/front/controllers/tweetsController.js does not exist my_app/front/js/controllers/tweets.js is what i found, is this correct?
I get an $http not defined when putting the suggested code there and attempting to use the form to make a post.
ReferenceError: $http is not defined at Scope.$scope.publish (http://localhost:3000/js/controllers/tweets.js:6:5) at http://localhost:3000/bower_components/angular/angular.js:10656:21 at http://localhost:3000/bower_components/angular/angular.js:18838:17 at Scope.$eval (http://localhost:3000/bower_components/angular/angular.js:12518:28) at Scope.$apply (http://localhost:3000/bower_components/angular/angular.js:12616:23) at HTMLButtonElement. (http://localhost:3000/bower_components/angular/angular.js:18837:21)
at http://localhost:3000/bower_components/angular/angular.js:2810:10
at Array.forEach (native)
at forEach (http://localhost:3000/bower_components/angular/angular.js:320:11)
at HTMLButtonElement.eventHandler (http://localhost:3000/bower_components/angular/angular.js:2809:5) angular.js:9899
(anonymous function) angular.js:9899
(anonymous function) angular.js:7246
Scope.$apply angular.js:12618
(anonymous function) angular.js:18837
(anonymous function) angular.js:2810
forEach angular.js:320
eventHandler
my_app/front/html/tweets/getIndex.html does not exist my_app/front/html/tweets/getIndex.jade is there, is this the correct file?
I could not get my app to accept a post following the instructions in the tutorial. Forgive me if I am missing something, but I did try from scratch several times without success.
Error thrown by POST /api/tweets : Converting circular structure to JSON
I get this error even when posting a blank body, this should result in a 402 based on the example code right?
if (!req.body.content) return res.status(422);