Snippets
Created by
Daniel Sasser
last modified
Daniel Sasser
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | dsasser@Daniels-MBP:~/projects/devtools$ yo p2
_-----_
| | .--------------------------.
|--(o)--| | Welcome to the |
`---------´ | fantabulous Phase2 |
( _´U`_ ) | generator! |
/___A___\ '--------------------------'
| ~ |
__'.___.'__
´ ` |° ´ Y `
? Machine-name of your project? devtools
? One-line project description? My devtools project
? Which Drupal distribution would you like to use? Drupal
? Which version of Drupal would you like to use? Drupal 7
? Use Phase2 DevTools/Docker Environment? Yes
? Choose your webserver: apache
? Choose a cache backend: memcache
? Select default standing environments: Development, QA, Review
? Domain for local development (www.<domain>.vm): devtools
? Use Pattern Lab Starter? Yes
? What would you like to name the theme? devtools_vm
? What version of Drupal is installed? 7.x
Ok, I'm going to start assembling this project...
Installing latest version of Grunt Drupal Tasks...
npm WARN package.json devtools@1.0.0 No repository field.
npm WARN package.json devtools@1.0.0 No README data
npm WARN peerDependencies The peer dependency grunt@>= 0.4.5 < 0.5 included from grunt-drupal-tasks will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN engine grunt-phpcs@0.4.0: wanted: {"node":"0.10.x"} (current: {"node":"4.2.2","npm":"2.14.7"})
npm WARN peerDependencies The peer dependency grunt@~0.4 included from grunt-log-headers will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.0 included from grunt-contrib-clean will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@>=0.4.0 included from grunt-contrib-copy will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.1 included from grunt-contrib-symlink will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.0 included from grunt-composer will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@>=0.4.0 included from grunt-contrib-compress will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@>=0.4.0 included from grunt-contrib-compass will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.0 included from grunt-mkdir will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.0 included from grunt-contrib-watch will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@>=0.4.0 included from grunt-drush will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.5 included from grunt-available-tasks will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.0 included from grunt-parallel-behat will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.1 included from grunt-githooks will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.1 included from grunt-newer will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@~0.4.1 included from grunt-notify will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
grunt@0.4.5 node_modules/grunt
├── eventemitter2@0.4.14
├── dateformat@1.0.2-1.2.3
├── which@1.0.9
├── async@0.1.22
├── colors@0.6.2
├── getobject@0.1.0
├── lodash@0.9.2
├── rimraf@2.2.8
├── hooker@0.2.3
├── grunt-legacy-util@0.2.0
├── exit@0.1.2
├── coffee-script@1.3.3
├── nopt@1.0.10 (abbrev@1.0.7)
├── iconv-lite@0.2.11
├── underscore.string@2.2.1
├── minimatch@0.2.14 (sigmund@1.0.1, lru-cache@2.7.0)
├── glob@3.1.21 (inherits@1.0.2, graceful-fs@1.2.3)
├── grunt-legacy-log@0.1.2 (grunt-legacy-log-utils@0.1.1, lodash@2.4.2, underscore.string@2.3.3)
├── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)
└── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.16)
grunt-drupal-tasks@0.9.0 node_modules/grunt-drupal-tasks
├── grunt-phpcs@0.4.0
├── grunt-phpmd@0.1.1
├── grunt-force-task@1.0.0
├── grunt-contrib-clean@0.6.0 (rimraf@2.2.8)
├── grunt-staged@0.1.0 (staged-git-files@0.0.4, async@1.5.0)
├── grunt-drush@0.0.7 (win-spawn@2.0.0, async@0.9.2, lodash@2.4.2)
├── grunt-shell@1.1.2 (chalk@1.1.1)
├── time-grunt@1.2.2 (number-is-nan@1.0.0, figures@1.4.0, date-time@1.0.0, hooker@0.2.3, text-table@0.2.0, pretty-ms@2.1.0, chalk@1.1.1)
├── grunt-contrib-copy@0.8.2 (file-sync-cmp@0.1.1, chalk@1.1.1)
├── grunt-composer@0.4.4 (shelljs@0.2.6)
├── grunt-newer@1.1.1 (async@0.9.0, rimraf@2.2.8)
├── grunt-notify@0.4.1 (stack-parser@0.0.1, which@1.0.9, semver@4.3.6)
├── grunt-parallel-behat@0.3.6 (underscore@1.4.4, glob@3.2.11)
├── grunt-available-tasks@0.6.1 (chalk@1.1.1, underscore.string@3.2.2)
├── grunt-contrib-watch@0.6.1 (async@0.2.10, lodash@2.4.2, gaze@0.5.2, tiny-lr-fork@0.0.5)
├── grunt-concurrent@2.0.4 (async@1.5.0, indent-string@2.1.0, pad-stream@1.2.0)
├── grunt-contrib-compress@0.14.0 (chalk@1.1.1, archiver@0.16.0, pretty-bytes@2.0.1)
├── grunt-contrib-compass@1.0.4 (onetime@1.0.0, dargs@2.1.0, async@0.9.2, tmp@0.0.24, bin-version-check@2.1.0)
├── grunt@0.4.5 (eventemitter2@0.4.14, dateformat@1.0.2-1.2.3, which@1.0.9, getobject@0.1.0, async@0.1.22, colors@0.6.2, rimraf@2.2.8, lodash@0.9.2, hooker@0.2.3, grunt-legacy-util@0.2.0, exit@0.1.2, nopt@1.0.10, coffee-script@1.3.3, iconv-lite@0.2.11, minimatch@0.2.14, underscore.string@2.2.1, glob@3.1.21, grunt-legacy-log@0.1.2, findup-sync@0.1.3, js-yaml@2.0.5)
├── grunt-log-headers@1.0.1
├── grunt-contrib-symlink@0.3.0
├── grunt-mkdir@0.1.2
├── grunt-phplint@0.0.5 (cache-swap@0.0.6, grunt@0.4.5)
├── grunt-githooks@0.3.1 (handlebars@1.0.12)
├── lodash@3.10.1
└── grunt-eslint@17.3.1 (chalk@1.1.1, eslint@1.9.0)
Installed version 0.9.0 of Grunt Drupal Tasks.
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: /Users/dsasser/projects/devtools/node_modules/grunt-drupal-tasks/example/Gruntconfig.json:25
23| "eslint": true,
24| "scripts": {
>> 25| "update": "<%= config.drush.cmd %> <%= config.alias %> features-revert-all -yv"
26| }
27| }
28|
Cannot read property 'cmd' of undefined
at eval (eval at <anonymous> (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/node_modules/ejs/lib/ejs.js:464:12), <anonymous>:11:35)
at returnedFn (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/node_modules/ejs/lib/ejs.js:493:17)
at Object.exports.render (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/node_modules/ejs/lib/ejs.js:315:37)
at copy.process (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy-tpl.js:18:18)
at applyProcessingFunc (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:13:16)
at EditionInterface.exports._copySingle (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:56:24)
at EditionInterface.exports.copy (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:23:17)
at EditionInterface.module.exports [as copyTpl] (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy-tpl.js:16:8)
at template (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/lib/actions/actions.js:134:11)
at copy (/usr/local/lib/node_modules/generator-p2/node_modules/generator-gadget/node_modules/yeoman-generator/lib/actions/actions.js:43:10)
dsasser@Daniels-MBP:~/projects/devtools$ ls
node_modules package.json
dsasser@Daniels-MBP:~/projects/devtools$ node -v; npm -v
v4.2.2
2.14.7
|
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.