i created webapp using yeoman generator. on fresh app run: grunt build --verbose
, there error:
files: app/index.html -> html options: dest="dist" going through app/index.html update config looking build script html comment blocks warning: error occurred while processing template (unexpected token )). use --force continue. aborted due warnings.
here package.json
{ "private": true, "devdependencies": { "autoprefixer": "^6.0.2", "babel-preset-es2015": "^6.1.18", "grunt": "^0.4.5", "grunt-babel": "^6.0.0", "grunt-browser-sync": "^2.1.2", "grunt-concurrent": "^1.0.0", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-concat": "^0.5.1", "grunt-contrib-copy": "^0.8.0", "grunt-contrib-cssmin": "^0.12.2", "grunt-contrib-htmlmin": "^0.4.0", "grunt-contrib-imagemin": "^1.0.0", "grunt-contrib-uglify": "^0.8.0", "grunt-contrib-watch": "^0.6.1", "grunt-eslint": "^17.0.0", "grunt-filerev": "^2.2.0", "grunt-mocha": "^0.4.12", "grunt-newer": "^1.1.0", "grunt-postcss": "^0.6.0", "grunt-sass": "^1.0.0", "grunt-svgmin": "^2.0.1", "grunt-usemin": "^3.0.0", "grunt-wiredep": "^2.0.0", "jit-grunt": "^0.9.1", "time-grunt": "^1.1.0" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "grunt test" }, "eslintconfig": { "extends": [ "eslint:recommended" ], "env": { "node": true, "browser": true, "es6": true, "jquery": true, "mocha": true }, "rules": { "quotes": [ 2, "single" ], "indent": [ 2, 2 ] } } }
can me? did before apdate newset npm version , yeoman too...
edit
here index.html file, tried basic html html head , body tags.
<!doctype html> <html lang=""> <head> <meta charset="utf-8"> <title>test2</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> </body> </html>
check imagemin
task %
's.
Comments
Post a Comment