grunt-php2html icon indicating copy to clipboard operation
grunt-php2html copied to clipboard

Windows 10 Linux Subsystem: Resulting HTML is empty

Open pixelkritzel opened this issue 7 years ago • 1 comments

On my Windows 10 Linux Subsystem the resulting HTML ist empty.

php-cgi ist in path

which php-cgi
/usr/bin/php-cgi

The config

module.exports = {
	options: {
		processLinks: true,
		htmlhint: {
			'tagname-lowercase': true,
			'attr-lowercase': true,
			'attr-value-double-quotes': true,
			'attr-value-not-empty': false,
			'doctype-first': true,
			'tag-pair': true,
			'tag-self-close': true,
			'spec-char-escape': true,
			'id-unique': true,
			'src-not-empty': true,
			'alt-require': true
		}
	},

	dist: {
		files: [
			{
				expand: true,
				cwd: '',
				src: [
					'*.php'
				],
				dest: '',
				ext: '.html'
			}
		]
	}
};

This process works on Mac, Git Bash for Windows, CMD and Ubuntu Desktop 16.04

I don't even know how to debug it. Maybe you have an idea.

pixelkritzel avatar May 04 '17 14:05 pixelkritzel