Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.
This repository was archived by the owner on May 29, 2020. It is now read-only.

Warning: Path must be a string. Received undefined Use #380

@hagenbauer

Description

@hagenbauer

I may be blind but I cant see my error
This is my gruntfile for webfonts

grunt.initConfig({
  webfont: { test1: {
				src: '_icons/*.svg',
				dest: 'fonts',
				options: {
					hashes: false
				}
}}});

This is my dir tree

├── assets
├── css
├── fonts
├── _icons
├── _includes
├── js
├── _layouts

But I always get this error and I cant see what path is wrong

Running "webfont:test1" (webfont) task
Verifying property webfont.test1 exists in config...OK
Files: _icons/glyphicons-196-circle-info.svg, _icons/glyphicons-517-menu-hamburger.svg, _icons/glyphicons-social-13-xing.svg, _icons/glyphicons-social-23-youtube.svg, _icons/glyphicons-social-32-twitter.svg, _icons/glyphicons-social-38-rss.svg, _icons/glyphicons-social-40-e-mail.svg -> fonts
Verifying property webfont.test1.src exists in config...OK
Verifying property webfont.test1.dest exists in config...OK
Options: hashes=false
Warning: Path must be a string. Received undefined Use --force to continue.

Aborted due to warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions