私はcomman gulp scripts:common
を使用して、たとえば、タスクを実行すると、私はこの出力を得る:ガルプ場所:141
[14:05:47] Requiring external module babel-core/register
[14:05:49] Using gulpfile /home/sites/blablabla/gulpfile.babel.js
[14:05:49] Starting 'scripts:common'...
events.js:141
throw er; // Unhandled 'error' event
^
SyntaxError: Unexpected token
、それがことがわかったところでSyntaxErrorことは知っていることは有用であろう予期しないトークン。ファイルと行を少なくとも表示するにはどうすればいいですか?そのevetns.jsファイルはどこにありますか? console.trace()
などを置くことができますか?
gulpのスクリプトの内容を投稿してください。一般的な作業とgulpコマンドの-vフラグ付きの出力(冗長モード)。 – Nevertheless