Erro ao executar o grunt
Closed this issue · 1 comments
MBP-de-CLEUTON:frontend cleutonsampaio$ grunt
Loading "autoprefixer.js" tasks...ERROR
Error: Cannot find module 'caniuse-db/features-json/css-boxshadow'
Loading "imagemin.js" tasks...ERROR
Error: Cannot find module '../type/js/undefined'
Loading "cdnify.js" tasks...ERROR
SyntaxError: /Users/cleutonsampaio/Documents/Cursos/PS 421000 - Curso HTML 5 - REST - Demoiselle 2_5/angular-test/frontend/node_modules/grunt-google-cdn/node_modules/google-cdn/node_modules/cdnjs-cdn-data/external/cdnjs.json: Unexpected end of input
Running "newer:jshint" (newer) task
Running "newer:jshint:all" (newer) task
Running "jshint:all" (jshint) task
ERROR: Can't find config file: .jshintrc
Execution Time (2016-06-14 20:36:43 UTC)
loading tasks 9ms ▇▇▇▇▇▇▇▇▇▇▇ 23%
newer:jshint 3ms ▇▇▇▇ 8%
newer:jshint:all 10ms ▇▇▇▇▇▇▇▇▇▇▇▇ 26%
jshint:all 16ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 41%
Total 39ms
Foi falta de atualização do NPM! Depois que eu atualizei, funcionou. Mas está dando muitos warnings sobre alguns pacotes, então, recomendo limpar o cache do NPM. Seria legal colocar isso na doc.