Open eduardoarandah opened 9 years ago
I made it work by removing from package.json these two lines: "grunt-grunticon": "^1.2.9", "grunt-svgstore": "^0.3.6",
and commenting in Gruntfile.js all tasks that have something to do with grunticon, like this:
// Load tasks
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-wp-assets');
//grunt.loadNpmTasks('grunt-grunticon');
//grunt.loadNpmTasks('grunt-svgstore');
// Register tasks
grunt.registerTask('default', [
'clean',
'less',
'uglify',
//'grunticon',
'version'
]);
grunt.registerTask('build', [
'clean:dist',
'less',
'uglify',
//'grunticon',
'version'
]);
grunt.registerTask('dev', [
//'grunticon',
'watch'
]);
After that, I typed grunt dev And everything worked perfect (and fast)
Maybe this could help people that work in Windows, also, npm packages for grunticon and SVG are HEAVY
This happens here as well Many npm errors Thanks for sharing.
I can't make it work on Win8 64bit + WAMP When npm install: