Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Can't make it work on windows+wamp #230

Open
eduardoarandah opened this issue Feb 12, 2015 · 2 comments
Open

Can't make it work on windows+wamp #230

eduardoarandah opened this issue Feb 12, 2015 · 2 comments

Comments

@eduardoarandah
Copy link

I can't make it work on Win8 64bit + WAMP
When npm install:

  1. Gives me lots of errors (screenshot)
  2. Directory structure is TOO long for windows, breaking it
  3. Any advice?
  4. Can I use the theme without bower/grunt? only keeping less files (that way I can use Koala to generate css)
    error
@eduardoarandah
Copy link
Author

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

@madebydor
Copy link

This happens here as well
Many npm errors
Thanks for sharing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants