Skip to content

Instantly share code, notes, and snippets.

@rockbot
Created October 7, 2013 11:37
Show Gist options
  • Save rockbot/6866418 to your computer and use it in GitHub Desktop.
Save rockbot/6866418 to your computer and use it in GitHub Desktop.
rockbot@rocksauce:Hacking$ hoodie new test
.d$b. .d$b. .d$$$$$$b. .d$$$$$$b. .d$$$$$$b. .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P' 'Q$P' 'Q$$$$$$P' 'Q$$$$$$P' 'Q$$$$$$$P 'Q$P''Q$$$$$$$$P'
Version: 0.2.7 (node v0.10.13, npm 1.3.11, platform: darwin)
Cloning into 'test'...
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 0), reused 17 (delta 0)
Unpacking objects: 100% (24/24), done.
Checking connectivity... done
[hoodie] Replaced package.json
[hoodie] removing .git folder
@janl
Copy link

janl commented Oct 7, 2013

@svnlto we should write to the CLI what hoodie new is doing here

@rockbot
Copy link
Author

rockbot commented Oct 7, 2013

New error:

rockbot@rocksauce:myapp$ git clone https://github.com/hoodiehq/my-first-hoodie myapp && cd myapp && npm install
Cloning into 'myapp'...
remote: Counting objects: 868, done.
remote: Compressing objects: 100% (517/517), done.
remote: Total 868 (delta 315), reused 863 (delta 311)
Receiving objects: 100% (868/868), 1.62 MiB | 96.00 KiB/s, done.
Resolving deltas: 100% (315/315), done.
Checking connectivity... done
npm ERR! install Couldn't read dependencies
npm ERR! Error: Invalid name: "{{hoodie_appname}}"
npm ERR! at ensureValidName (/usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:281:15)
npm ERR! at Object.module.exports.fixNameField (/usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:196:5)
npm ERR! at /usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:29:38
npm ERR! at Array.forEach (native)
npm ERR! at normalize (/usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:28:15)
npm ERR! at final (/usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/read-json.js:310:33)
npm ERR! at then (/usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:33)
npm ERR! at /usr/local/Cellar/node/0.10.13/lib/node_modules/npm/node_modules/read-package-json/read-json.js:299:40
npm ERR! at fs.js:266:14
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Darwin 12.4.1
npm ERR! command "/usr/local/Cellar/node/0.10.13/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/rockbot/Dropbox/Hacking/myapp/myapp
npm ERR! node -v v0.10.13
npm ERR! npm -v 1.3.2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/rockbot/Dropbox/Hacking/myapp/myapp/npm-debug.log
npm ERR! not ok code 0
rockbot@rocksauce:myapp$

@janl
Copy link

janl commented Oct 7, 2013

helped in IRC, needs s/{{hoodie_appname}}/myapp/ in package.json

@svnlto
Copy link

svnlto commented Oct 7, 2013

@janl be more verbose? no problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment