Skip to content

Instantly share code, notes, and snippets.

@hdon
Created March 23, 2017 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdon/4d92d32127df8c10927572f1043297df to your computer and use it in GitHub Desktop.
Save hdon/4d92d32127df8c10927572f1043297df to your computer and use it in GitHub Desktop.
hdon@behemoth:~/src/git$ git init trailstest
Initialized empty Git repository in /home/hdon/src/git/trailstest/.git/
hdon@behemoth:~/src/git$ cd trailtest
bash: cd: trailtest: No such file or directory
(reverse-i-search)`': ^C
hdon@behemoth:~/src/git$ cd trailstest
hdon@behemoth:~/src/git/trailstest$ yo
? 'Allo Don! What would you like to do? Trails
Make sure you are in the directory you want to scaffold into.
This generator can also be run with: yo trails
Get ready to blaze a new Trails Application!
Checking for updates...
? Choose a Web Server express
? What express version do you want to use ? 4
? Choose an ORM bookshelf
? Do you want to use Footprints (automatic REST API from models) ? Yes
? Module Name trailstest
? Description
? Project homepage url
? Author's Name Don Viszneki
? Author's Email don@codebad.com
? Author's Homepage http://codebad.com/
? Package keywords (comma to split)
? GitHub username or organization
? Which license do you want to use? Apache 2.0
create package.json
create .editorconfig
create .gitignore
create api/services/DefaultService.js
create api/services/index.js
create api/models/index.js
create config/database.js
create config/env/development.js
create config/env/index.js
create config/env/production.js
create config/env/staging.js
create config/env/testing.js
create config/i18n.js
create config/index.js
create config/locales/en.json
create config/log.js
create config/main.js
create config/policies.js
create config/routes.js
create config/session.js
create config/views.js
create index.js
create server.js
create api/index.js
create test/integration/TrailsApp.test.js
create test/mocha.opts
create test/setup.js
create test/.eslintrc.json
create LICENSE
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
trailstest@0.0.0 /home/hdon/src/git/trailstest
├─┬ eslint@2.13.1
│ ├─┬ chalk@1.1.3
│ │ ├── ansi-styles@2.2.1
│ │ ├── escape-string-regexp@1.0.5
│ │ ├── has-ansi@2.0.0
│ │ ├── strip-ansi@3.0.1
│ │ └── supports-color@2.0.0
│ ├─┬ concat-stream@1.6.0
│ │ ├── inherits@2.0.3
│ │ ├─┬ readable-stream@2.2.6
│ │ │ ├── buffer-shims@1.0.0
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2
│ │ └── typedarray@0.0.6
│ ├─┬ debug@2.6.3
│ │ └── ms@0.7.2
│ ├─┬ doctrine@1.5.0
│ │ └── isarray@1.0.0
│ ├─┬ es6-map@0.1.5
│ │ ├── d@1.0.0
│ │ ├── es5-ext@0.10.15
│ │ ├── es6-iterator@2.0.1
│ │ ├── es6-set@0.1.5
│ │ ├── es6-symbol@3.1.1
│ │ └── event-emitter@0.3.5
│ ├─┬ escope@3.6.0
│ │ ├── es6-weak-map@2.0.2
│ │ └─┬ esrecurse@4.1.0
│ │ └── estraverse@4.1.1
│ ├─┬ espree@3.4.0
│ │ ├── acorn@4.0.4
│ │ └─┬ acorn-jsx@3.0.1
│ │ └── acorn@3.3.0
│ ├── estraverse@4.2.0
│ ├── esutils@2.0.2
│ ├─┬ file-entry-cache@1.3.1
│ │ ├─┬ flat-cache@1.2.2
│ │ │ ├── circular-json@0.3.1
│ │ │ ├─┬ del@2.2.2
│ │ │ │ ├─┬ globby@5.0.0
│ │ │ │ │ ├─┬ array-union@1.0.2
│ │ │ │ │ │ └── array-uniq@1.0.3
│ │ │ │ │ └── arrify@1.0.1
│ │ │ │ ├── is-path-cwd@1.0.0
│ │ │ │ ├─┬ is-path-in-cwd@1.0.0
│ │ │ │ │ └── is-path-inside@1.0.0
│ │ │ │ ├── pify@2.3.0
│ │ │ │ ├─┬ pinkie-promise@2.0.1
│ │ │ │ │ └── pinkie@2.0.4
│ │ │ │ └── rimraf@2.6.1
│ │ │ ├── graceful-fs@4.1.11
│ │ │ └── write@0.2.1
│ │ └── object-assign@4.1.1
│ ├─┬ glob@7.1.1
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ ├─┬ minimatch@3.0.3
│ │ │ └─┬ brace-expansion@1.1.6
│ │ │ ├── balanced-match@0.4.2
│ │ │ └── concat-map@0.0.1
│ │ └── once@1.4.0
│ ├── globals@9.16.0
│ ├── ignore@3.2.6
│ ├── imurmurhash@0.1.4
│ ├─┬ inquirer@0.12.0
│ │ ├── ansi-escapes@1.4.0
│ │ ├── ansi-regex@2.1.1
│ │ ├─┬ cli-cursor@1.0.2
│ │ │ └─┬ restore-cursor@1.0.1
│ │ │ ├── exit-hook@1.1.1
│ │ │ └── onetime@1.1.0
│ │ ├── cli-width@2.1.0
│ │ ├── figures@1.7.0
│ │ ├─┬ readline2@1.0.1
│ │ │ ├── code-point-at@1.1.0
│ │ │ ├─┬ is-fullwidth-code-point@1.0.0
│ │ │ │ └── number-is-nan@1.0.1
│ │ │ └── mute-stream@0.0.5
│ │ ├── run-async@0.1.0
│ │ ├── rx-lite@3.1.2
│ │ ├── string-width@1.0.2
│ │ └── through@2.3.8
│ ├─┬ is-my-json-valid@2.16.0
│ │ ├── generate-function@2.0.0
│ │ ├─┬ generate-object-property@1.2.0
│ │ │ └── is-property@1.0.2
│ │ ├── jsonpointer@4.0.1
│ │ └── xtend@4.0.1
│ ├─┬ is-resolvable@1.0.0
│ │ └── tryit@1.0.3
│ ├─┬ js-yaml@3.8.2
│ │ ├─┬ argparse@1.0.9
│ │ │ └── sprintf-js@1.0.3
│ │ └── esprima@3.1.3
│ ├─┬ json-stable-stringify@1.0.1
│ │ └── jsonify@0.0.0
│ ├─┬ levn@0.3.0
│ │ ├── prelude-ls@1.1.2
│ │ └── type-check@0.3.2
│ ├── lodash@4.17.4
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├─┬ optionator@0.8.2
│ │ ├── deep-is@0.1.3
│ │ ├── fast-levenshtein@2.0.6
│ │ └── wordwrap@1.0.0
│ ├── path-is-absolute@1.0.1
│ ├── path-is-inside@1.0.2
│ ├── pluralize@1.2.1
│ ├── progress@1.1.8
│ ├─┬ require-uncached@1.0.3
│ │ ├─┬ caller-path@0.1.0
│ │ │ └── callsites@0.2.0
│ │ └── resolve-from@1.0.1
│ ├── shelljs@0.6.1
│ ├── strip-json-comments@1.0.4
│ ├─┬ table@3.8.3
│ │ ├─┬ ajv@4.11.5
│ │ │ └── co@4.6.0
│ │ ├── ajv-keywords@1.5.1
│ │ ├── slice-ansi@0.0.4
│ │ └─┬ string-width@2.0.0
│ │ └── is-fullwidth-code-point@2.0.0
│ ├── text-table@0.2.0
│ └─┬ user-home@2.0.0
│ └── os-homedir@1.0.2
├── eslint-config-trails@2.0.8
├─┬ mocha@2.5.3
│ ├── commander@2.3.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── diff@1.4.0
│ ├── escape-string-regexp@1.0.2
│ ├─┬ glob@3.2.11
│ │ └─┬ minimatch@0.3.0
│ │ ├── lru-cache@2.7.3
│ │ └── sigmund@1.0.1
│ ├── growl@1.9.2
│ ├─┬ jade@0.26.3
│ │ ├── commander@0.6.1
│ │ └── mkdirp@0.3.0
│ ├── supports-color@1.2.0
│ └── to-iso-string@0.0.2
├─┬ supertest@1.2.0
│ ├── methods@1.1.2
│ └─┬ superagent@1.8.5
│ ├── component-emitter@1.2.1
│ ├── cookiejar@2.0.6
│ ├── extend@3.0.0
│ ├─┬ form-data@1.0.0-rc3
│ │ ├── async@1.5.2
│ │ ├─┬ combined-stream@1.0.5
│ │ │ └── delayed-stream@1.0.0
│ │ └─┬ mime-types@2.1.14
│ │ └── mime-db@1.26.0
│ ├── formidable@1.0.17
│ ├── mime@1.3.4
│ ├── qs@2.3.3
│ ├─┬ readable-stream@1.0.27-1
│ │ └── isarray@0.0.1
│ └── reduce-component@1.0.1
├─┬ trailpack-repl@2.1.0
│ ├─┬ big-tree-cli@0.1.6
│ │ └── colors@1.1.2
│ └── trailpack@2.1.0
├─┬ trailpack-router@2.1.0
│ ├─┬ call@3.0.4
│ │ └── boom@4.3.0
│ └─┬ joi@10.3.0
│ ├── isemail@2.2.1
│ ├── items@2.1.1
│ └── topo@2.0.2
├─┬ trails@2.0.0
│ ├── hoek@4.1.0
│ ├── i18next@3.4.1
│ ├── lodash@4.17.2
│ ├── trails-controller@2.0.0
│ ├── trails-model@2.0.1
│ ├── trails-policy@2.0.0
│ └── trails-service@2.0.0
└─┬ winston@2.3.1
├── async@1.0.0
├── colors@1.0.3
├── cycle@1.0.3
├── eyes@0.1.8
├── isstream@0.1.2
└── stack-trace@0.0.9
npm ERR! Linux 4.4.0-66-generic
npm ERR! argv "/opt/node-v7.3.0-linux-x64/bin/node" "/opt/node-v7.3.0-linux-x64/bin/npm" "install" "trailpack-express@v2-latest" "trailpack-bookshelf@v2-latest" "trailpack-footprints@v2-latest" "express@4" "--save" "--silent" "--loglevel=error"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: trailpack-bookshelf@v2-latest
npm ERR! notarget Valid install targets:
npm ERR! notarget 1.0.0-alpha-1
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! Please include the following file with any support request:
npm ERR! /home/hdon/src/git/trailstest/npm-debug.log
1
┌───────────────────────────────────────────┐
│ Your Trails Application has been created! │
│ --- │
│ To start your application, run: npm start │
└───────────────────────────────────────────┘
Reinitialized existing Git repository in /home/hdon/src/git/trailstest/.git/
_-----_ ╭───────────────────────╮
| | │ Bye from us! │
|--(o)--| │ Chat soon. │
`---------´ │ Yeoman team │
( _´U`_ ) │ http://yeoman.io │
/___A___\ /╰───────────────────────╯
| ~ |
__'.___.'__
´ ` |° ´ Y `
hdon@behemoth:~/src/git/trailstest$ npm ls -g --depth=1 2>/dev/null | grep generator-
├─┬ generator-keystone@0.5.0
├─┬ generator-trails@2.0.1
│ ├── @trails/generator-node@1.11.0
│ ├── @trails/generator-util@0.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment