2017-05-27 6 views
0

キャノンは、時間の長い期間のための解決策を見つけます。私は基礎を使用すると、すべてが素晴らしいですが、私はFoundationビルドを使用しようとするたびに、私はこのエラーが表示さ見る:財団ビルドエラー

[21:05:45] 'sass' errored after 5.91 s 
 
[21:05:45] Error in plugin 'gulp-uncss' 
 
Message: 
 
    Unexpected EOF 
 
Details: 
 
    domainEmitter: [object Object] 
 
    domain: [object Object] 
 
    domainThrown: false 
 
[21:05:45] 'build' errored after 6.31 s 
 
[21:05:45] 'default' errored after 6.31 s 
 
Error: [email protected] build: `gulp --production` 
 
Exit status 1 
 
    at EventEmitter.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/lifecycle.js:217:16) 
 
    at emitTwo (events.js:106:13) 
 
    at EventEmitter.emit (events.js:194:7) 
 
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/spawn.js:24:14) 
 
    at emitTwo (events.js:106:13) 
 
    at ChildProcess.emit (events.js:194:7) 
 
    at maybeClose (internal/child_process.js:899:16) 
 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

私もフォルダnode_modulesを削除し、再度インストールしようとしたんが、何も助けてください。それを修正するには?

答えて

1

私は過去にこれを経験しました。このタイプのエラーが発生することがわかっている2つの既知の問題があります。

  1. 奇数の空白またはHTMLファイル内の文字。通常、他の場所からのコピー&ペーストコマンドです。参考までにこの問題を参照してください。https://github.com/zurb/foundation-emails/issues/637

  2. ノード自体の古いバージョンです。ノードのバージョンを更新し、プロジェクトからnode_modulesを削除し、プロジェクトディレクトリにnpm installを実行してみてください。

0

さらに、グラント氏によると、特殊文字をテキストエディタで検索して、見つけやすくすることができます。あなたが例えば崇高テキスト3を使用している場合は、次の正規表現で、すべての非ASCII文字を選択できます(有効な正規表現検索で)「すべて検索」をクリック

[^\x00-\x7F] 

すべての空白を強調表示します特殊文字。

Ref:is there a way to highlight all the special accent characters in sublime text or any other text editor?

関連する問題