jhendley25 / generator-dyno

Yeoman Generator that gives ya ES6-ready Javascript, Browserify, Gulp, Jade, and Compass/Sass.
85 stars 14 forks source link

gulp task failed #40

Closed tn closed 9 years ago

tn commented 9 years ago
..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/q/q.js:126
                    throw e;
                          ^
SyntaxError: Unexpected token ,
    at Object.parse (native)
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-json/lib/json.js:41:29
    at fs.js:334:14
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-json/node_modules/graceful-fs/graceful-fs.js:104:5
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-registry-client/node_modules/graceful-fs/graceful-fs.js:104:5
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs/graceful-fs.js:104:5
    at FSReqWrap.oncomplete (fs.js:95:15)

Steps to reproduce:

Then you can see that the bower.json has a syntax error

{
  "name": "EXAMPLE",
  "version": "0.0.0",
  "dependencies": {,
    "jquery": "*"
    },
  "devDependencies": {  }
}

Run gulp to see error message above. Thanks

jhendley25 commented 9 years ago

Thanks for the heads up @tn