BigCommerce stencil init error loading帮助我解决了我看到的初始错误,但现在我看到了以下情况。
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
答案 0 :(得分:1)
看起来这些文件已成功捆绑到主题目录中的zip文件:“/ Runway-1.2.0 / Runway - IDH-1.2.0.zip”。你能上传和测试主题吗?
在您的主题目录中尝试使用以下命令进行升级:
npm install -g bigcommerce/stencil-cli