0
我正在以下非常混亂的消息,當我運行「燼服務」Babeljs查找文件不存在
[BABEL] Note: The code generator has deoptimised the styling of "ember-blog/bower_components/moment/min/locales.js" as it exceeds the max of "100KB"
它也拋出了以下錯誤:
SyntaxError: ember-blog/bower_components/moment/templates/locale-header.js: Unexpected token (6:0)
4 | factory(global.moment)
5 | }(this, function (moment) { 'use strict';
> 6 |
我用要安裝這個時刻包,但現在已經刪除。用ls -la檢查文件系統顯示沒有文件夾叫做'moment',所以Babel如何查找文件?
我試着刪除'tmp'目錄下的文件,但沒有解決問題。