GrayBullet / generator-graybullet-cordova

Webapp and AngularJS yeoman generator for Apache Cordova.
MIT License
10 stars 4 forks source link

Warning: Task "jshint:all" failed. Use --force to continue. #27

Open hirokihara opened 9 years ago

hirokihara commented 9 years ago

Warning: Task "jshint:all" failed. Use --force to continue.

error log

C:\Users\RIA\work\sample3>grunt
Running "newer:jshint" (newer) task

Running "newer:jshint:all" (newer) task

Running "jshint:all" (jshint) task

test\spec\test.js
  line 4  col 3  'describe' is not defined.
  line 5  col 5  'describe' is not defined.
  line 6  col 7  'it' is not defined.

× 3 problems

Warning: Task "jshint:all" failed. Use --force to continue.

Aborted due to warnings.

Execution Time (2015-06-24 23:57:48 UTC)
loading tasks        2s  █████████████████████████████████████████████████████████████████ 92%
newer:jshint:all   26ms  ██████████ 1%
jshint:all        130ms  ██████████████████████████████████████████████ 6%
Total 2.2s

C:\Users\RIA\work\sample3>

yo graybullet-cordova log

C:\Users\RIA\work\sample3>yo graybullet-cordova

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |   Welcome to the Apache  |
   `---------´   |    Cordova generator!    |
    ( _´U`_ )    '--------------------------'
    /___A___\
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? What is the name of Apache Cordova App? HelloCordova
? What is the ID of Apache Cordova App? io.cordova.hellocordova
? What app of the platform to be created? android
? Are you sure you want to add any plugins? Cordova Console Plugin, Cordova Device Plugin

My development environment

C:\Users\RIA\work\sample3>node -v
v0.10.39

C:\Users\RIA\work\sample3>npm -v
2.11.3

C:\Users\RIA\work\sample3>npm list -g --depth=0
C:\Program Files\nodejs
├── bower@1.4.1
├── cordova@4.2.0
├── generator-graybullet-cordova@0.2.1
├── generator-jasmine@0.1.3
├── generator-mocha@0.1.8
├── generator-webapp@0.5.1
├── grunt-cli@0.1.13
├── npm@2.11.3
├── spawn-sync@1.0.11
└── yo@1.4.7