BigCommerce stencil init error loading

与世无争的帅哥 提交于 2019-12-12 05:02:28

问题


I am trying to customize a marketplace theme (Peak Standard). I have followed all of the steps pointed out here. https://stencil.bigcommerce.com/docs/downloading-and-customizing-marketplace-themes

But when I try to run stencil init I get the following errors. Any help would be appreciated.

JavaScript Bundling Started... Potentially unhandled rejection [8] Error: Error loading "js/app" at file:C:/Use rs/Dusten/Desktop/BC-DEV/assets/js/app.js

Error loading "npm:babel-core@5.6.15/browser.js" at file:C:/Users/Dusten/Desktop /BC-DEV/assets/jspm_packages/npm/babel-core@5.6.15/browser.js.js

Error loading "npm:babel-core@5.6.15/browser.js" from "npm:babel-core@5.6.15" at file:C:/Users/Dusten/Desktop/BC-DEV/assets/jspm_packages/npm/babel-core@5.6.15. js

ENOENT, open 'C:\Users\Dusten\Desktop\BC-DEV\assets\jspm_packages\npm\babel-core @5.6.15\browser.js.js' at Error (native)


回答1:


I have faced this error but i managed to avoid this error by editing config.js file. you need to replace this path

" *":" *.js" to  " *":"dist/ *.js"
Also pleae make sure there is no space. I am facing another issue at local no js is running. if anyone can help

来源:https://stackoverflow.com/questions/40059706/bigcommerce-stencil-init-error-loading

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