Bundle不编译

时间:2016-11-02 03:40:01

标签: npm bigcommerce

今天我在更新Stencil命令行界面后遇到了一些问题。 我已完成此命令npm install -g bigcommerce/stencil-cli,现在并且没有机会制作任何捆绑包。

当我运行stencil包时,在我的所有主题中,我收到此错误:

  SCSS Parsing Started...                                                                                                                                                   
Template Parsing Started...                                                                                                                                               
Language Files Parsing Started...                                                                                                                                         
Building Theme Schema File...                                                                                                                                             
Generating Manifest Started...                                                                                                                                            
Theme custom task Started...                                                                                                                                              
ok -- Language Files Parsing Finished                                                                                                                                     
ok -- Manifest Generation Finished                                                                                                                                        
ok -- SCSS Parsing Finished                                                                                                                                               
ok -- Theme Schema Building Finished                                                                                                                                      

D:\...\stencil.conf.js:71                                                                                                                            
            throw err;                                                                                                                                                    
            ^                                                                                                                                                             
ModuleNotFoundError: Module not found: Error: Cannot resolve module 'pace' in D:\...\assets\js\theme\global                                          
at D:\...\node_modules\webpack\lib\Compilation.js:229:38                                                                                         at onDoneResolving (D:\...\node_modules\webpack\lib\NormalModuleFactory.js:29:20)                                                                
    at D:\...\node_modules\webpack\lib\NormalModuleFactory.js:85:20                                                                                  
    at D:\...\node_modules\async\lib\async.js:726:13                                                                                                 
    atD:\...\node_modules\async\lib\async.js:52:16                                                                                                  
    at done (D:\...\node_modules\async\lib\async.js:241:17)                                                                                          
    at D:\...\node_modules\async\lib\async.js:44:16                                                                                                  
    at D:\...\node_modules\async\lib\async.js:723:17                                                                                                 
    at D:\...\node_modules\async\lib\async.js:167:37                                                                                                 
    at D:\...\node_modules\webpack\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:24:19 

任何人都知道我应该改进什么?谢谢!

0 个答案:

没有答案