<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Techy Things &#187; gulp</title>
	<atom:link href="https://tech.yipp.ca/category/gulp/feed/" rel="self" type="application/rss+xml" />
	<link>https://tech.yipp.ca</link>
	<description>Just another Yipp.ca Blogs site</description>
	<lastBuildDate>Thu, 01 May 2025 18:06:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>TypeError: gulp.hasTask is not a function</title>
		<link>https://tech.yipp.ca/gulp/typeerror-gulp-hastask-is-not-a-function/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=typeerror-gulp-hastask-is-not-a-function</link>
		<comments>https://tech.yipp.ca/gulp/typeerror-gulp-hastask-is-not-a-function/#comments</comments>
		<pubDate>Mon, 08 Apr 2019 19:12:54 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[gulp]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=3280</guid>
		<description><![CDATA[<p>Error 1 $ gulp [12:01:26] Using gulpfile ~/kraken-server/gulpfile.js [12:01:26] Starting 'default'... [12:01:26] 'default' errored after 2.03 ms [12:01:26] TypeError: gulp.hasTask is not a function at /home/frank/kraken-server/node_modules/run-sequence/index.js:19:22 at Array.forEach (&#60;anonymous&#62;) at verifyTaskSets (/home/frank/kraken-server/node_modules/run-sequence/index.js:13:11) at /home/frank/kraken-server/node_modules/run-sequence/index.js:32:4&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/gulp/typeerror-gulp-hastask-is-not-a-function/">TypeError: gulp.hasTask is not a function</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Error 1</h2>
<p>$ gulp<br />
[12:01:26] Using gulpfile ~/kraken-server/gulpfile.js<br />
[12:01:26] Starting 'default'...<br />
[12:01:26] 'default' errored after 2.03 ms<br />
[12:01:26] TypeError: gulp.hasTask is not a function<br />
at /home/frank/kraken-server/node_modules/run-sequence/index.js:19:22<br />
at Array.forEach (&lt;anonymous&gt;)<br />
at verifyTaskSets (/home/frank/kraken-server/node_modules/run-sequence/index.js:13:11)<br />
at /home/frank/kraken-server/node_modules/run-sequence/index.js:32:4<br />
at Array.forEach (&lt;anonymous&gt;)<br />
at verifyTaskSets (/home/frank/kraken-server/node_modules/run-sequence/index.js:13:11)<br />
at runSequence (/home/frank/kraken-server/node_modules/run-sequence/index.js:92:2)<br />
at gulp.task (/home/frank/kraken-server/gulpfile.js:43:3)<br />
at taskWrapper (/home/frank/kraken-server/node_modules/undertaker/lib/set-task.js:13:15)<br />
at bound (domain.js:301:14)</p>
<h3>Solution</h3>
<p>This is due to the wrong gulp version. You are probably using 4+ and need 2 or 3.</p>
<p>$ npm install -g gulp@3.9.1 gulp-cli@1.4.0</p>
<p>If you had some installed locally, also override :</p>
<p>$ npm install gulp@3.9.1 gulp-cli@1.4.0</p>
<h2>Error 2</h2>
<p>$ gulp<br />
[11:35:56] Using gulpfile ~/kraken-server/gulpfile.js<br />
TypeError: Cannot read property 'apply' of undefined<br />
at /home/frank/.nvm/versions/node/v8.11.2/lib/node_modules/gulp/bin/gulp.js:129:20<br />
at _combinedTickCallback (internal/process/next_tick.js:131:7)<br />
at process._tickDomainCallback (internal/process/next_tick.js:218:9)</p>
<h3>Solution</h3>
<p>This is due to the wrong gulp-cli version.</p>
<p>$npm install -g gulp-cli@1.4.0</p>
<p>$npm install gulp-cli@1.4.0</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/gulp/typeerror-gulp-hastask-is-not-a-function/">TypeError: gulp.hasTask is not a function</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/gulp/typeerror-gulp-hastask-is-not-a-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>usemin fails with Arguments to path.join must be strings</title>
		<link>https://tech.yipp.ca/gulp/usemin-fails-arguments-path-join-must-strings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=usemin-fails-arguments-path-join-must-strings</link>
		<comments>https://tech.yipp.ca/gulp/usemin-fails-arguments-path-join-must-strings/#comments</comments>
		<pubDate>Tue, 09 Dec 2014 16:33:20 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[gulp]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=1336</guid>
		<description><![CDATA[<p>Solution Wrong : &#60;!-- build:css --&#62; &#60;link href="css/base.css" rel="stylesheet" /&#62; &#60;link href="css/appname.css" rel="stylesheet" /&#62; &#60;!-- endbuild --&#62; Good : &#60;!-- build:css index.css --&#62; &#60;link href="css/base.css" rel="stylesheet" /&#62; &#60;link href="css/appname.css" rel="stylesheet" /&#62; &#60;!-- endbuild --&#62;&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/gulp/usemin-fails-arguments-path-join-must-strings/">usemin fails with Arguments to path.join must be strings</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Solution</h2>
<h3>Wrong :</h3>
<pre>&lt;!-- build:css --&gt;
 &lt;link href="css/base.css" rel="stylesheet" /&gt;
 &lt;link href="css/appname.css" rel="stylesheet" /&gt;
 &lt;!-- endbuild --&gt;</pre>
<h3>Good :</h3>
<pre>&lt;!-- build:css <strong><span style="color: #ff6600;">index.css</span></strong> --&gt;
 &lt;link href="css/base.css" rel="stylesheet" /&gt;
 &lt;link href="css/appname.css" rel="stylesheet" /&gt;
 &lt;!-- endbuild --&gt;
</pre>
<h2>Error :</h2>
<pre>path.js:204
 throw new TypeError('Arguments to path.join must be strings');
 ^
 TypeError: Arguments to path.join must be strings
 at f (path.js:204:15)
 at Object.filter (native)
 at Object.exports.join (path.js:209:40)
 at createFile (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:20:25)
 at concat (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:76:12)
 at processTask (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:83:19)
 at processTask (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:100:7)
 at process (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:110:5)
 at processHtml (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:137:13)
 at Transform._transform (C:\dev\sandbox.svn\ebay-rock-paper\node_modules\gulp-usemin\index.js:171:7)</pre>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/gulp/usemin-fails-arguments-path-join-must-strings/">usemin fails with Arguments to path.join must be strings</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/gulp/usemin-fails-arguments-path-join-must-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
