I found this post when googling and confirm that I saw the same error on our stack:
- ubuntu 14.04
- node 6.x
We are not using Gulp. Pinata output is [OK].
Updated to latest beta ( Version 1.11.1-beta13 (build: 7975) ).
Restarting my system and building with --no-cache seems to have fixed the problem.