BigCommerce stencil bundle error

十年热恋 提交于 2019-12-25 08:25:39

问题


BigCommerce stencil init error loading helped me resolve an init error that I was seeing but now I'm seeing the following.

root@23c28dbe0af1:/Runway-1.2.0# stencil bundle
Validating theme...
    SCSS Parsing Started...
    Template Parsing Started...
    Language Files Parsing Started...
    Building Theme Schema File...
    Generating Manifest Started...
    JavaScript Bundling Started...
    failed  -- Error loading "js/app" at file:/Runway-1.2.0/assets/dist/js/app.js
ENOENT: no such file or directory, open '/Runway-1.2.0/assets/dist/js/app.js'
Potentially unhandled rejection [7] Error: Error loading "js/app" at file:/Runway-1.2.0/assets/dist/js/app.js
ENOENT: no such file or directory, open '/Runway-1.2.0/assets/dist/js/app.js'
at Error (native)
ok -- Language Files Parsing Finished
ok -- SCSS Parsing Finished
ok -- Manifest Generation Finished
ok -- Theme Schema Building Finished
ok -- Template Parsing Finished
ok -- Zipping Files Finished
Bundled saved to: /Runway-1.2.0/Runway - IDH-1.2.0.zip

回答1:


It looks like the files were bundled successfully to a zip file in your theme directory: "/Runway-1.2.0/Runway - IDH-1.2.0.zip". Were you able to upload and test the theme?

In your theme directory try upgrading using the command: npm install -g bigcommerce/stencil-cli



来源:https://stackoverflow.com/questions/40410833/bigcommerce-stencil-bundle-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!