Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
Added error console to figure out I entered the Oauth key wrong - duh
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaraShopsin committed Sep 6, 2012
1 parent 739e5c5 commit 453a864
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@ assets/img/bling/output/
*~
*.swo
.amazon_keys
.env
16 changes: 6 additions & 10 deletions grunt.js
Expand Up @@ -365,17 +365,13 @@ module.exports = function(grunt) {
"tags": "blockee",
"format": "html"
};
var post_req = oauth.post("http://api.tumblr.com/v2/blog/blockeedotorg.tumblr.com/post",
tumblr_access_key, tumblr_access_key_secret,
post_data);
post_req.addListener('response', function(response){
response.addListener('data', function(chunk){
console.log(chunk);
oauth.post("http://api.tumblr.com/v2/blog/blockeedotorg.tumblr.com/post",
tumblr_access_key, tumblr_access_key_secret,
post_data,
function(err, data) {
if (err) { console.log (err) };
console.log(data);
});
response.addListener('end', function () {
console.log('--- END ---')
});
});
res.send({});
});
req.resume();
Expand Down
51 changes: 51 additions & 0 deletions npm-debug.log
@@ -0,0 +1,51 @@
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'foreman' ]
info using npm@1.1.21
info using node@v0.6.18
verbose config file /Users/tamara/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/package.json
verbose loadDefaults blockee@0.0.1
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/express/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/formidable/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/imagemagick/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/knox/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/oauth/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/stylus/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/bbb/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/connect/package.json
verbose caching /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/node_modules/underscore/package.json
verbose from cache /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee/package.json
verbose readDependencies: using package.json deps
verbose cache add [ 'foreman', null ]
silly cache add: name, spec, args [ undefined, 'foreman', [ 'foreman', null ] ]
verbose parsed url { pathname: 'foreman', path: 'foreman', href: 'foreman' }
verbose addNamed [ 'foreman', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'foreman', '', false ]
verbose raw, before any munging foreman
verbose url resolving [ 'https://registry.npmjs.org/', './foreman' ]
verbose url resolved https://registry.npmjs.org/foreman
http GET https://registry.npmjs.org/foreman
http 404 https://registry.npmjs.org/foreman
silly get cb [ 404,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb date: 'Thu, 06 Sep 2012 17:31:50 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '52',
silly get cb 'cache-control': 'must-revalidate' } ]
ERR! 404 'foreman' is not in the npm registry.
ERR! 404 You should bug the author to publish it
ERR! 404 Note that you can also install from a
ERR! 404 tarball, folder, or http url, or git url.
ERR!
ERR! System Darwin 10.8.0
ERR! command "node" "/usr/local/bin/npm" "install" "foreman"
ERR! cwd /Users/tamara/Documents/CFA2012rez/blnewblockeerepo/blockee
ERR! node -v v0.6.18
ERR! npm -v 1.1.21
ERR! code E404
ERR! message 404 Not Found: foreman
ERR! errno {}
verbose exit [ 1, true ]

0 comments on commit 453a864

Please sign in to comment.